WebToPDFConvertParams Class Documentation

classWebToPDFConvertParams

Namespace:com::datalogics::PDFL

Detailed Description

On supported platforms, owns a WebToPDFParamsRec and bridges it to a pair of CWebProgressProc/CWebLogProc functors that the static C trampolines installed into the params dispatch through.

On platforms where the WebToPDF plugin is not supported, the same class compiles with a stub state that mirrors the public set/get surface using primitive fields. The stub never throws from the constructor or any setter failures only surface from the Document.from_web_url / from_html_file entry points (in CDocument.cpp). This keeps configuration code platform-portable.

Public signatures use plain int where the underlying plugin enum would otherwise leak through; numeric values match the plugin enums and the public api WebViewportPreset / WebPageSize / ... 1:1, so callers cast freely at either boundary.

Constructor & Destructor Documentation

WebToPDFConvertParams

WebToPDFConvertParams()

Member Function Documentation

DisposeChildren

voidDisposeChildren()

Returns:

void

[static initializer]

static void[static initializer]()

delete

synchronized voiddelete(Booleandisposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized voiddelete()

Returns:

synchronized void

finalize

voidfinalize()

Returns:

void

getCustomPageHeight

doublegetCustomPageHeight()

Returns:

double

getCustomPageWidth

doublegetCustomPageWidth()

Returns:

double

getCustomViewportHeight

intgetCustomViewportHeight()

Returns:

int

getCustomViewportWidth

intgetCustomViewportWidth()

Returns:

int

getDisplayHeaderFooter

booleangetDisplayHeaderFooter()

Returns:

boolean

getDownsamplingDPI

intgetDownsamplingDPI()

Returns:

int

getEnableVerboseLogging

booleangetEnableVerboseLogging()

Returns:

boolean

getGenerateTaggedPDF

booleangetGenerateTaggedPDF()

Returns:

boolean

getImageCompression

intgetImageCompression()

Returns:

int

getMarginBottom

doublegetMarginBottom()

Returns:

double

getMarginLeft

doublegetMarginLeft()

Returns:

double

getMarginRight

doublegetMarginRight()

Returns:

double

getMarginTop

doublegetMarginTop()

Returns:

double

getPageOrientation

intgetPageOrientation()

Returns:

int

getPageSize

intgetPageSize()

Returns:

int

getPreferCSSPageSize

booleangetPreferCSSPageSize()

Returns:

boolean

getPrintBackground

booleangetPrintBackground()

Returns:

boolean

getScale

doublegetScale()

Returns:

double

getTimeoutSeconds

intgetTimeoutSeconds()

Returns:

int

getViewportSize

intgetViewportSize()

Returns:

int

setCustomPageSize

voidsetCustomPageSize(doublewidth_pts, doubleheight_pts)

Parameters

width_pts: double
height_pts: double

Returns:

void

setCustomViewport

voidsetCustomViewport(intwidth, intheight)

Parameters

width: int
height: int

Returns:

void

setDisplayHeaderFooter

voidsetDisplayHeaderFooter(booleanv)

Parameters

v: boolean

Returns:

void

setDownsamplingDPI

voidsetDownsamplingDPI(intv)

Parameters

v: int

Returns:

void

setEnableVerboseLogging

voidsetEnableVerboseLogging(booleanv)

Parameters

v: boolean

Returns:

void

setGenerateTaggedPDF

voidsetGenerateTaggedPDF(booleanv)

Parameters

v: boolean

Returns:

void

setImageCompression

voidsetImageCompression(intv)

Parameters

v: int

Returns:

void

setMargins

voidsetMargins(doubletop, doubleright, doublebottom, doubleleft)

Parameters

top: double
right: double
bottom: double
left: double

Returns:

void

setPageOrientation

voidsetPageOrientation(intv)

Parameters

v: int

Returns:

void

setPageSize

voidsetPageSize(intv)

Parameters

v: int

Returns:

void

setPreferCSSPageSize

voidsetPreferCSSPageSize(booleanv)

Parameters

v: boolean

Returns:

void

setPrintBackground

voidsetPrintBackground(booleanv)

Parameters

v: boolean

Returns:

void

setScale

voidsetScale(doublev)

Parameters

v: double

Returns:

void

setTimeoutSeconds

voidsetTimeoutSeconds(intv)

Parameters

v: int

Returns:

void

setViewportSize

voidsetViewportSize(intv)

Parameters

v: int

Returns:

void