Package com.datalogics.PDFL
Enum Class WordAttributeFlags
- All Implemented Interfaces:
Serializable,Comparable<WordAttributeFlags>,Constable
Flags returned by Word::GetAttributes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe character following the end of the word is a space (either an explicit space character encoded in a string, or one that appears implicitly because the drawing point was moved).Unreliable encoding conversion happened in this word.The word has extended character offset information.Insert a tab character before this wordOne or more characters in the word are digits.There is a hyphen in the word.The first character in the word is a punctuation mark.The word contains a character between A-Z or a-z.The word contains a ligature.The word contains a character outside the range of A-Z, a-Z, 0-9.One or more characters in the word are punctuation marks.There is a soft hyphen in the word.The last character in the word is a punctuation mark.One or more characters in the word cannot be represented in the output font encoding.The word contains a character between A-Z.The word is at the end of the current text line (for example, the word is followed by a line break).The writing direction is right-left or top-downThe writing direction of the word is not in a multiple of 90 degrees, or the bounding box of the text is skewed.The writing direction of the word is either 90 or 180 degrees.The text is in Unicode format. -
Method Summary
Modifier and TypeMethodDescriptionstatic WordAttributeFlagsReturns the enum constant of this class with the specified name.static WordAttributeFlags[]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
-
HAS_NONALPHANUM
The word contains a character outside the range of A-Z, a-Z, 0-9. -
HAS_LETTER
The word contains a character between A-Z or a-z. -
HAS_UPPERCASE
The word contains a character between A-Z. -
HAS_DIGIT
One or more characters in the word are digits. -
HAS_PUNCTUATION
One or more characters in the word are punctuation marks. Other flag bits can be checked to test whether the punctuation was at the beginning of the word, the end of the word, or elsewhere in the word. -
HAS_HYPHEN
There is a hyphen in the word. -
HAS_SOFT_HYPHEN
There is a soft hyphen in the word. -
HAS_LIGATURE
The word contains a ligature. -
HAS_LEADING_PUNCTUATION
The first character in the word is a punctuation mark. -
HAS_TRAILING_PUNCTUATION
The last character in the word is a punctuation mark. -
HAS_UNMAPPED_CHARACTERS
One or more characters in the word cannot be represented in the output font encoding. -
ADJACENT_TO_SPACE
The character following the end of the word is a space (either an explicit space character encoded in a string, or one that appears implicitly because the drawing point was moved). -
ROTATED
The writing direction of the word is not in a multiple of 90 degrees, or the bounding box of the text is skewed. This flag indicates that the quads of the word should be used to specify the highlight area correctly. -
VERTICAL_FLOW
The writing direction of the word is either 90 or 180 degrees. This flag ignores the page rotation parameter of the page dictionary. Therefore, if the page is rotated 90 degrees, this flag will be set on each word that appears horizonally on the screen. -
WORD_BREAK
-
LAST_WORD_ON_LINE
The word is at the end of the current text line (for example, the word is followed by a line break). In tagged PDF documents, this flag is set according to the tags in the document. To determine visual line breaks in tagged PDF, use IsLastWordInRegion instead. -
FRONT_TAB
Insert a tab character before this word -
ENCODING_WARNING
Unreliable encoding conversion happened in this word. Check the encoding flags of each character for detail. -
REVERSE_DIRECTION
The writing direction is right-left or top-down -
WORD_IS_UNICODE
The text is in Unicode format. -
EXT_CHAR_OFFSETS
The word has extended character offset information.
-
-
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
-