Foxit PDF SDK
|
Inherits Object.
Public Types | |
enum | HTML2PDFPageMode { e_PageModeSinglePage = 0, e_PageModeMultiplePage = 1 } |
Enumeration for page mode used for converting HTML to PDF. More... | |
Public Member Functions | |
HTML2PDFSettingData () | |
Constructor. | |
HTML2PDFSettingData (float page_width, float page_height, bool is_to_page_scale, RectF page_margin, bool is_convert_link, common::Rotation rotate_degrees, bool is_generate_tag, HTML2PDFPageMode page_mode) | |
Constructor, with parameters. More... | |
HTML2PDFSettingData & | operator= (const HTML2PDFSettingData &data) |
Assign operator. More... | |
Public Attributes | |
bool | is_convert_link |
Used to decide whether the web link should be coverted or not. | |
bool | is_generate_tag |
Used to decide whether the tag should be generated or not. | |
bool | is_to_page_scale |
Used to decide whether to scale the coverted PDF page or not. | |
float | page_height |
The page height used for the coverted PDF document. More... | |
RectF | page_margin |
The page margin used for coverted PDF document. More... | |
HTML2PDFPageMode | page_mode |
The page mode used for the converting. Please refer to values starting from HTML2PDFSettingData::e_PageModeSinglePage and this should be one of these values. | |
float | page_width |
The page width used for the coverted PDF document. | |
common::Rotation | rotate_degrees |
The rotation degree used for the coverted PDF page.Please refer to values starting from common::e_Rotation0 and this should be one of these values. | |
This class represents setting data used for converting HTML to PDF.
|
inline |
Constructor, with parameters.
[in] | page_width | The page width used for the coverted PDF document. |
[in] | page_height | The page height used for the coverted PDF document. This would be ignored if page mode HTML2PDFSettingData::e_PageModeSinglePage is used. |
[in] | is_to_page_scale | Used to decide whether to scale the coverted PDF page or not. |
[in] | page_margin | The page margin used for coverted PDF document. |
[in] | is_convert_link | Used to decide whether the web link should be coverted or not. |
[in] | rotate_degrees | The rotation degree used for the coverted PDF page.Please refer to values starting from common::e_Rotation0 and this should be one of these values. |
[in] | is_generate_tag | Used to decide whether the tag should be generated or not. |
[in] | page_mode | The page mode used for the converting.. Please refer to values starting from HTML2PDFSettingData::e_PageModeSinglePage and this should be one of these values. |
|
inline |
Assign operator.
[in] | data | Another HTML-to-pdf setting data object, whose value would be assigned to current object. |
float foxit::addon::conversion::HTML2PDFSettingData::page_height |
The page height used for the coverted PDF document.
RectF foxit::addon::conversion::HTML2PDFSettingData::page_margin |
The page margin used for coverted PDF document.