|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.JRExporterParameter
net.sf.jasperreports.engine.export.JRPdfExporterParameter
public class JRPdfExporterParameter
Contains parameters useful for export in PDF format.
The PDF exporter can send data to an output stream or a file on disk. The engine looks among the export parameters in order to find the selected output type in this order: OUTPUT_STREAM, OUTPUT_FILE, OUTPUT_FILE_NAME.
Field Summary | |
---|---|
static JRPdfExporterParameter |
FORCE_LINEBREAK_POLICY
Flag that decides whether the PDF exporter should use a SplitCharacter
implementation which ensures that report texts are broken into lines by iText in the same manner as done by the
fill process. |
static JRPdfExporterParameter |
FORCE_SVG_SHAPES
Flag to force the rendering of SVG images using shapes, on the PDF Graphics2D context. |
static JRPdfExporterParameter |
IS_128_BIT_KEY
A boolean value specifying whether the encryption key is 128 bits. |
static JRPdfExporterParameter |
IS_COMPRESSED
A boolean value specifying whether the PDF document should be compressed. |
static JRPdfExporterParameter |
IS_CREATING_BATCH_MODE_BOOKMARKS
A boolean value specifying whether the PDF document should contain an outline section |
static JRPdfExporterParameter |
IS_ENCRYPTED
A boolean value specifying whether the final PDF document should be encrypted. |
static JRPdfExporterParameter |
IS_TAGGED
Specifies whether the exporter should put structure tags in the generated PDF. |
static JRPdfExporterParameter |
METADATA_AUTHOR
The Author of the PDF document, as String. |
static JRPdfExporterParameter |
METADATA_CREATOR
The Creator or Application for the PDF document, as String, defaults to JasperReports. |
static JRPdfExporterParameter |
METADATA_KEYWORDS
The Keywords of the PDF document, as comma-separated String. |
static JRPdfExporterParameter |
METADATA_SUBJECT
The Subject of the PDF document, as String. |
static JRPdfExporterParameter |
METADATA_TITLE
The Title of the PDF document, as String. |
static JRPdfExporterParameter |
OWNER_PASSWORD
The password belonging to the owner of the document, if it is encrypted. |
static JRPdfExporterParameter |
PDF_JAVASCRIPT
The user defined JavaScript piece of code to be inserted in the generated PDF document |
static JRPdfExporterParameter |
PDF_VERSION
A Character instance representing the version of the generated PDF. |
static java.lang.Character |
PDF_VERSION_1_2
|
static java.lang.Character |
PDF_VERSION_1_3
|
static java.lang.Character |
PDF_VERSION_1_4
|
static java.lang.Character |
PDF_VERSION_1_5
|
static java.lang.Character |
PDF_VERSION_1_6
|
static java.lang.Character |
PDF_VERSION_1_7
|
static JRPdfExporterParameter |
PDFA_CONFORMANCE
The Conformance level of the PDF/A document, as java.lang.String. |
static java.lang.String |
PDFA_CONFORMANCE_1A
|
static java.lang.String |
PDFA_CONFORMANCE_1B
|
static java.lang.String |
PDFA_CONFORMANCE_NONE
|
static JRPdfExporterParameter |
PDFA_ICC_PROFILE_PATH
The path to the ICC profile file for the PDF/A compliant document |
static JRPdfExporterParameter |
PERMISSIONS
An integer value representing the PDF permissions for the generated document. |
static JRPdfExporterParameter |
PRINT_SCALING
Parameter specifying the print scaling preference in the PDF print dialog. |
static java.lang.String |
PRINT_SCALING_DEFAULT
|
static java.lang.String |
PRINT_SCALING_NONE
|
static java.lang.String |
PROPERTY_128_BIT_KEY
Property whose value is used as default state of the IS_128_BIT_KEY export flag. |
static java.lang.String |
PROPERTY_COLLAPSE_MISSING_BOOKMARK_LEVELS
Property that determines if missing bookmark levels are collapsed, or if empty bookmarks are created for the missing levels. |
static java.lang.String |
PROPERTY_COMPRESSED
Property whose value is used as default state of the IS_COMPRESSED export flag. |
static java.lang.String |
PROPERTY_CREATE_BATCH_MODE_BOOKMARKS
Property whose value is used as default state of the IS_CREATING_BATCH_MODE_BOOKMARKS export flag. |
static java.lang.String |
PROPERTY_ENCRYPTED
Property whose value is used as default state of the IS_ENCRYPTED export flag. |
static java.lang.String |
PROPERTY_FORCE_LINEBREAK_POLICY
Property that provides a default value for the FORCE_LINEBREAK_POLICY
PDF exporter parameter. |
static java.lang.String |
PROPERTY_FORCE_SVG_SHAPES
Property that provides a default value for the FORCE_SVG_SHAPES
PDF exporter parameter. |
static java.lang.String |
PROPERTY_OWNER_PASSWORD
Property whose value is used as default for the OWNER_PASSWORD export parameter. |
static java.lang.String |
PROPERTY_PDF_JAVASCRIPT
Property whose value is used as default for the PDF_JAVASCRIPT export parameter. |
static java.lang.String |
PROPERTY_PDF_VERSION
Property whose value is used as default for the PDF_VERSION export parameter. |
static java.lang.String |
PROPERTY_PDFA_CONFORMANCE
Property whose value is used as default for the PDFA_CONFORMANCE export parameter. |
static java.lang.String |
PROPERTY_PDFA_ICC_PROFILE_PATH
Property whose value is used as default for the PDFA_ICC_PROFILE_PATH export parameter. |
static java.lang.String |
PROPERTY_PRINT_SCALING
Property whose value is used as default state of the PRINT_SCALING export parameter. |
static java.lang.String |
PROPERTY_TAG_LANGUAGE
Property whose value is used as default for the TAG_LANGUAGE export parameter. |
static java.lang.String |
PROPERTY_TAGGED
Property whose value is used as default for the IS_TAGGED export parameter. |
static java.lang.String |
PROPERTY_USER_PASSWORD
Property whose value is used as default for the USER_PASSWORD export parameter. |
static JRPdfExporterParameter |
TAG_LANGUAGE
Specifies the language that the exporter should put in the language tag of the generated PDF. |
static JRPdfExporterParameter |
USER_PASSWORD
The user password needed to open the document, if it is encrypted. |
Constructor Summary | |
---|---|
protected |
JRPdfExporterParameter(java.lang.String name)
|
Method Summary |
---|
Methods inherited from class net.sf.jasperreports.engine.JRExporterParameter |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Character PDF_VERSION_1_2
public static final java.lang.Character PDF_VERSION_1_3
public static final java.lang.Character PDF_VERSION_1_4
public static final java.lang.Character PDF_VERSION_1_5
public static final java.lang.Character PDF_VERSION_1_6
public static final java.lang.Character PDF_VERSION_1_7
public static final java.lang.String PRINT_SCALING_DEFAULT
public static final java.lang.String PRINT_SCALING_NONE
public static final java.lang.String PDFA_CONFORMANCE_1A
public static final java.lang.String PDFA_CONFORMANCE_1B
public static final java.lang.String PDFA_CONFORMANCE_NONE
public static final JRPdfExporterParameter IS_CREATING_BATCH_MODE_BOOKMARKS
public static final java.lang.String PROPERTY_CREATE_BATCH_MODE_BOOKMARKS
IS_CREATING_BATCH_MODE_BOOKMARKS
export flag.
This property is by default not set (false
).
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter IS_COMPRESSED
public static final java.lang.String PROPERTY_COMPRESSED
IS_COMPRESSED
export flag.
This property is by default not set (false
).
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter IS_ENCRYPTED
public static final java.lang.String PROPERTY_ENCRYPTED
IS_ENCRYPTED
export flag.
This property is by default not set (false
).
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter IS_128_BIT_KEY
public static final java.lang.String PROPERTY_128_BIT_KEY
IS_128_BIT_KEY
export flag.
This property is by default not set (false
).
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter USER_PASSWORD
public static final java.lang.String PROPERTY_USER_PASSWORD
USER_PASSWORD
export parameter.
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter OWNER_PASSWORD
public static final java.lang.String PROPERTY_OWNER_PASSWORD
OWNER_PASSWORD
export parameter.
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter PERMISSIONS
public static final JRPdfExporterParameter PDF_VERSION
public static final java.lang.String PROPERTY_PDF_VERSION
PDF_VERSION
export parameter.
Possible values of the this property are 2, 3, 4, 5, 6 and 7.
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter METADATA_TITLE
public static final JRPdfExporterParameter METADATA_AUTHOR
public static final JRPdfExporterParameter METADATA_SUBJECT
public static final JRPdfExporterParameter METADATA_KEYWORDS
public static final JRPdfExporterParameter METADATA_CREATOR
public static final JRPdfExporterParameter FORCE_LINEBREAK_POLICY
SplitCharacter
implementation which ensures that report texts are broken into lines by iText in the same manner as done by the
fill process.
The default line-breaking logic differs from AWT (which is used during the report fill) to iText (used by the PDF exporter). By setting this flag, the logic used by AWT is imposed to iText. The drawback is that the PDF export performance would drop. Because of this, the flag is not set by default.
This flag can be set system-wide using the
PROPERTY_FORCE_LINEBREAK_POLICY
property.
This export parameter overrides the property value.
PROPERTY_FORCE_LINEBREAK_POLICY
,
BreakIteratorSplitCharacter
public static final java.lang.String PROPERTY_FORCE_LINEBREAK_POLICY
FORCE_LINEBREAK_POLICY
PDF exporter parameter.
FORCE_LINEBREAK_POLICY
,
Constant Field Valuespublic static final JRPdfExporterParameter FORCE_SVG_SHAPES
PROPERTY_FORCE_SVG_SHAPES
property. This export parameter overrides the property value.
PROPERTY_FORCE_SVG_SHAPES
public static final java.lang.String PROPERTY_FORCE_SVG_SHAPES
FORCE_SVG_SHAPES
PDF exporter parameter.
public static final JRPdfExporterParameter PDF_JAVASCRIPT
public static final java.lang.String PROPERTY_PDF_JAVASCRIPT
PDF_JAVASCRIPT
export parameter.
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter PRINT_SCALING
public static final java.lang.String PROPERTY_PRINT_SCALING
PRINT_SCALING
export parameter.
By default, this property is set to PRINT_SCALING_DEFAULT
.
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter IS_TAGGED
public static final java.lang.String PROPERTY_TAGGED
IS_TAGGED
export parameter.
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter TAG_LANGUAGE
public static final java.lang.String PROPERTY_TAG_LANGUAGE
TAG_LANGUAGE
export parameter.
JRPropertiesUtil
,
Constant Field Valuespublic static final java.lang.String PROPERTY_COLLAPSE_MISSING_BOOKMARK_LEVELS
The property dictates what happens when a filled report contains an anchor having a bookmark level that is not the immediate successor of its parent (e.g. an anchor with bookmark level 3 follows immediately after a bookmark of level 1). If the property is not set, an empty bookmark is created for the missing level(s) in order to preserve the original level of the bookmark. When the property is set, the level of the bookmark will be collapsed and the bookmark will be created as a direct descendant of its nearest parent.
The property can be set globally and at report level.
By default, the property is set to false
.
JRAnchor.getBookmarkLevel()
,
Constant Field Valuespublic static final JRPdfExporterParameter PDFA_CONFORMANCE
public static final java.lang.String PROPERTY_PDFA_CONFORMANCE
PDFA_CONFORMANCE
export parameter.
By default, this property is set to PDFA_CONFORMANCE_NONE
.
JRPropertiesUtil
,
Constant Field Valuespublic static final JRPdfExporterParameter PDFA_ICC_PROFILE_PATH
public static final java.lang.String PROPERTY_PDFA_ICC_PROFILE_PATH
PDFA_ICC_PROFILE_PATH
export parameter.
Constructor Detail |
---|
protected JRPdfExporterParameter(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |