WordAttributeFlags
Namespace: datalogics_interface
Description
Flags returned by Word::GetAttributes.
Values
- HasNonalphanum
The word contains a character outside A-Z, a-z, 0-9.
- HasLetter
The word contains a character in A-Z or a-z.
- HasUppercase
The word contains a character in A-Z.
- HasDigit
One or more characters are digits.
- HasPunctuation
One or more characters are punctuation. Use the leading/trailing flags to determine position.
- HasHyphen
The word contains a hyphen.
- HasSoftHyphen
The word contains a soft hyphen.
- HasLigature
The word contains a ligature.
- HasLeadingPunctuation
The first character is a punctuation mark.
- HasTrailingPunctuation
The last character is a punctuation mark.
- HasUnmappedCharacters
One or more characters cannot be represented in the output font's encoding.
- AdjacentToSpace
The character following the word is a space (explicit or implicit from a drawing-point move).
- Rotated
Writing direction is not a multiple of 90 degrees, or the bounding box is skewed; use the word's quads for highlight regions.
- VerticalFlow
Writing direction is 90 or 180 degrees, ignoring the page rotation entry. Set on words rendered horizontally on a 90°-rotated page.
- WordBreak
The word is followed by a word-break character (e.g. a space).
- LastWordOnLine
The word ends a text line (e.g. is followed by a line break). In tagged PDFs this follows the document's tags; for visual line breaks use IsLastWordInRegion.