Enum ETargetPageFormat

  • All Implemented Interfaces:
    Serializable, Comparable<ETargetPageFormat>

    public enum ETargetPageFormat
    extends Enum<ETargetPageFormat>
    Some page formats that might be passed as conversion parameters (see the particular converter implementation for supported values).
    Since:
    8.3.0
    Author:
    XIMA MEDIA GmbH
    • Enum Constant Detail

      • A4_AUTO_ROTATE

        public static final ETargetPageFormat A4_AUTO_ROTATE
        Only for images: A4 with automatic aspect ratio detection (that is, use A4 landscape if the source image's width is greater than its height, use A4 portrait if its the other way round).
      • FROM_SOURCE

        public static final ETargetPageFormat FROM_SOURCE
        Use the page format of the source document (e.g. Word or PDF documents or images, not applicable for plaintext sources)
    • Method Detail

      • values

        public static ETargetPageFormat[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ETargetPageFormat c : ETargetPageFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ETargetPageFormat valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • in

        public boolean in​(ETargetPageFormat... elements)
        Parameters:
        elements - the enum elements for the 'in' check
        Returns:
        true if this is contained in the provided enum elements, false otherwise.