WebToPDFConvertParams Class Documentation
class WebToPDFConvertParamsNamespace: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(WebToPDFConvertParams other)Parameters
other: WebToPDFConvertParams
Member Function Documentation
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetCustomPageHeight
double getCustomPageHeight()Returns:
doublegetCustomPageWidth
double getCustomPageWidth()Returns:
doublegetCustomViewportHeight
int getCustomViewportHeight()Returns:
intgetCustomViewportWidth
int getCustomViewportWidth()Returns:
intgetDisplayHeaderFooter
boolean getDisplayHeaderFooter()Returns:
booleangetDownsamplingDPI
int getDownsamplingDPI()Returns:
intgetEnableVerboseLogging
boolean getEnableVerboseLogging()Returns:
booleangetGenerateTaggedPDF
boolean getGenerateTaggedPDF()Returns:
booleangetImageCompression
int getImageCompression()Returns:
intgetMarginBottom
double getMarginBottom()Returns:
doublegetMarginLeft
double getMarginLeft()Returns:
doublegetMarginRight
double getMarginRight()Returns:
doublegetMarginTop
double getMarginTop()Returns:
doublegetPageOrientation
int getPageOrientation()Returns:
intgetPageSize
int getPageSize()Returns:
intgetPreferCSSPageSize
boolean getPreferCSSPageSize()Returns:
booleangetPrintBackground
boolean getPrintBackground()Returns:
booleangetScale
double getScale()Returns:
doublegetTimeoutSeconds
int getTimeoutSeconds()Returns:
intgetViewportSize
int getViewportSize()Returns:
intsetCustomPageSize
void setCustomPageSize(double width_pts, double height_pts)Parameters
width_pts: doubleheight_pts: double
Returns:
voidsetCustomViewport
void setCustomViewport(int width, int height)Parameters
width: intheight: int
Returns:
voidsetDisplayHeaderFooter
void setDisplayHeaderFooter(boolean v)Parameters
v: boolean
Returns:
voidsetDownsamplingDPI
void setDownsamplingDPI(int v)Parameters
v: int
Returns:
voidsetEnableVerboseLogging
void setEnableVerboseLogging(boolean v)Parameters
v: boolean
Returns:
voidsetGenerateTaggedPDF
void setGenerateTaggedPDF(boolean v)Parameters
v: boolean
Returns:
voidsetImageCompression
void setImageCompression(int v)Parameters
v: int
Returns:
voidsetMargins
void setMargins(double top, double right, double bottom, double left)Parameters
top: doubleright: doublebottom: doubleleft: double
Returns:
voidsetPageOrientation
void setPageOrientation(int v)Parameters
v: int
Returns:
voidsetPageSize
void setPageSize(int v)Parameters
v: int
Returns:
voidsetPreferCSSPageSize
void setPreferCSSPageSize(boolean v)Parameters
v: boolean
Returns:
voidsetPrintBackground
void setPrintBackground(boolean v)Parameters
v: boolean
Returns:
voidsetScale
void setScale(double v)Parameters
v: double
Returns:
voidsetTimeoutSeconds
void setTimeoutSeconds(int v)Parameters
v: int
Returns:
voidsetViewportSize
void setViewportSize(int v)Parameters
v: int
Returns:
void