Package de.xima.fc.transform.pdf.convert
Enum ETargetPageFormat
- java.lang.Object
-
- java.lang.Enum<ETargetPageFormat>
-
- de.xima.fc.transform.pdf.convert.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 Summary
Enum Constants Enum Constant Description A3_LANDSCAPEA3 landscapeA3_PORTRAITA3 portraitA4_LANDSCAPEA4 landscapeA4_PORTRAITA4 portraitA5_LANDSCAPEA5 landscapeA5_PORTRAITA5 portraitAUTOUse the default output page format (converter dependent, e.g.LEGAL_LANDSCAPEUS Legal landscapeLEGAL_PORTRAITUS Legal portraitLETTER_LANDSCAPEUS Letter landscapeLETTER_PORTRAITUS Letter portraitTABLOID_LANDSCAPETabloid landscapeTABLOID_PORTRAITTabloid portrait
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanin(ETargetPageFormat... elements)static ETargetPageFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static ETargetPageFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final ETargetPageFormat AUTO
Use the default output page format (converter dependent, e.g. for Word or PDF documents or images this is the format of the source document, for plaintext it would beA4_PORTRAIT).
-
A3_PORTRAIT
public static final ETargetPageFormat A3_PORTRAIT
A3 portrait
-
A3_LANDSCAPE
public static final ETargetPageFormat A3_LANDSCAPE
A3 landscape
-
A4_PORTRAIT
public static final ETargetPageFormat A4_PORTRAIT
A4 portrait
-
A4_LANDSCAPE
public static final ETargetPageFormat A4_LANDSCAPE
A4 landscape
-
A5_PORTRAIT
public static final ETargetPageFormat A5_PORTRAIT
A5 portrait
-
A5_LANDSCAPE
public static final ETargetPageFormat A5_LANDSCAPE
A5 landscape
-
LEGAL_PORTRAIT
public static final ETargetPageFormat LEGAL_PORTRAIT
US Legal portrait
-
LEGAL_LANDSCAPE
public static final ETargetPageFormat LEGAL_LANDSCAPE
US Legal landscape
-
LETTER_PORTRAIT
public static final ETargetPageFormat LETTER_PORTRAIT
US Letter portrait
-
LETTER_LANDSCAPE
public static final ETargetPageFormat LETTER_LANDSCAPE
US Letter landscape
-
TABLOID_PORTRAIT
public static final ETargetPageFormat TABLOID_PORTRAIT
Tabloid portrait
-
TABLOID_LANDSCAPE
public static final ETargetPageFormat TABLOID_LANDSCAPE
Tabloid landscape
-
-
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 nameNullPointerException- if the argument is null
-
in
public boolean in(ETargetPageFormat... elements)
- Parameters:
elements- the enum elements for the 'in' check- Returns:
- true if
thisis contained in the provided enum elements, false otherwise.
-
-