ComPDFKit Conversion C++ SDK 3.0.0
API Documentation
|
Convert options. More...
#include <base_type.h>
Public Attributes | |
bool | enable_ai_layout = true |
Whether to enable AI layout analysis during conversion. | |
bool | contain_image = true |
Whether to contain images when converting,which takes effect only when IsAllowOCR is false. | |
bool | json_contain_table = true |
Whether to contain table when convert pdf to json. | |
bool | contain_annotation = true |
Whether to contain annotations when converting. | |
bool | excel_all_content = false |
Whether to set contain all pdf content to the xlsx file. | |
bool | excel_csv_format = false |
Whether to set to save the table in csv format. | |
bool | enable_ocr = false |
Whether to use OCR. | |
bool | txt_table_format = true |
Whether format table when convert pdf to txt. | |
bool | image_path_enhance = false |
Whether to enhance the image path. | |
bool | formula_to_image = false |
Whether to convert formulas to images. | |
float | image_scaling = 1.0 |
Specify the image scaling of the image file. | |
PageLayoutMode | page_layout_mode = PageLayoutMode::e_Flow |
Specify the layout mode. | |
ExcelWorksheetOption | excel_worksheet_option = ExcelWorksheetOption::e_ForTable |
Specify the Excel worksheet option. | |
HtmlOption | html_option = HtmlOption::e_SinglePage |
Specify the Html option. | |
ImageColorMode | image_color_mode = ImageColorMode::e_Color |
Specify the image color mode of the image file. | |
ImageType | image_type = ImageType::e_JPG |
Specify the image type of the image file. | |
std::string | page_ranges |
Specify the pages to convert, e.g. "1-3,5,7-9". | |
Convert options.
bool compdfkit::base::ConvertOptions::contain_annotation = true |
Whether to contain annotations when converting.
bool compdfkit::base::ConvertOptions::contain_image = true |
Whether to contain images when converting,which takes effect only when IsAllowOCR is false.
bool compdfkit::base::ConvertOptions::enable_ai_layout = true |
Whether to enable AI layout analysis during conversion.
bool compdfkit::base::ConvertOptions::enable_ocr = false |
Whether to use OCR.
bool compdfkit::base::ConvertOptions::excel_all_content = false |
Whether to set contain all pdf content to the xlsx file.
bool compdfkit::base::ConvertOptions::excel_csv_format = false |
Whether to set to save the table in csv format.
ExcelWorksheetOption compdfkit::base::ConvertOptions::excel_worksheet_option = ExcelWorksheetOption::e_ForTable |
Specify the Excel worksheet option.
bool compdfkit::base::ConvertOptions::formula_to_image = false |
Whether to convert formulas to images.
HtmlOption compdfkit::base::ConvertOptions::html_option = HtmlOption::e_SinglePage |
Specify the Html option.
ImageColorMode compdfkit::base::ConvertOptions::image_color_mode = ImageColorMode::e_Color |
Specify the image color mode of the image file.
bool compdfkit::base::ConvertOptions::image_path_enhance = false |
Whether to enhance the image path.
float compdfkit::base::ConvertOptions::image_scaling = 1.0 |
Specify the image scaling of the image file.
ImageType compdfkit::base::ConvertOptions::image_type = ImageType::e_JPG |
Specify the image type of the image file.
bool compdfkit::base::ConvertOptions::json_contain_table = true |
Whether to contain table when convert pdf to json.
PageLayoutMode compdfkit::base::ConvertOptions::page_layout_mode = PageLayoutMode::e_Flow |
Specify the layout mode.
std::string compdfkit::base::ConvertOptions::page_ranges |
Specify the pages to convert, e.g. "1-3,5,7-9".
bool compdfkit::base::ConvertOptions::txt_table_format = true |
Whether format table when convert pdf to txt.