wxPDFView  0.1
wxWidgets PDFium Integration Library
Public Types | Public Member Functions | List of all members
wxPDFViewPrintValidator Class Referenceabstract

#include <PDFView.h>

Public Types

enum  PrintPermission {
  Print_Default,
  Print_Allow,
  Print_Deny
}
 

Public Member Functions

virtual PrintPermission GetPrintPermission () const =0
 Allow printing (may override permissions in PDF document) More...
 
virtual void PreparePrintDialogData (wxPrintDialogData &printDialogData)=0
 Validate or modify print dialog data before dialog is shown. More...
 
virtual bool OnBeginPrint (int startPage, int endPage)=0
 Validate print dialog data after the print dialog has been shown. More...
 

Member Enumeration Documentation

Enumerator
Print_Default 
Print_Allow 
Print_Deny 

Member Function Documentation

virtual PrintPermission wxPDFViewPrintValidator::GetPrintPermission ( ) const
pure virtual

Allow printing (may override permissions in PDF document)

virtual bool wxPDFViewPrintValidator::OnBeginPrint ( int  startPage,
int  endPage 
)
pure virtual

Validate print dialog data after the print dialog has been shown.

virtual void wxPDFViewPrintValidator::PreparePrintDialogData ( wxPrintDialogData &  printDialogData)
pure virtual

Validate or modify print dialog data before dialog is shown.

Printing will be canceled if false is returned