#include <Convert.h>
Public Member Functions | |
ExcelOutputOptions () | |
void | SetPages (int page_from, int page_to) |
void | SetPDFPassword (const UString &password) |
void | SetLanguage (OutputOptionsOCR::LanguageChoice language) |
void | SetPreferredOCREngine (OutputOptionsOCR::PreferredOCREngine engine) |
void | SetCustomOCRLanguage (const UString &ocrlang) |
void | SetNonTableContent (bool non_tables) |
void | SetSingleSheet (bool single_sheet) |
Protected Attributes | |
TRN_Obj | m_obj |
SDF::ObjSet | m_objset |
Friends | |
class | Convert |
pdftron::PDF::ExcelOutputOptions::ExcelOutputOptions | ( | ) |
Creates a ExcelOutputOptions object with default settings.
void pdftron::PDF::ExcelOutputOptions::SetCustomOCRLanguage | ( | const UString & | ocrlang | ) |
Specifies the custom OCR languages to use.
ocrlang | the OCR language(s). |
void pdftron::PDF::ExcelOutputOptions::SetLanguage | ( | OutputOptionsOCR::LanguageChoice | language | ) |
Specifies the OCR language. Default is automatic language detection.
language | the OCR language. |
void pdftron::PDF::ExcelOutputOptions::SetNonTableContent | ( | bool | non_tables | ) |
Specifies whether to convert non-tabular content. Default is false.
non_tables | If false, only tabular content is converted to Excel. If true, all textual content is converted to Excel. |
void pdftron::PDF::ExcelOutputOptions::SetPages | ( | int | page_from, |
int | page_to | ||
) |
Specifies a range of pages to be converted. By default all pages are converted. The first page has the page number of 1.
page_from | the first page to be converted. |
page_to | the last page to be converted (inclusive). Use a negative value to specify the last page in the PDF. |
void pdftron::PDF::ExcelOutputOptions::SetPDFPassword | ( | const UString & | password | ) |
void pdftron::PDF::ExcelOutputOptions::SetPreferredOCREngine | ( | OutputOptionsOCR::PreferredOCREngine | engine | ) |
Specifies preferred OCR engine.
engine | The PreferredOCREngine to OCR. |
void pdftron::PDF::ExcelOutputOptions::SetSingleSheet | ( | bool | single_sheet | ) |
Specifies whether to combine all tables into a single sheet. Default is false.
single_sheet | If false, each logical table goes to a separate Excel sheet. If true, all logical tables are combined into a single Excel sheet. |
|
protected |
|
protected |