#include <Convert.h>
Public Types | |
| enum | SearchableImageSetting { e_ocr_text = 2, e_ocr_off, e_ocr_always } |
Public Member Functions | |
| PowerPointOutputOptions () | |
| 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 | SetSearchableImageSetting (SearchableImageSetting setting) |
| void | SetTextRecoveryNSE (bool use_ocr) |
| void | SetHeadersAndFootersSetting (StructuredOutputOptions::SectionConversionSetting option) |
| void | SetFootnotesSetting (StructuredOutputOptions::SectionConversionSetting option) |
| StructuredOutputOptions::SectionConversionSetting | GetHeadersAndFootersSetting () |
| StructuredOutputOptions::SectionConversionSetting | GetFootnotesSetting () |
Protected Attributes | |
| TRN_Obj | m_obj |
| SDF::ObjSet | m_objset |
Friends | |
| class | Convert |
A class containing options common to ToPowerPoint functions
| pdftron::PDF::PowerPointOutputOptions::PowerPointOutputOptions | ( | ) |
Creates a PowerPointOutputOptions object with default settings.
| StructuredOutputOptions::SectionConversionSetting pdftron::PDF::PowerPointOutputOptions::GetFootnotesSetting | ( | ) |
Get the setting for footnotes from this options object.
| StructuredOutputOptions::SectionConversionSetting pdftron::PDF::PowerPointOutputOptions::GetHeadersAndFootersSetting | ( | ) |
Get the setting for headers and footers from this options object.
| void pdftron::PDF::PowerPointOutputOptions::SetCustomOCRLanguage | ( | const UString & | ocrlang | ) |
Specifies the custom OCR languages to use.
| ocrlang | the OCR language(s). |
| void pdftron::PDF::PowerPointOutputOptions::SetFootnotesSetting | ( | StructuredOutputOptions::SectionConversionSetting | option | ) |
Specifies how footnotes should be converted. Default is e_Recover, which will include them as footnotes.
| option | The footnote setting. |
| void pdftron::PDF::PowerPointOutputOptions::SetHeadersAndFootersSetting | ( | StructuredOutputOptions::SectionConversionSetting | option | ) |
Specifies how header and footers should be converted. Default is e_Recover, which will include them as headers and footers.
| option | The header and footer setting. |
| void pdftron::PDF::PowerPointOutputOptions::SetLanguage | ( | OutputOptionsOCR::LanguageChoice | language | ) |
Specifies the OCR language. Default is automatic language detection.
| language | the OCR language. |
| void pdftron::PDF::PowerPointOutputOptions::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::PowerPointOutputOptions::SetPDFPassword | ( | const UString & | password | ) |
| void pdftron::PDF::PowerPointOutputOptions::SetPreferredOCREngine | ( | OutputOptionsOCR::PreferredOCREngine | engine | ) |
Specifies preferred OCR engine.
| engine | The PreferredOCREngine to OCR. |
| void pdftron::PDF::PowerPointOutputOptions::SetSearchableImageSetting | ( | SearchableImageSetting | setting | ) |
Specifies how scanned image pages should be converted. Default is e_ocr_text.
| setting | the searchable image setting. |
| void pdftron::PDF::PowerPointOutputOptions::SetTextRecoveryNSE | ( | bool | use_ocr | ) |
Specifies whether to use OCR in order to automatically recover text with a non-standard encoding. Default is true.
| use_ocr | If true, problem characters are automatically recovered using OCR. If false, no automatic repair is performed. |
|
protected |
|
protected |