Chinese Simplified (简体中文)

XMLCharAttributesEnum

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.

Note: 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

03.07.2024 8:50:25

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.