Enum Class Settings.EXPORT

java.lang.Object
java.lang.Enum<Settings.EXPORT>
com.inet.pdfc.config.Settings.EXPORT
All Implemented Interfaces:
VisibilitySetting, Serializable, Comparable<Settings.EXPORT>, Constable
Enclosing interface:
Settings

public static enum Settings.EXPORT extends Enum<Settings.EXPORT> implements VisibilitySetting
Settings to configure the export to PDF or image format. By default, all of these settings are enabled.
  • Enum Constant Details

    • COMMENTS

      public static final Settings.EXPORT COMMENTS
      Show the annotable in export
    • SCALETOPAGEHEIGHT

      public static final Settings.EXPORT SCALETOPAGEHEIGHT
      Fit first page to the PDFs to first exported page
    • AUTOPAGESSIZE

      public static final Settings.EXPORT 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 the SCALETOPAGEHEIGHT setting and implies a 'scale to page' rendering result. This option will completely ignore the page size set to the export.
    • ONLY_ON_DIFFERENCES

      public static final Settings.EXPORT ONLY_ON_DIFFERENCES
      Export the document if contain difference, all other didn't export
    • CREATE_DIFFIMAGES_FIRST

      public static final Settings.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 and CREATE_DIFFIMAGES_SECOND enable both pages will be paint
      Since:
      i-net PDFC 5.0
    • CREATE_DIFFIMAGES_SECOND

      public static final Settings.EXPORT 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 and CREATE_DIFFIMAGES_FIRST enable both pages will be paint
      Since:
      i-net PDFC 5.0
    • CREATE_XORIMAGES

      public static final Settings.EXPORT 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

      public static final Settings.EXPORT 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

      public static Settings.EXPORT[] 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

      public static Settings.EXPORT valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getTyp

      public String getTyp()
      Return the enum typ for this setting/s
      Specified by:
      getTyp in interface VisibilitySetting
      Returns:
      enum typ for this setting/s