PdfCoreOptions

Inheritance: java.lang.Object

public class PdfCoreOptions

The common options for conversion to PDF

Constructors

ConstructorDescription
PdfCoreOptions()

Methods

MethodDescription
getHeadingsOutlineLevels()Specifies how many levels of outline items to include in the document outline.
setHeadingsOutlineLevels(int value)Specifies how many levels of outline items to include in the document outline.
getExpandedOutlineLevels()Specifies how many levels in the document outline to show expanded when the PDF file is viewed.
setExpandedOutlineLevels(int value)Specifies how many levels in the document outline to show expanded when the PDF file is viewed.
getBookmarksOutlineLevel()Specifies at which level in the document outline to display bookmark objects.
setBookmarksOutlineLevel(int value)Specifies at which level in the document outline to display bookmark objects.
getJpegQuality()Specifies the quality of JPEG compression for images (if JPEG compression is used).
setJpegQuality(int value)Specifies the quality of JPEG compression for images (if JPEG compression is used).
getPdfCompliance()Gets the PDF compliance.
setPdfCompliance(int value)Sets the PDF compliance.
getCompression()Gets the compression.
setCompression(int value)Sets the compression.

PdfCoreOptions()

public PdfCoreOptions()

getHeadingsOutlineLevels()

public int getHeadingsOutlineLevels()

Specifies how many levels of outline items to include in the document outline. 0 - no outline, 1 - one outline level and so on. Default is 0.

Returns: int

setHeadingsOutlineLevels(int value)

public void setHeadingsOutlineLevels(int value)

Specifies how many levels of outline items to include in the document outline. 0 - no outline, 1 - one outline level and so on. Default is 0.

Parameters:

ParameterTypeDescription
valueint

getExpandedOutlineLevels()

public int getExpandedOutlineLevels()

Specifies how many levels in the document outline to show expanded when the PDF file is viewed. 0 - the document outline is not expanded. 1 - first level items in the document are expanded and so on. Default is 0.

Returns: int

setExpandedOutlineLevels(int value)

public void setExpandedOutlineLevels(int value)

Specifies how many levels in the document outline to show expanded when the PDF file is viewed. 0 - the document outline is not expanded. 1 - first level items in the document are expanded and so on. Default is 0.

Parameters:

ParameterTypeDescription
valueint

getBookmarksOutlineLevel()

public int getBookmarksOutlineLevel()

Specifies at which level in the document outline to display bookmark objects. 0 - not displayed. 1 at first level and so on. Default is 0.

Returns: int

setBookmarksOutlineLevel(int value)

public void setBookmarksOutlineLevel(int value)

Specifies at which level in the document outline to display bookmark objects. 0 - not displayed. 1 at first level and so on. Default is 0.

Parameters:

ParameterTypeDescription
valueint

getJpegQuality()

public int getJpegQuality()

Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.

Returns: int

setJpegQuality(int value)

public void setJpegQuality(int value)

Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.

Parameters:

ParameterTypeDescription
valueint

getPdfCompliance()

public final int getPdfCompliance()

Gets the PDF compliance.

Returns: int - the PDF compliance.

setPdfCompliance(int value)

public final void setPdfCompliance(int value)

Sets the PDF compliance.

Parameters:

ParameterTypeDescription
valueintthe PDF compliance.

getCompression()

public final int getCompression()

Gets the compression.

Value: The compression.

Returns: int - the compression.

setCompression(int value)

public final void setCompression(int value)

Sets the compression.

Value: The compression.

Parameters:

ParameterTypeDescription
valueintthe compression.