Package wx :: Package lib :: Module docview :: Class DocPrintout
[frames | no frames]

Type DocPrintout

object --+        
         |        
    Object --+    
             |    
      Printout --+
                 |
                DocPrintout


DocPrintout is a default Printout that prints the first page of a document view.


Method Summary
  __init__(self, view, title)
Constructor.
  GetPageInfo(self)
Indicates that the DocPrintout only has a single page.
  GetView(self)
Returns the DocPrintout's view.
  HasPage(self, pageNum)
Indicates that the DocPrintout only has a single page.
  OnPrintPage(self, page)
Prints the first page of the view.
    Inherited from Printout
  __repr__(self)
(minPage, maxPage, pageFrom, pageTo) base_GetPageInfo()
bool base_HasPage(self, page)
bool base_OnBeginDocument(self, startPage, endPage)
  base_OnBeginPrinting(self)
  base_OnEndDocument(self)
  base_OnEndPrinting(self)
  base_OnPreparePrinting(self)
DC GetDC(self)
(w, h) GetPageSizeMM()
(w, h) GetPageSizePixels()
(x,y) GetPPIPrinter()
(x,y) GetPPIScreen()
String GetTitle(self)
bool IsPreview(self)
  SetDC(self, dc)
  SetIsPreview(self, p)
  SetPageSizeMM(self, w, h)
  SetPageSizePixels(self, w, h)
  SetPPIPrinter(self, x, y)
  SetPPIScreen(self, x, y)
    Inherited from Object
  Destroy(self)
Deletes the C++ object this Python object is a proxy for.
String GetClassName(self)
Returns the class name of the C++ class using wxRTTI.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Method Details

__init__(self, view, title='Printout')
(Constructor)

Constructor.

Overrides:
wx.Printout.__init__

GetPageInfo(self)

Indicates that the DocPrintout only has a single page.

GetView(self)

Returns the DocPrintout's view.

HasPage(self, pageNum)

Indicates that the DocPrintout only has a single page.

OnPrintPage(self, page)

Prints the first page of the view.


Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 17:00:38 2007 http://epydoc.sf.net