# WordAttributeFlags Enum

> Flags returned by Word.GetAttributes.

- Product: Adobe PDF Library 21
- Language: Java
- Version: APDFL21.0.0PlusP1f
- HTML page: https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1f/enum/WordAttributeFlags
- Version index: https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1f/llms.txt

**Namespace:** `com::datalogics::PDFL`

## Description

Flags returned by Word.GetAttributes.

## Values

- `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).
- `ENCODING_WARNING`: Unreliable encoding conversion happened in this word. Check the encoding flags of each character for detail.
- `EXT_CHAR_OFFSETS`: The word has extended character offset information.
- `FRONT_TAB`: Insert a tab character before this word
- `HAS_DIGIT`: One or more characters in the word are digits.
- `HAS_HYPHEN`: There is a hyphen in the word.
- `HAS_LEADING_PUNCTUATION`: The first character in the word is a punctuation mark.
- `HAS_LETTER`: The word contains a character between A-Z or a-z.
- `HAS_LIGATURE`: The word contains a ligature.
- `HAS_NONALPHANUM`: The word contains a character outside the range of A-Z, a-Z, 0-9.
- `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_SOFT_HYPHEN`: There is a soft hyphen in the word.
- `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.
- `HAS_UPPERCASE`: The word contains a character between A-Z.
- `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.
- `REVERSE_DIRECTION`: The writing direction is right-left or top-down
- `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`: The word is followed by a word break character (such as a space).
- `WORD_IS_UNICODE`: The text is in Unicode format.
