Foxit PDF Conversion SDK
foxit::conversion::pdf2office::PDF2ExcelSettingData Class Reference

Inherits Object.

Public Member Functions

 PDF2ExcelSettingData ()
 Constructor.
 
 PDF2ExcelSettingData (String decimal_symbol, String thousands_separator)
 Constructor, with parameters. More...
 
PDF2ExcelSettingDataoperator= (const PDF2ExcelSettingData &data)
 Assign operator. More...
 
void Set (String decimal_symbol, String thousands_separator)
 Set value. More...
 

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ PDF2ExcelSettingData()

foxit::conversion::pdf2office::PDF2ExcelSettingData::PDF2ExcelSettingData ( String  decimal_symbol,
String  thousands_separator 
)
inline

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.

Member Function Documentation

◆ operator=()

PDF2ExcelSettingData& foxit::conversion::pdf2office::PDF2ExcelSettingData::operator= ( const PDF2ExcelSettingData data)
inline

Assign operator.

Parameters
[in]dataAnother PDF-to-Excel setting data object, whose value would be assigned to current object.
Returns
Reference to current object itself.

◆ Set()

void foxit::conversion::pdf2office::PDF2ExcelSettingData::Set ( String  decimal_symbol,
String  thousands_separator 
)
inline

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.
Returns
None.

Member Data Documentation

◆ decimal_symbol

String foxit::conversion::pdf2office::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.

◆ thousands_separator

String foxit::conversion::pdf2office::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.