pdfButtonPanel
is derived
from wx.lib.agw.buttonpanel and provides buttons to manipulate the viewed
PDF, e.g. zoom, save, print etc.
__init__ |
Default class constructor. |
ChangePage |
Update viewer with new page number. |
CreateButtons |
Add the buttons and other controls to the panel. |
OnFirst |
The button handler to show the first page of the report. |
OnHeight |
The button handler to fit display to page height. |
OnLast |
The button handler to show the last page of the report. |
OnNext |
The button handler to show the next page of the report. |
OnPage |
The handler to go to enter page number of the report, if a |
OnPrev |
The button handler to show the previous page of the report. |
OnPrint |
The button handler to print the PDF file. |
OnSave |
The button handler to save the PDF file. |
OnWidth |
The button handler to fit display to page width. |
OnZoomIn |
The button handler to zoom in. |
OnZoomOut |
Decrease page magnification |
OnZoomSet |
The zoom set handler, either a list selection or a value entered. |
SetProperties |
Setup the buttonpanel colours, borders etc. |
Update |
Called from viewer to initialize and update controls. |
pdfButtonPanel
is derived
from wx.lib.agw.buttonpanel and provides buttons to manipulate the viewed
PDF, e.g. zoom, save, print etc.
Default class constructor.
Parameters: |
|
---|
Update viewer with new page number.
Add the buttons and other controls to the panel.
The button handler to show the first page of the report.
The button handler to fit display to page height.
The button handler to show the last page of the report.
The button handler to show the next page of the report.
The handler to go to enter page number of the report, if a valid number is entered.
The button handler to show the previous page of the report.
The button handler to print the PDF file.
The button handler to save the PDF file.
The button handler to fit display to page width.
The button handler to zoom in.
Decrease page magnification
The zoom set handler, either a list selection or a value entered.
Setup the buttonpanel colours, borders etc.
Called from viewer to initialize and update controls.
Parameters: |
|
---|
Note
In the viewer, page range is from 0 to numpages-1, in button controls it is from 1 to numpages.