wxErlang

Reference Manual

Version 1.8.3

Table of Contents

wxHtmlEasyPrinting

Module

wxHtmlEasyPrinting

Module Summary

See external documentation: wxHtmlEasyPrinting.

Description

See external documentation: wxHtmlEasyPrinting.

DATA TYPES

wxHtmlEasyPrinting()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

Exports

new() -> wxHtmlEasyPrinting()

Equivalent to new([]).

new(Options::[Option]) -> wxHtmlEasyPrinting()

Types

Option = {name, unicode:chardata()} | {parentWindow, wxWindow:wxWindow()}

getPrintData(This) -> wxPrintData:wxPrintData()

Types

getPageSetupData(This) -> wxPageSetupDialogData:wxPageSetupDialogData()

Types

previewFile(This, Htmlfile) -> boolean()

Types

Htmlfile = unicode:chardata()

previewText(This, Htmltext) -> boolean()

Types

Htmltext = unicode:chardata()

previewText(This, Htmltext, Options::[Option]) -> boolean()

Types

Htmltext = unicode:chardata()
Option = {basepath, unicode:chardata()}

printFile(This, Htmlfile) -> boolean()

Types

Htmlfile = unicode:chardata()

printText(This, Htmltext) -> boolean()

Types

Htmltext = unicode:chardata()

printText(This, Htmltext, Options::[Option]) -> boolean()

Types

Htmltext = unicode:chardata()
Option = {basepath, unicode:chardata()}

pageSetup(This) -> ok

Types

setFonts(This, Normal_face, Fixed_face) -> ok

Types

Normal_face = unicode:chardata()
Fixed_face = unicode:chardata()

setFonts(This, Normal_face, Fixed_face, Options::[Option]) -> ok

Types

Normal_face = unicode:chardata()
Fixed_face = unicode:chardata()
Option = {sizes, [integer()]}

setHeader(This, Header) -> ok

setHeader(This, Header, Options::[Option]) -> ok

Types

Option = {pg, integer()}

setFooter(This, Footer) -> ok

setFooter(This, Footer, Options::[Option]) -> ok

Types

Option = {pg, integer()}

destroy(This::wxHtmlEasyPrinting()) -> ok

Destroys this object, do not use object again