]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/wxd/Printing.py
   1 """Decorator classes for documentation and shell scripting. 
   4 __author__ 
= "Patrick K. O'Brien <pobrien@orbtech.com>" 
   6 __revision__ 
= "$Revision$"[11:-2] 
   9 # These are not the real wxPython classes. These are Python versions 
  10 # for documentation purposes. They are also used to apply docstrings 
  11 # to the real wxPython classes, which are SWIG-generated wrappers for 
  15 from Base 
import Object
 
  16 from Dialogs 
import Dialog
 
  17 from Frames 
import Frame
 
  18 import Parameters 
as wx
 
  21 class PageSetupDialog(Dialog
): 
  24     def GetPageSetupData(self
): 
  37 class PageSetupDialogData(Object
): 
  44     def EnableMargins(self
): 
  48     def EnableOrientation(self
): 
  52     def EnablePaper(self
): 
  56     def EnablePrinter(self
): 
  60     def GetDefaultInfo(self
): 
  64     def GetDefaultMinMargins(self
): 
  68     def GetEnableHelp(self
): 
  72     def GetEnableMargins(self
): 
  76     def GetEnableOrientation(self
): 
  80     def GetEnablePaper(self
): 
  84     def GetEnablePrinter(self
): 
  88     def GetMarginBottomRight(self
): 
  92     def GetMarginTopLeft(self
): 
  96     def GetMinMarginBottomRight(self
): 
 100     def GetMinMarginTopLeft(self
): 
 104     def GetPaperId(self
): 
 108     def GetPaperSize(self
): 
 112     def GetPrintData(self
): 
 120     def SetDefaultInfo(self
): 
 124     def SetDefaultMinMargins(self
): 
 128     def SetMarginBottomRight(self
): 
 132     def SetMarginTopLeft(self
): 
 136     def SetMinMarginBottomRight(self
): 
 140     def SetMinMarginTopLeft(self
): 
 144     def SetPaperId(self
): 
 148     def SetPaperSize(self
): 
 152     def SetPrintData(self
): 
 165 class PrintDialog(Dialog
): 
 168     def GetPrintDC(self
): 
 172     def GetPrintDialogData(self
): 
 185 class PrintDialogData(Object
): 
 188     def EnableHelp(self
): 
 192     def EnablePageNumbers(self
): 
 196     def EnablePrintToFile(self
): 
 200     def EnableSelection(self
): 
 204     def GetAllPages(self
): 
 208     def GetCollate(self
): 
 212     def GetFromPage(self
): 
 216     def GetMaxPage(self
): 
 220     def GetMinPage(self
): 
 224     def GetNoCopies(self
): 
 228     def GetPrintData(self
): 
 232     def GetPrintToFile(self
): 
 244     def SetCollate(self
): 
 248     def SetFromPage(self
): 
 252     def SetMaxPage(self
): 
 256     def SetMinPage(self
): 
 260     def SetNoCopies(self
): 
 264     def SetPrintData(self
): 
 268     def SetPrintToFile(self
): 
 272     def SetSetupDialog(self
): 
 289 class PreviewFrame(Frame
): 
 292     def Initialize(self
): 
 301 class PrintData(Object
): 
 304     def GetCollate(self
): 
 316     def GetFilename(self
): 
 320     def GetFontMetricPath(self
): 
 324     def GetNoCopies(self
): 
 328     def GetOrientation(self
): 
 332     def GetPaperId(self
): 
 336     def GetPaperSize(self
): 
 340     def GetPreviewCommand(self
): 
 344     def GetPrintMode(self
): 
 348     def GetPrinterCommand(self
): 
 352     def GetPrinterName(self
): 
 356     def GetPrinterOptions(self
): 
 360     def GetPrinterScaleX(self
): 
 364     def GetPrinterScaleY(self
): 
 368     def GetPrinterTranslateX(self
): 
 372     def GetPrinterTranslateY(self
): 
 376     def GetQuality(self
): 
 384     def SetCollate(self
): 
 396     def SetFilename(self
): 
 400     def SetFontMetricPath(self
): 
 404     def SetNoCopies(self
): 
 408     def SetOrientation(self
): 
 412     def SetPaperId(self
): 
 416     def SetPaperSize(self
): 
 420     def SetPreviewCommand(self
): 
 424     def SetPrintMode(self
): 
 428     def SetPrinterCommand(self
): 
 432     def SetPrinterName(self
): 
 436     def SetPrinterOptions(self
): 
 440     def SetPrinterScaleX(self
): 
 444     def SetPrinterScaleY(self
): 
 448     def SetPrinterScaling(self
): 
 452     def SetPrinterTranslateX(self
): 
 456     def SetPrinterTranslateY(self
): 
 460     def SetPrinterTranslation(self
): 
 464     def SetQuality(self
): 
 477 class PrintPreview(Object
): 
 484     def GetCurrentPage(self
): 
 492     def GetMaxPage(self
): 
 496     def GetMinPage(self
): 
 500     def GetPrintDialogData(self
): 
 504     def GetPrintout(self
): 
 508     def GetPrintoutForPrinting(self
): 
 528     def SetCurrentPage(self
): 
 536     def SetPrintout(self
): 
 549 class Printer(Object
): 
 552     def CreateAbortWindow(self
): 
 556     def GetPrintDialogData(self
): 
 564     def PrintDialog(self
): 
 568     def ReportError(self
): 
 585 class Printout(Object
): 
 596     def GetPPIPrinter(self
): 
 600     def GetPPIScreen(self
): 
 604     def GetPageSizeMM(self
): 
 608     def GetPageSizePixels(self
): 
 620     def _setCallbackInfo(self
): 
 624     def base_GetPageInfo(self
): 
 628     def base_HasPage(self
): 
 632     def base_OnBeginDocument(self
): 
 636     def base_OnBeginPrinting(self
): 
 640     def base_OnEndDocument(self
): 
 644     def base_OnEndPrinting(self
): 
 648     def base_OnPreparePrinting(self
):