Package org.jpedal.tools
Enum Class PdfMergeAttributes.MergeAttributes
java.lang.Object
java.lang.Enum<PdfMergeAttributes.MergeAttributes>
org.jpedal.tools.PdfMergeAttributes.MergeAttributes
- All Implemented Interfaces:
Serializable,Comparable<PdfMergeAttributes.MergeAttributes>,Constable
- Enclosing class:
PdfMergeAttributes
public static enum PdfMergeAttributes.MergeAttributes
extends Enum<PdfMergeAttributes.MergeAttributes>
Attribute names used on the command line
These attributes control the appearance and features of the various Pdf Merge options
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAttribute name that controls the font that will be used when generating new content for the mergeAttribute name that controls the size of the font that will be used when generating new content for the mergeAttribute name that controls the height of the footer to be added to the page when using the --add_footer optionsAttribute name that controls the appearance of the footer on the command line.Attribute name that controls the color of the text that will be used when generating new content for the merge -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PdfMergeAttributes.MergeAttributes[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FONT_NAME
Attribute name that controls the font that will be used when generating new content for the merge -
FONT_SIZE
Attribute name that controls the size of the font that will be used when generating new content for the merge -
TEXT_COLOR
Attribute name that controls the color of the text that will be used when generating new content for the merge -
FOOTER_HEIGHT
Attribute name that controls the height of the footer to be added to the page when using the --add_footer options -
FOOTER_TEMPLATE
Attribute name that controls the appearance of the footer on the command line. The value for this attribute has 2 dynamic variables that will be replaced with document and page specific values. %FILENAME - is replaced with the original files name. %PAGENUMBER - is replaced with the original page number of this page in the original file.
-
-
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
-