WordAttributeFlags
Namespace: Datalogics::PDFL
Description
Flags returned by Word.GetAttributes.
Values
- HasNonalphanum = 1
The word contains a character outside the range of A-Z, a-Z, 0-9.
- HasLetter = 2
The word contains a character between A-Z or a-z.
- HasUppercase = 4
The word contains a character between A-Z.
- HasDigit = 8
One or more characters in the word are digits.
- HasPunctuation = 16
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.
- HasHyphen = 32
There is a hyphen in the word.
- HasSoftHyphen = 64
There is a soft hyphen in the word.
- HasLigature = 128
The word contains a ligature.
- HasLeadingPunctuation = 256
The first character in the word is a punctuation mark.
- HasTrailingPunctuation = 512
The last character in the word is a punctuation mark.
- HasUnmappedCharacters = 1024
One or more characters in the word cannot be represented in the output font encoding.
- AdjacentToSpace = 2048
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 = 4096
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.
- VerticalFlow = 8192
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.
- WordBreak = 16384
The word is followed by a word break character (such as a space).
- LastWordOnLine = 32768
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.
- FrontTab = 65536
Insert a tab character before this word
- EncodingWarning = 131072
Unreliable encoding conversion happened in this word. Check the encoding flags of each character for detail.
- ReverseDirection = 262144
The writing direction is right-left or top-down
- WordIsUnicode = 524288
The text is in Unicode format.
- ExtCharOffsets = 1048576
The word has extended character offset information.