Foxit PDF SDK
FSDK.PDF2ExcelSettingData Class Reference

Public Member Functions

 constructor (decimal_symbol, thousands_separator, workbook_settings, enable_aggressive_table_repair, include_watermarks)
 Constructor, with parameters. More...
 
 Set (decimal_symbol, thousands_separator, workbook_settings, enable_aggressive_table_repair, include_watermarks)
 Set value. More...
 

Public Attributes

 decimal_symbol
 A string value which indicates being recognized as decimal during the conversion of PDF documents to excel format documents. More...
 
 enable_aggressive_table_repair
 A boolean value that indicates whether aggressive table repair is enabled during the conversion of PDF documents to Excel format documents. Default value: true. More...
 
 include_watermarks
 A boolean value that indicates whether to include watermarks during the conversion of PDF documents to Excel format documents. Default value: false. More...
 
 thousands_separator
 A string value which indicates being recognized as thousands separator during the conversion of PDF documents to excel format documents. More...
 
 workbook_settings
 An enumeration value which indicates the setting of the workbook for the conversion of PDF documents to Excel format documents. More...
 

Static Public Attributes

static e_WorkbookSettingsDocument
 Enumeration for Excel workbook settings. More...
 
static e_WorkbookSettingsEachPage
 Create worksheet for each page.
 
static e_WorkbookSettingsEachTable
 Create worksheet for each table.
 

Member Function Documentation

◆ constructor()

FSDK.PDF2ExcelSettingData.constructor ( decimal_symbol  ,
thousands_separator  ,
workbook_settings  ,
enable_aggressive_table_repair  ,
include_watermarks   
)

Constructor, with parameters.

Parameters
[in]decimal_symbolA string value which indicates being recognized as decimal during the conversion of PDF documents to excel format documents.
[in]thousands_separatorA string value which indicates being recognized as thousands separator during the conversion of PDF documents to excel format documents.
[in]workbook_settingsAn enumeration value which indicates the setting of the workbook for the conversion of PDF documents to Excel format documents.
[in]enable_aggressive_table_repairA boolean value that indicates whether to enabled aggressive table repair during the conversion of PDF documents to Excel format documents. Default value: true. true means to enabled aggressive table repair for the conversion of PDF documents to Excel format documents. false means not to enabled aggressive table repair for the conversion of PDF documents to Excel format documents.
[in]include_watermarksA boolean value that indicates whether to include the watermarks during the conversion of PDF documents to Excel format documents. Default value: false. true means to include watermarks for the conversion of PDF documents to Excel format documents. false means not to include watermarks for the conversion of PDF documents to Excel format documents.

◆ Set()

Set value.

Parameters
[in]decimal_symbolA string value which indicates being recognized as decimal during the conversion of PDF documents to excel format documents.
[in]thousands_separatorA string value which indicates being recognized as thousands separator during the conversion of PDF documents to excel format documents.
[in]workbook_settingsAn enumeration value which indicates the setting of the workbook for the conversion of PDF documents to Excel format documents.
[in]enable_aggressive_table_repairA boolean value that indicates whether to enabled aggressive table repair during the conversion of PDF documents to Excel format documents. Default value: true. true means to enabled aggressive table repair for the conversion of PDF documents to Excel format documents. false means not to enabled aggressive table repair for the conversion of PDF documents to Excel format documents.
[in]include_watermarksA boolean value that indicates whether to include the watermarks during the conversion of PDF documents to Excel format documents. Default value: false. true means to include watermarks for the conversion of PDF documents to Excel format documents. false means not to include watermarks for the conversion of PDF documents to Excel format documents.
Returns
None.

Member Data Documentation

◆ decimal_symbol

FSDK.PDF2ExcelSettingData.decimal_symbol

A string value which indicates being recognized as decimal during the conversion of PDF documents to excel format documents.

The decimal symbol is used to separate the integer part and the decimal part of a number. If this parameter is set to ".", then the number "123.456" will be recognized as 123.456. If this parameter is set to ",", then the number "123,456" will be recognized as 123.456. If this parameter is not set, the decimal symbol will be recognized automatically.

Note
Currently, this parameter is only useful for cells with only numbers and separators. The value of this parameter must be different from the value of parameter thousands_separator. To ensure the correct recognition of the decimal symbol, this parameter should be set together with parameter thousands_separator.

◆ e_WorkbookSettingsDocument

FSDK.PDF2ExcelSettingData.e_WorkbookSettingsDocument
static

Enumeration for Excel workbook settings.

Values of this enumeration should be used alone.

Create single worksheet for the document.

◆ enable_aggressive_table_repair

FSDK.PDF2ExcelSettingData.enable_aggressive_table_repair

A boolean value that indicates whether aggressive table repair is enabled during the conversion of PDF documents to Excel format documents. Default value: true.

true means to enabled aggressive table repair for the conversion of PDF documents to Excel format documents. false means not to enabled aggressive table repair for the conversion of PDF documents to Excel format documents. When enabled, this option attempts to preserve the integrity of tables and avoid breaking the table structure. It works by moving overlapping elements to proper boundaries, ensuring that cells, rows, and columns remain correctly aligned in the resulting Excel sheet.

◆ include_watermarks

FSDK.PDF2ExcelSettingData.include_watermarks

A boolean value that indicates whether to include watermarks during the conversion of PDF documents to Excel format documents. Default value: false.

true means to include watermarks for the conversion of PDF documents to Excel format documents. false means not to include watermarks for the conversion of PDF documents to Excel format documents. If this option is enabled, watermarks of PDF documents will be added to the Excel worksheet during the conversion of PDF documents to Excel format documents. Note that the watermark may overlap worksheet content. Certain cells, such as headers or the region column, might be converted to text boxes and may not be directly editable until the watermark is removed or adjusted.

◆ thousands_separator

FSDK.PDF2ExcelSettingData.thousands_separator

A string value which indicates being recognized as thousands separator during the conversion of PDF documents to excel format documents.

The thousands separator is used to separate the thousands part of a number. If this parameter is set to ",", then the number "123,456" will be recognized as 123456. If this parameter is set to ".", then the number "123.456" will be recognized as 123456. If this parameter is set to " ", then the number "123 456" will be recognized as 123456. If this parameter is not set, the thousands separator will be recognized automatically.

Note
Currently, this parameter is only useful for cells with only numbers and separators. The value of this parameter must be different from the value of parameter decimal_symbol. To ensure the correct recognition of the thousands separator, this parameter should be set together with parameter decimal_symbol.

◆ workbook_settings

FSDK.PDF2ExcelSettingData.workbook_settings

An enumeration value which indicates the setting of the workbook for the conversion of PDF documents to Excel format documents.

Please refer to values starting from FSDK.PDF2ExcelSettingData.e_WorkbookSettingsDocument and this should be one of these values. Default value: FSDK.PDF2ExcelSettingData.e_WorkbookSettingsEachPage.