|
Foxit PDF SDK
|
Inherits SystemIDisposable.
Public Types | |
| enum | TableFormat { TableFormat.e_TableFormatMarkdown = 0, TableFormat.e_TableFormatHTML = 1 } |
| Enumeration for table output format in Markdown conversion. More... | |
Public Member Functions | |
| PDF2MdSettingData () | |
| Constructor. | |
| PDF2MdSettingData (PDF2MdSettingData.TableFormat table_format, bool include_header_footer, bool enable_italic, bool enable_bold, bool skip_ocr_pages) | |
| Constructor, with parameters. More... | |
| void | Set (PDF2MdSettingData.TableFormat table_format, bool include_header_footer, bool enable_italic, bool enable_bold, bool skip_ocr_pages) |
| Set value. More... | |
Properties | |
| bool | enable_bold [get, set] |
| Whether to preserve bold formatting from the original PDF. Default: false. More... | |
| bool | enable_italic [get, set] |
| Whether to preserve italic formatting from the original PDF. Default: true. More... | |
| bool | include_header_footer [get, set] |
| Whether to include page header/footer (artifact) content. Default: false. More... | |
| bool | skip_ocr_pages [get, set] |
| Whether to silently skip pages that contain only path/image objects. Default: false. More... | |
| PDF2MdSettingData.TableFormat | table_format [get, set] |
| Table output format. Default value: . More... | |
This class represents setting data used for converting PDF documents to Markdown format.
|
inline |
Constructor, with parameters.
| [in] | table_format | Table output format. Default: . |
| [in] | include_header_footer | Whether to include page header/footer content. Default: false. |
| [in] | enable_italic | Whether to apply italic markers in output. Default: true. |
| [in] | enable_bold | Whether to apply bold markers in output. Default: false. |
| [in] | skip_ocr_pages | Whether to silently skip scan-only pages. Default: false. |
|
inline |
Set value.
| [in] | table_format | Table output format. |
| [in] | include_header_footer | Whether to include page header/footer content. |
| [in] | enable_italic | Whether to apply italic markers in output. |
| [in] | enable_bold | Whether to apply bold markers in output. |
| [in] | skip_ocr_pages | Whether to silently skip scan-only pages. |
|
getset |
Whether to preserve bold formatting from the original PDF. Default: false.
When true, text that is bold in the PDF will have bold markers in output. When false, bold formatting is stripped.
|
getset |
Whether to preserve italic formatting from the original PDF. Default: true.
When true, text that is italic in the PDF will have italic markers in output. When false, italic formatting is stripped.
|
getset |
Whether to include page header/footer (artifact) content. Default: false.
true means to include header/footer text in the output Markdown. false means to skip header/footer text.
|
getset |
Whether to silently skip pages that contain only path/image objects. Default: false.
When false, such scan-only pages cause an error to be thrown. When true, such pages are skipped and conversion continues.
|
getset |
Table output format. Default value: .
Please refer to values starting from foxit.addon.conversion.pdf2md.PDF2MdSettingData.TableFormat.e_TableFormatMarkdown and this should be one of these values.