public static class Convert.XPSOutputCommonOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
e_op_off |
static int |
e_op_on |
static int |
e_op_pdfx_on |
Constructor and Description |
---|
XPSOutputCommonOptions()
Creates an XPSOutputCommonOptions object with default settings
|
Modifier and Type | Method and Description |
---|---|
void |
generateURLLinks(boolean generate)
Sets whether links should be generated from urls
found in the document.
|
void |
setDPI(int dpi)
The output resolution, from 1 to 1000, in Dots Per Inch (DPI) at which to render elements which cannot be directly converted.
|
void |
setOverprint(int mode)
Enable or disable support for overprint and overprint simulation.
|
void |
setPrintMode(boolean print_mode)
Sets whether ToXps should be run in print mode.
|
void |
setRenderPages(boolean render)
Sets whether rendering of pages should be permitted when necessary to guarantee output.
|
void |
setThickenLines(boolean thicken)
Sets whether thin lines should be thickened.
|
public static final int e_op_off
public static final int e_op_on
public static final int e_op_pdfx_on
public XPSOutputCommonOptions()
public void setPrintMode(boolean print_mode) throws PDFNetException
print_mode
- if true print mode is enabledPDFNetException
public void setDPI(int dpi) throws PDFNetException
dpi
- the resolution in Dots Per InchPDFNetException
public void setRenderPages(boolean render) throws PDFNetException
render
- if false rendering is not permitted under any circumstancePDFNetException
public void setThickenLines(boolean thicken) throws PDFNetException
thicken
- if true then thin lines will be thickenedPDFNetException
public void generateURLLinks(boolean generate) throws PDFNetException
generate
- if true links will be generated from urlsPDFNetException
public void setOverprint(int mode) throws PDFNetException
mode
- e_op_on: always enabled; e_op_off: always disabled; e_op_pdfx_on: enabled for PDF/X files only.PDFNetException