public class PdfCoreOptions extends Object
The common options for convertion to PDF
Constructor and Description |
---|
PdfCoreOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getBookmarksOutlineLevel()
Specifies at which level in the document outline to display bookmark objects.
|
int |
getExpandedOutlineLevels()
Specifies how many levels in the document outline to show expanded when the PDF file is viewed.
|
int |
getHeadingsOutlineLevels()
Specifies how many levels of outline items to include in the document outline.
|
int |
getJpegQuality()
Specifies the quality of JPEG compression for images (if JPEG compression is used).
|
void |
setBookmarksOutlineLevel(int value)
Specifies at which level in the document outline to display bookmark objects.
|
void |
setExpandedOutlineLevels(int value)
Specifies how many levels in the document outline to show expanded when the PDF file is viewed.
|
void |
setHeadingsOutlineLevels(int value)
Specifies how many levels of outline items to include in the document outline.
|
void |
setJpegQuality(int value)
Specifies the quality of JPEG compression for images (if JPEG compression is used).
|
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.
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.
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.
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.
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.
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.
public int getJpegQuality()
Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.
public void setJpegQuality(int value)
Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.