Lines Matching defs:paper
40 #include "wx/paper.h"
270 // We don't know size of user defined paper and some buggy drivers
280 wxPrintPaperType* paper = wxThePrintPaperDatabase->FindPaperTypeByPlatformId(devMode->dmPaperSize);
281 if (paper)
283 data.SetPaperId( paper->GetId() );
284 data.SetPaperSize( wxSize(paper->GetWidth() / 10,paper->GetHeight() / 10) );
313 // Often will reach this for non-standard paper sizes (sizes which
314 // wouldn't be in wxWidget's paper database). Setting
316 // to get this paper size working.
544 // Paper id has priority over paper size. If id is specified, then size
545 // is ignored (as it can be filled in even for standard paper sizes)
560 else // custom (or no) paper size
565 // Fall back on specifying the paper size explicitly
578 // enumerating the driver's paper sizes, it probably won't change the actual size,
579 // it'll just select that custom paper type with its own current setting.
582 // unclear how it can help you set the custom paper size programmatically.
584 //else: neither paper type nor size specified, don't fill DEVMODE