wxHtmlEasyPrinting
Implements methods from the following classes
wxObject
Methods
wxHtmlEasyPrinting
Constructor.
GetName
Returns the current name being used for preview frames and setup dialogs.
GetPageSetupData
Returns a pointer to wxPageSetupDialogData instance used by this class.
GetParentWindow
Gets the parent window for dialogs.
GetPrintData
Returns pointer to wxPrintData instance used by this class.
PageSetup
Display page setup dialog and allows the user to modify settings.
PreviewFile
Preview HTML file.
PreviewText
Preview HTML text (not file!).
PrintFile
Print HTML file.
PrintText
Print HTML text (not file!).
SetFonts
Sets fonts.
SetFooter
Set page footer.
SetHeader
Set page header.
SetName
Sets the name used for preview frames and setup dialogs.
SetParentWindow
Sets the parent window for dialogs.
SetStandardFonts
Sets default font sizes and/or default font size.
Static Methods
wxHtmlEasyPrinting
wxHtmlEasyPrinting
(
string
$name
=
"Printing"
,
wxWindow
&
$parentWindow
=
NULL
)
Constructor.
GetName
string
GetName
( )
Returns the current name being used for preview frames and setup dialogs.
GetPageSetupData
wxPageSetupDialogData
&
GetPageSetupData
( )
Returns a pointer to wxPageSetupDialogData instance used by this class.
GetParentWindow
wxWindow
&
GetParentWindow
( )
Gets the parent window for dialogs.
GetPrintData
wxPrintData
&
GetPrintData
( )
Returns pointer to wxPrintData instance used by this class.
PageSetup
PageSetup
( )
Display page setup dialog and allows the user to modify settings.
PreviewFile
bool
PreviewFile
(
string
$htmlfile
)
Preview HTML file.
PreviewText
bool
PreviewText
(
string
$htmltext
,
string
$basepath
=
wxEmptyString
)
Preview HTML text (not file!).
PrintFile
bool
PrintFile
(
string
$htmlfile
)
Print HTML file.
PrintText
bool
PrintText
(
string
$htmltext
,
string
$basepath
=
wxEmptyString
)
Print HTML text (not file!).
SetFonts
SetFonts
(
string
$normal_face
,
string
$fixed_face
,
array
$sizes
=
NULL
)
Sets fonts.
SetFooter
SetFooter
(
string
$footer
,
integer
$pg
=
wxPAGE_ALL
)
Set page footer.
SetHeader
SetHeader
(
string
$header
,
integer
$pg
=
wxPAGE_ALL
)
Set page header.
SetName
SetName
(
string
$name
)
Sets the name used for preview frames and setup dialogs.
SetParentWindow
SetParentWindow
(
wxWindow
&
$window
)
Sets the parent window for dialogs.
SetStandardFonts
SetStandardFonts
(
integer
$size
=
-1
,
string
$normal_face
=
wxEmptyString
,
string
$fixed_face
=
wxEmptyString
)
Sets default font sizes and/or default font size.