Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt

Use this file to discover all available pages before exploring further.

XMLCharAttributesEnum enumeration constants are used to describe groups of character attributes to be written in files in XML format.
typedef enum {
 XCA_None,
 XCA_Ascii,
 XCA_Basic,
 XCA_Extended
} XMLCharAttributesEnum;

Elements

Name

Description

XCA_Ascii

Character coordinates and character confidence are to be written. Exactly the same format is used by IPlainText::SaveToAsciiXMLFile method.

Block coordinates are not to be written in this case.

XCA_Basic

Character and block coordinates are to be written.

XCA_Extended

Character and block coordinates, character confidence and extended character attributes are to be written. The following extended attributes are written:

  • whether the character is the first character in a word,
  • whether the word is found in the dictionary,
  • whether the word is recognized with either a standard or user-defined language, and that it is not a number or an identifier,
  • whether the word is a number,
  • whether the word is an identifier,
  • probability that a character is written with a Serif font,
  • penalty for discordance of characters in a word,
  • the mean width of stroke in the RLE representation of a word image.

XCA_None

No character attributes are to be written.

Used in

IXMLExportParams::WriteCharAttributes