WebToPDFConvertParams Class Documentation
classWebToPDFConvertParamsNamespace: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.
Referenced by
Uses types
Constructor & Destructor Documentation
WebToPDFConvertParams
WebToPDFConvertParams()WebToPDFConvertParams
WebToPDFConvertParams(WebToPDFConvertParamsother)Parameters
other: WebToPDFConvertParams
Member Function Documentation
DisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidfinalize
voidfinalize()Returns:
voidgetCustomPageHeight
doublegetCustomPageHeight()Returns:
doublegetCustomPageWidth
doublegetCustomPageWidth()Returns:
doublegetCustomViewportHeight
intgetCustomViewportHeight()Returns:
intgetCustomViewportWidth
intgetCustomViewportWidth()Returns:
intgetDisplayHeaderFooter
booleangetDisplayHeaderFooter()Returns:
booleangetDownsamplingDPI
intgetDownsamplingDPI()Returns:
intgetEnableVerboseLogging
booleangetEnableVerboseLogging()Returns:
booleangetGenerateTaggedPDF
booleangetGenerateTaggedPDF()Returns:
booleangetImageCompression
intgetImageCompression()Returns:
intgetMarginBottom
doublegetMarginBottom()Returns:
doublegetMarginLeft
doublegetMarginLeft()Returns:
doublegetMarginRight
doublegetMarginRight()Returns:
doublegetMarginTop
doublegetMarginTop()Returns:
doublegetPageOrientation
intgetPageOrientation()Returns:
intgetPageSize
intgetPageSize()Returns:
intgetPreferCSSPageSize
booleangetPreferCSSPageSize()Returns:
booleangetPrintBackground
booleangetPrintBackground()Returns:
booleangetScale
doublegetScale()Returns:
doublegetTimeoutSeconds
intgetTimeoutSeconds()Returns:
intgetViewportSize
intgetViewportSize()Returns:
intsetCustomPageSize
voidsetCustomPageSize(doublewidth_pts, doubleheight_pts)Parameters
width_pts: doubleheight_pts: double
Returns:
voidsetCustomViewport
voidsetCustomViewport(intwidth, intheight)Parameters
width: intheight: int
Returns:
voidsetDisplayHeaderFooter
voidsetDisplayHeaderFooter(booleanv)Parameters
v: boolean
Returns:
voidsetDownsamplingDPI
voidsetDownsamplingDPI(intv)Parameters
v: int
Returns:
voidsetEnableVerboseLogging
voidsetEnableVerboseLogging(booleanv)Parameters
v: boolean
Returns:
voidsetGenerateTaggedPDF
voidsetGenerateTaggedPDF(booleanv)Parameters
v: boolean
Returns:
voidsetImageCompression
voidsetImageCompression(intv)Parameters
v: int
Returns:
voidsetMargins
voidsetMargins(doubletop, doubleright, doublebottom, doubleleft)Parameters
top: doubleright: doublebottom: doubleleft: double
Returns:
voidsetPageOrientation
voidsetPageOrientation(intv)Parameters
v: int
Returns:
voidsetPageSize
voidsetPageSize(intv)Parameters
v: int
Returns:
voidsetPreferCSSPageSize
voidsetPreferCSSPageSize(booleanv)Parameters
v: boolean
Returns:
voidsetPrintBackground
voidsetPrintBackground(booleanv)Parameters
v: boolean
Returns:
voidsetScale
voidsetScale(doublev)Parameters
v: double
Returns:
voidsetTimeoutSeconds
voidsetTimeoutSeconds(intv)Parameters
v: int
Returns:
voidsetViewportSize
voidsetViewportSize(intv)Parameters
v: int
Returns:
void