Foxit PDF SDK
FSDK.PDF2MdSettingData Class Reference

Public Attributes

 enable_bold
 Whether to preserve bold formatting from the original PDF. Default: false. More...
 
 enable_italic
 Whether to preserve italic formatting from the original PDF. Default: true. More...
 
 include_header_footer
 Whether to include page header/footer (artifact) content. Default: false. More...
 
 skip_ocr_pages
 Whether to silently skip pages that contain only path/image objects. Default: false. More...
 
 table_format
 Table output format. Default value: FSDK.PDF2MdSettingData._TableFormatMarkdown. More...
 

Static Public Attributes

static _TableFormatHTML
 Table format: HTML table tags.
 
static _TableFormatMarkdown
 Table format: Markdown pipe syntax.
 

Detailed Description

This class represents setting data used for converting PDF documents to Markdown format.

Member Data Documentation

◆ enable_bold

FSDK.PDF2MdSettingData.enable_bold

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.

◆ enable_italic

FSDK.PDF2MdSettingData.enable_italic

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.

◆ include_header_footer

FSDK.PDF2MdSettingData.include_header_footer

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.

◆ skip_ocr_pages

FSDK.PDF2MdSettingData.skip_ocr_pages

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.

◆ table_format

FSDK.PDF2MdSettingData.table_format

Table output format. Default value: FSDK.PDF2MdSettingData._TableFormatMarkdown.

Please refer to values starting from FSDK.PDF2MdSettingData._TableFormatMarkdown and this should be one of these values.