DocumentStructureDetectionParams Object (IDocumentStructureDetectionParams Interface)

This object is used for setting up the parameters of the document structure detection during document synthesis. This object is passed as a subobject of SynthesisParamsForDocument object to recognition and synthesis methods. By default, all the Boolean properties of this object are set to TRUE. You may turn off some of the properties, if your document does not contain any elements of this type (e.g., it does not have footnotes or table of contents) which may speed up processing.

The DocumentStructureDetectionParams object is a persistent object. This means that the object's current state can be written to persistent storage: an area in the global memory or a disk file. Later, the object can be re-created by reading the object's state from persistent storage. The following methods provide persistence of the object: SaveToFile, LoadFromFile, SaveToMemory, and LoadFromMemory.

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
ClassifySeparators VARIANT_BOOL

If this property is set to TRUE, additional properties of separators (such as their type and role) are detected during document synthesis.

This property is set to TRUE by default.

DetectCaptions VARIANT_BOOL

If this property is set to TRUE, the captions are detected during document synthesis.

This property is set to TRUE by default.

DetectColumns VARIANT_BOOL

If this property is set to TRUE, the columns are detected during document synthesis.

This property is set to TRUE by default.

DetectFootnotes VARIANT_BOOL

If this property is set to TRUE, the footnotes are detected during document synthesis.

This property is set to TRUE by default.

DetectHeadlines VARIANT_BOOL

If this property is set to TRUE, the headlines are detected during document synthesis.

This property is set to TRUE by default.

DetectLists VARIANT_BOOL

If this property is set to TRUE, the lists are detected during document document synthesis.

This property is set to TRUE by default.

DetectOverflowingParagraphs VARIANT_BOOL

If this property is set to TRUE, the overflowing paragraphs are detected during document synthesis. The overflowing paragraph is the one which starts from one page and ends on another page. If the property is set to FALSE, the program presumes that there are no overflowing paragraphs in the document.

This property is set to TRUE by default.

DetectRunningTitles VARIANT_BOOL

If this property is set to TRUE, the running titles are detected during document synthesis.

This property is set to TRUE by default.

DetectTableOfContents VARIANT_BOOL

If this property is set to TRUE, the table of contents is detected during document synthesis.

This property is set to TRUE by default.

Methods

Name Description
CopyFrom Initializes properties of the current object with values of similar properties of another object.
LoadFromFile Restores the object contents from a file on disk.
LoadFromMemory Restores the object contents from the global memory.
SaveToFile Saves the object contents into a file on disk.
SaveToMemory Saves the object contents into the global memory.

Related objects

Object Diagram

See also

Tuning Parameters of Preprocessing, Analysis, Recognition, and Synthesis

SynthesisParamsForDocument

Working with Properties

24.03.2023 8:51:52

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.