Package com.itextpdf.kernel.pdf
Enum PdfViewerPreferences.PdfViewerPreferencesConstants
- java.lang.Object
-
- java.lang.Enum<PdfViewerPreferences.PdfViewerPreferencesConstants>
-
- com.itextpdf.kernel.pdf.PdfViewerPreferences.PdfViewerPreferencesConstants
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PdfViewerPreferences.PdfViewerPreferencesConstants>
- Enclosing class:
- PdfViewerPreferences
public static enum PdfViewerPreferences.PdfViewerPreferencesConstants extends java.lang.Enum<PdfViewerPreferences.PdfViewerPreferencesConstants>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_DEFAULT
Page scaling option constant forPdfName.PrintScaling
.ART_BOX
BLEED_BOX
CROP_BOX
DUPLEX_FLIP_LONG_EDGE
The paper handling option constant forPdfName.Duplex
.DUPLEX_FLIP_SHORT_EDGE
The paper handling option constant forPdfName.Duplex
.LEFT_TO_RIGHT
Direction constant forPdfName.Direction
.MEDIA_BOX
NONE
Page scaling option constant forPdfName.PrintScaling
.PRINT_AREA
PrintArea constant.PRINT_CLIP
PrintClip constant.RIGHT_TO_LEFT
Direction constant forPdfName.Direction
.SIMPLEX
The paper handling option constant forPdfName.Duplex
.TRIM_BOX
USE_NONE
PageMode constant forPdfName.NonFullScreenPageMode
.USE_OC
PageMode constant forPdfName.NonFullScreenPageMode
.USE_OUTLINES
PageMode constant forPdfName.NonFullScreenPageMode
.USE_THUMBS
PageMode constant forPdfName.NonFullScreenPageMode
.VIEW_AREA
ViewArea constant.VIEW_CLIP
ViewClip constant.
-
Constructor Summary
Constructors Modifier Constructor Description private
PdfViewerPreferencesConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PdfViewerPreferences.PdfViewerPreferencesConstants
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PdfViewerPreferences.PdfViewerPreferencesConstants[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USE_NONE
public static final PdfViewerPreferences.PdfViewerPreferencesConstants USE_NONE
PageMode constant forPdfName.NonFullScreenPageMode
.
-
USE_OUTLINES
public static final PdfViewerPreferences.PdfViewerPreferencesConstants USE_OUTLINES
PageMode constant forPdfName.NonFullScreenPageMode
.
-
USE_THUMBS
public static final PdfViewerPreferences.PdfViewerPreferencesConstants USE_THUMBS
PageMode constant forPdfName.NonFullScreenPageMode
.
-
USE_OC
public static final PdfViewerPreferences.PdfViewerPreferencesConstants USE_OC
PageMode constant forPdfName.NonFullScreenPageMode
.
-
LEFT_TO_RIGHT
public static final PdfViewerPreferences.PdfViewerPreferencesConstants LEFT_TO_RIGHT
Direction constant forPdfName.Direction
.
-
RIGHT_TO_LEFT
public static final PdfViewerPreferences.PdfViewerPreferencesConstants RIGHT_TO_LEFT
Direction constant forPdfName.Direction
.
-
MEDIA_BOX
public static final PdfViewerPreferences.PdfViewerPreferencesConstants MEDIA_BOX
-
CROP_BOX
public static final PdfViewerPreferences.PdfViewerPreferencesConstants CROP_BOX
-
BLEED_BOX
public static final PdfViewerPreferences.PdfViewerPreferencesConstants BLEED_BOX
-
TRIM_BOX
public static final PdfViewerPreferences.PdfViewerPreferencesConstants TRIM_BOX
-
ART_BOX
public static final PdfViewerPreferences.PdfViewerPreferencesConstants ART_BOX
-
VIEW_AREA
public static final PdfViewerPreferences.PdfViewerPreferencesConstants VIEW_AREA
ViewArea constant.
-
VIEW_CLIP
public static final PdfViewerPreferences.PdfViewerPreferencesConstants VIEW_CLIP
ViewClip constant.
-
PRINT_AREA
public static final PdfViewerPreferences.PdfViewerPreferencesConstants PRINT_AREA
PrintArea constant.
-
PRINT_CLIP
public static final PdfViewerPreferences.PdfViewerPreferencesConstants PRINT_CLIP
PrintClip constant.
-
NONE
public static final PdfViewerPreferences.PdfViewerPreferencesConstants NONE
Page scaling option constant forPdfName.PrintScaling
.
-
APP_DEFAULT
public static final PdfViewerPreferences.PdfViewerPreferencesConstants APP_DEFAULT
Page scaling option constant forPdfName.PrintScaling
.
-
SIMPLEX
public static final PdfViewerPreferences.PdfViewerPreferencesConstants SIMPLEX
The paper handling option constant forPdfName.Duplex
.
-
DUPLEX_FLIP_SHORT_EDGE
public static final PdfViewerPreferences.PdfViewerPreferencesConstants DUPLEX_FLIP_SHORT_EDGE
The paper handling option constant forPdfName.Duplex
.
-
DUPLEX_FLIP_LONG_EDGE
public static final PdfViewerPreferences.PdfViewerPreferencesConstants DUPLEX_FLIP_LONG_EDGE
The paper handling option constant forPdfName.Duplex
.
-
-
Method Detail
-
values
public static PdfViewerPreferences.PdfViewerPreferencesConstants[] 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 (PdfViewerPreferences.PdfViewerPreferencesConstants c : PdfViewerPreferences.PdfViewerPreferencesConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PdfViewerPreferences.PdfViewerPreferencesConstants valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-