Table Of Contents

Previous topic

buttonpanel

Next topic

dcgraphics

This Page

phoenix_title pdfButtonPanel

Containing panel is completely occupied by a button panel


class_hierarchy Inheritance Diagram

Inheritance diagram for class pdfButtonPanel

Inheritance diagram of pdfButtonPanel


method_summary Methods Summary

__init__ Panel for user to select pdf viewer actions
ChangePage Update viewer and self.page control with new page number
CreateButtons Add buttons and controls
OnFirst Show first page of report
OnHeight Fit display to page height
OnLast Show last page of report
OnNext Show next page of report
OnPage Go to page if valid page number entered
OnPrev Show previous page of report
OnPrint Print PDF
OnSave Save PDF
OnWidth Fit display to page width
OnZoomIn Increase page magnification
OnZoomOut Decrease page magnification
OnZoomSet Process zoom combo-box event. Either a list selection or value entered
SetProperties Setup the buttonpanel colours, borders etc.
Update Called from viewer to initialize and update controls. In viewer,

api Class API



class pdfButtonPanel(bp.ButtonPanel)

Containing panel is completely occupied by a button panel


Methods



__init__(self, parent, id, pos, size, style)

Panel for user to select pdf viewer actions



ChangePage(self)

Update viewer and self.page control with new page number



CreateButtons(self)

Add buttons and controls



OnFirst(self, event)

Show first page of report



OnHeight(self, event)

Fit display to page height



OnLast(self, event)

Show last page of report



OnNext(self, event)

Show next page of report



OnPage(self, event)

Go to page if valid page number entered



OnPrev(self, event)

Show previous page of report



OnPrint(self, event)

Print PDF



OnSave(self, event)

Save PDF



OnWidth(self, event)

Fit display to page width



OnZoomIn(self, event)

Increase page magnification



OnZoomOut(self, event)

Decrease page magnification



OnZoomSet(self, event)

Process zoom combo-box event. Either a list selection or value entered



SetProperties(self)

Setup the buttonpanel colours, borders etc.



Update(self, pagenum, numpages, zoomscale)

Called from viewer to initialize and update controls. In viewer, page range is 0 to numpages-1. In button controls it is 1 to numpages