LEADTOOLS OCR C DLL Help > LEADTOOLS PDF OCR Add-On > PDF OCR Professional > DOC2_FORMATLEVEL |
typedef enum
{
DOC2_FORMAT_LEVEL_AUTO = 0,
DOC2_FORMAT_LEVEL_NONE,
DOC2_FORMAT_LEVEL_RFP,
DOC2_FORMAT_LEVEL_TRUEPAGE,
DOC2_FORMAT_LEVEL_FLOWINGPAGE,
DOC2_FORMAT_LEVEL_SPREADSHEET,
} DOC2_FORMATLEVEL;
The DOC2_FORMATLEVEL enumerated type specifies how much formatting is exported.
Value |
Meaning |
DOC2_FORMAT_LEVEL_AUTO |
Default format conversion |
DOC2_FORMAT_LEVEL_NONE |
No format conversion |
DOC2_FORMAT_LEVEL_RFP |
Retain Font and Paragraphs |
DOC2_FORMAT_LEVEL_TRUEPAGE |
True page |
DOC2_FORMAT_LEVEL_FLOWINGPAGE |
Flowing page |
DOC2_FORMAT_LEVEL_SPREADSHEET |
Spreadsheet |
Comments
This enumerated type is used by the following structure:
The following table lists all the output formats and shows which format levels are supported by each of them:
NoFormat |
RetainFontAndParagraph |
SpreadSheet |
TruePage |
FlowingPage |
|
HTML 3.2 |
YES |
YES |
YES |
NO |
NO |
HTML 4.0 |
YES |
YES |
NO |
YES |
NO |
InfoPath |
NO |
NO |
NO |
YES |
NO |
Microsoft Excel 97, 2000, 2007 |
YES |
YES |
YES |
NO |
NO |
Microsoft Word 97, 2000, 2007, WordML |
YES |
YES |
NO |
YES |
YES |
RTF Word 2000 |
YES |
YES |
NO |
YES |
YES |
RTF for WordPad |
YES |
YES |
NO |
NO |
NO |
Text |
YES |
NO |
NO |
NO |
NO |
Text formatted |
NO |
NO |
NO |
YES |
NO |
Unicode Text |
YES |
NO |
NO |
NO |
NO |
Unicode Text formatted |
NO |
NO |
NO |
YES |
NO |