Package com.inet.pdfc.config
Enum Class Settings.EXPORT
- All Implemented Interfaces:
VisibilitySetting
,Serializable
,Comparable<Settings.EXPORT>
,Constable
- Enclosing interface:
- Settings
Settings to configure the export to PDF or image format. By default, all of these settings are enabled.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis option will cause the export pages to be automatically fitted to the content in width and height with a scale of 100%.
It furthermore ignores theSCALETOPAGEHEIGHT
setting and implies a 'scale to page' rendering result.Show the annotable in exportSpecifies if a PNG image with the marked difference will be created.Specifies if a PNG image with the marked difference will be created.Specifies if a PNG image with the original content will be created for each compared page.Creates an (negated) XOR image for any pair of pages with differences.Add a footer per pageAdd a header per pageExport the document if contain difference, all other didn't exportFit first page to the PDFs to first exported page -
Method Summary
Modifier and TypeMethodDescriptiongetTyp()
Return the enum typ for this setting/sstatic Settings.EXPORT
Returns the enum constant of this class with the specified name.static Settings.EXPORT[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.inet.pdfc.config.VisibilitySetting
getTranslationKey, name
-
Enum Constant Details
-
COMMENTS
Show the annotable in export -
HEADER
Add a header per page -
FOOTER
Add a footer per page -
SCALETOPAGEHEIGHT
Fit first page to the PDFs to first exported page -
AUTOPAGESSIZE
This option will cause the export pages to be automatically fitted to the content in width and height with a scale of 100%.
It furthermore ignores theSCALETOPAGEHEIGHT
setting and implies a 'scale to page' rendering result. This option will completely ignore the page size set to the export. -
ONLY_ON_DIFFERENCES
Export the document if contain difference, all other didn't export -
CREATE_DIFFIMAGES_FIRST
Specifies if a PNG image with the marked difference will be created. Such a image will be created for for each pair of pages if there are differences in elements, contained in these pages. If this enabled to paint the original page (first document). If this enabled andCREATE_DIFFIMAGES_SECOND
enable both pages will be paint- Since:
- i-net PDFC 5.0
-
CREATE_DIFFIMAGES_SECOND
Specifies if a PNG image with the marked difference will be created. Such a image will be created for for each pair of pages if there are differences in elements, contained in these pages. If this enabled to paint the new page (second document). If this enabled andCREATE_DIFFIMAGES_FIRST
enable both pages will be paint- Since:
- i-net PDFC 5.0
-
CREATE_XORIMAGES
Creates an (negated) XOR image for any pair of pages with differences. The image will be stored as an PNG in the differences directory of the current comparison. If CREATE_DIFFIMAGES_FIRST and CREATE_DIFFIMAGES_SECOND is enabled, the XOR image will be drawn onto the image created by CREATE_DIFFIMAGES between the two actual page images.- Since:
- i-net PDFC 5.0
-
CREATE_ORIGIMAGES
Specifies if a PNG image with the original content will be created for each compared page. The default value is: false.- Since:
- i-net PDFC 5.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getTyp
Return the enum typ for this setting/s- Specified by:
getTyp
in interfaceVisibilitySetting
- Returns:
- enum typ for this setting/s
-