#include <Convert.h>
Inheritance diagram for pdftron::PDF::XPSOutputCommonOptions:Public Types | |
| enum | OverprintPreviewMode { e_op_off = 0, e_op_on, e_op_pdfx_on } |
Public Member Functions | |
| XPSOutputCommonOptions () | |
| void | SetPrintMode (bool print_mode) |
| void | SetDPI (UInt32 dpi) |
| void | SetRenderPages (bool render) |
| void | SetThickenLines (bool thicken) |
| void | GenerateURLLinks (bool generate) |
| void | SetOverprint (enum OverprintPreviewMode mode) |
Public Attributes | |
| TRN_Obj | m_obj |
Protected Attributes | |
| SDF::ObjSet | m_objset |
Friends | |
| class | Convert |
A class containing options common to ToXps and ToXod functions
| pdftron::PDF::XPSOutputCommonOptions::XPSOutputCommonOptions | ( | ) |
Creates an XPSConvertOptions object with default settings
| void pdftron::PDF::XPSOutputCommonOptions::GenerateURLLinks | ( | bool | generate | ) |
Sets whether links should be generated from urls found in the document. Default is false.
| generate | if true links will be generated from urls |
| void pdftron::PDF::XPSOutputCommonOptions::SetDPI | ( | UInt32 | dpi | ) |
The output resolution, from 1 to 1000, in Dots Per Inch (DPI) at which to render elements which cannot be directly converted. Default is 140.
| dpi | the resolution in Dots Per Inch |
| void pdftron::PDF::XPSOutputCommonOptions::SetOverprint | ( | enum OverprintPreviewMode | mode | ) |
Enable or disable support for overprint and overprint simulation. Overprint is a device dependent feature and the results will vary depending on the output color space and supported colorants (i.e. CMYK, CMYK+spot, RGB, etc). Default is e_op_pdfx_on.
| mode | e_op_on: always enabled; e_op_off: always disabled; e_op_pdfx_on: enabled for PDF/X files only. |
| void pdftron::PDF::XPSOutputCommonOptions::SetPrintMode | ( | bool | print_mode | ) |
Sets whether ToXps should be run in print mode. Default is false.
| print_mode | if true print mode is enabled |
| void pdftron::PDF::XPSOutputCommonOptions::SetRenderPages | ( | bool | render | ) |
Sets whether rendering of pages should be permitted when necessary to guarantee output. Default is true.
| render | if false rendering is not permitted under any circumstance |
| void pdftron::PDF::XPSOutputCommonOptions::SetThickenLines | ( | bool | thicken | ) |
Sets whether thin lines should be thickened. Default is true for XPS and false for XOD.
| thicken | if true then thin lines will be thickened |
|
protected |