wxHtmlPrintout
Implements methods from the following classes
wxPrintout
Methods
wxHtmlPrintout
Constructor.
SetFonts
This function sets font sizes and faces.
SetFooter
Set page footer.
SetHeader
Set page header.
SetHtmlFile
Prepare the class for printing this HTML file.
SetHtmlText
Prepare the class for printing this HTML text.
SetMargins
Sets margins in millimeters.
Static Methods
AddFilter
Adds a filter to the static list of filters for wxHtmlPrintout.
wxHtmlPrintout
wxHtmlPrintout
(
string
$title
=
"Printout"
)
Constructor.
AddFilter
static
AddFilter
(
wxHtmlFilter
&
$filter
)
Adds a filter to the static list of filters for wxHtmlPrintout.
SetFonts
SetFonts
(
string
$normal_face
,
string
$fixed_face
,
array
$sizes
=
NULL
)
This function sets font sizes and faces.
SetFooter
SetFooter
(
string
$footer
,
integer
$pg
=
wxPAGE_ALL
)
Set page footer.
SetHeader
SetHeader
(
string
$header
,
integer
$pg
=
wxPAGE_ALL
)
Set page header.
SetHtmlFile
SetHtmlFile
(
string
$htmlfile
)
Prepare the class for printing this HTML file.
SetHtmlText
SetHtmlText
(
string
$html
,
string
$basepath
=
wxEmptyString
,
bool
$isdir
=
true
)
Prepare the class for printing this HTML text.
SetMargins
SetMargins
(
float
$top
=
25.2
,
float
$bottom
=
25.2
,
float
$left
=
25.2
,
float
$right
=
25.2
,
float
$spaces
=
5
)
Sets margins in millimeters.