Foxit PDF SDK
|
Public Member Functions | |
HTML2PDFSettingData () | |
Constructor. | |
HTML2PDFSettingData (float page_width, float page_height, boolean is_to_page_scale, RectF page_margin, boolean is_convert_link, int rotate_degrees, boolean is_generate_tag, int page_mode, boolean to_generate_bookmarks, int scaling_mode, int encoding_format, boolean to_render_images, boolean to_remove_underline_for_link, boolean to_set_headerfooter, String headerfooter_title, String headerfooter_url, String bookmark_root_name, boolean to_resize_objects, boolean to_print_background, boolean to_optimize_tag_tree, int media_style, boolean to_load_active_content) | |
Constructor, with parameters. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
String | getBookmark_root_name () |
Get the bookmark's root name. More... | |
int | getEncoding_format () |
Get the HTML encoding format Please refer to values starting from HTML2PDFEncodingFormat::e_EncodingFormatDefault and this should be one of these values. More... | |
String | getHeaderfooter_title () |
Get the header-footer title which is content for center header. More... | |
String | getHeaderfooter_url () |
Get the header-footer url which is content for left footer. More... | |
boolean | getIs_convert_link () |
Get used to decide whether the web link should be converted or not. More... | |
boolean | getIs_generate_tag () |
Get used to decide whether the tag should be generated or not. More... | |
boolean | getIs_to_page_scale () |
Get used to decide whether to scale the converted PDF page or not. More... | |
int | getMedia_style () |
Get the media style used for the converted PDF document. More... | |
float | getPage_height () |
Get the page height used for the converted PDF document. More... | |
RectF | getPage_margin () |
Get the page margin used for converted PDF document. More... | |
int | getPage_mode () |
Get the page mode used for the converting. More... | |
float | getPage_width () |
Get the page width used for the converted PDF document. More... | |
int | getRotate_degrees () |
Get the rotation degree used for the converted PDF page. More... | |
int | getScaling_mode () |
Get the scaling mode used for the converted PDF document. More... | |
boolean | getTo_generate_bookmarks () |
Get used to decide whether bookmarks should be generated or not. More... | |
boolean | getTo_load_active_content () |
Get used to decide whether to load active content or not. More... | |
boolean | getTo_optimize_tag_tree () |
Get used to decide whether to optimize tag tree or not. More... | |
boolean | getTo_print_background () |
Get used to decide whether to print background or not. More... | |
boolean | getTo_remove_underline_for_link () |
Get used to decide whether to remove underline decoration for link. More... | |
boolean | getTo_render_images () |
Get used to decide whether to render images or not. More... | |
boolean | getTo_resize_objects () |
Get whether to enable the Javascripts related resizing of the objects during rendering process. More... | |
boolean | getTo_set_headerfooter () |
Get used to decide whether to set header-footer or not. More... | |
void | set (float page_width, float page_height, boolean is_to_page_scale, RectF page_margin, boolean is_convert_link, int rotate_degrees, boolean is_generate_tag, int page_mode, boolean to_generate_bookmarks, int scaling_mode, int encoding_format, boolean to_render_images, boolean to_remove_underline_for_link, boolean to_set_headerfooter, String headerfooter_title, String headerfooter_url, String bookmark_root_name, boolean to_resize_objects, boolean to_print_background, boolean to_optimize_tag_tree, int media_style, boolean to_load_active_content) |
Set value. More... | |
void | setBookmark_root_name (String value) |
Set the bookmark's root name. More... | |
void | setEncoding_format (int value) |
Set the HTML encoding format Please refer to values starting from HTML2PDFEncodingFormat::e_EncodingFormatDefault and this should be one of these values. More... | |
void | setHeaderfooter_title (String value) |
Set the header-footer title which is content for center header. More... | |
void | setHeaderfooter_url (String value) |
Set the header-footer url which is content for left footer. More... | |
void | setIs_convert_link (boolean value) |
Set used to decide whether the web link should be converted or not. More... | |
void | setIs_generate_tag (boolean value) |
Set used to decide whether the tag should be generated or not. More... | |
void | setIs_to_page_scale (boolean value) |
Set used to decide whether to scale the converted PDF page or not. More... | |
void | setMedia_style (int value) |
Set the media style used for the converted PDF document. More... | |
void | setPage_height (float value) |
Set the page height used for the converted PDF document. More... | |
void | setPage_margin (RectF value) |
Set the page margin used for converted PDF document. More... | |
void | setPage_mode (int value) |
Set the page mode used for the converting. More... | |
void | setPage_width (float value) |
Set the page width used for the converted PDF document. More... | |
void | setRotate_degrees (int value) |
Set the rotation degree used for the converted PDF page. More... | |
void | setScaling_mode (int value) |
Set the scaling mode used for the converted PDF document. More... | |
void | setTo_generate_bookmarks (boolean value) |
Set used to decide whether bookmarks should be generated or not. More... | |
void | setTo_load_active_content (boolean value) |
Set used to decide whether to load active content or not. More... | |
void | setTo_optimize_tag_tree (boolean value) |
Set used to decide whether to optimize tag tree or not. More... | |
void | setTo_print_background (boolean value) |
Set used to decide whether to print background or not. More... | |
void | setTo_remove_underline_for_link (boolean value) |
Set used to decide whether to remove underline decoration for link. More... | |
void | setTo_render_images (boolean value) |
Set used to decide whether to render images or not. More... | |
void | setTo_resize_objects (boolean value) |
Set whether to enable the Javascripts related resizing of the objects during rendering process. More... | |
void | setTo_set_headerfooter (boolean value) |
Set used to decide whether to set header-footer or not. More... | |
Static Public Attributes | |
static final int | e_EncodingFormatArabic = 8 |
Encoding foramt: "Arabic". | |
static final int | e_EncodingFormatASCII = 1 |
Encoding foramt: "ASCII". | |
static final int | e_EncodingFormatASCII_7_bit = 22 |
Encoding foramt: "ASCII-7-bit". | |
static final int | e_EncodingFormatBHASKAR = 54 |
Encoding foramt: "BHASKAR". | |
static final int | e_EncodingFormatBIG5 = 14 |
Encoding foramt: "BIG5". | |
static final int | e_EncodingFormatBIG5_CP950 = 21 |
Encoding foramt: "BIG5-CP950". | |
static final int | e_EncodingFormatBIG5_HKSCS = 46 |
Encoding foramt: "BIG5_HKSCS". | |
static final int | e_EncodingFormatCNS = 20 |
Encoding foramt: "CNS". | |
static final int | e_EncodingFormatCP1250 = 28 |
Encoding foramt: "CP1250". | |
static final int | e_EncodingFormatCP1251 = 29 |
Encoding foramt: "CP1251". | |
static final int | e_EncodingFormatCP1252 = 30 |
Encoding foramt: "CP1252". | |
static final int | e_EncodingFormatCP1253 = 31 |
Encoding foramt: "CP1253". | |
static final int | e_EncodingFormatCP1254 = 32 |
Encoding foramt: "CP1254". | |
static final int | e_EncodingFormatCP1255 = 33 |
Encoding foramt: "CP1255". | |
static final int | e_EncodingFormatCP1256 = 34 |
Encoding foramt: "CP1256". | |
static final int | e_EncodingFormatCP1257 = 35 |
Encoding foramt: "CP1257". | |
static final int | e_EncodingFormatCP852 = 24 |
Encoding foramt: "CP852". | |
static final int | e_EncodingFormatCP866 = 25 |
Encoding foramt: "CP866". | |
static final int | e_EncodingFormatCP874 = 26 |
Encoding foramt: "CP874". | |
static final int | e_EncodingFormatCP932 = 27 |
Encoding foramt: "CP932". | |
static final int | e_EncodingFormatCSN_369103 = 41 |
Encoding foramt: "CSN_369103". | |
static final int | e_EncodingFormatDefault = 0 |
Encoding foramt: Default.The encoding format will be automatically detected in chromium. | |
static final int | e_EncodingFormatEUC = 19 |
Encoding foramt: "EUC". | |
static final int | e_EncodingFormatEUC_CN = 16 |
Encoding foramt: "EUC-CN". | |
static final int | e_EncodingFormatEUC_JP = 11 |
Encoding foramt: "EUC-JP". | |
static final int | e_EncodingFormatGB = 15 |
Encoding foramt: "GB". | |
static final int | e_EncodingFormatGB18030 = 45 |
Encoding foramt: "GB18030". | |
static final int | e_EncodingFormatGBK = 44 |
Encoding foramt: "GBK". | |
static final int | e_EncodingFormatGreek = 9 |
Encoding foramt: "Greek". | |
static final int | e_EncodingFormatHebrew = 10 |
Encoding foramt: "Hebrew". | |
static final int | e_EncodingFormatHTCHANAKYA = 55 |
Encoding foramt: "HTCHANAKYA". | |
static final int | e_EncodingFormatHZ_GB_2312 = 61 |
Encoding foramt: "HZ-GB-2312". | |
static final int | e_EncodingFormatISO_2022_CN = 47 |
Encoding foramt: "ISO_2022_CN". | |
static final int | e_EncodingFormatISO_2022_KR = 43 |
Encoding foramt: "ISO-2022-KR". | |
static final int | e_EncodingFormatISO_8859_11 = 38 |
Encoding foramt: "ISO-8859-11". | |
static final int | e_EncodingFormatISO_8859_13 = 42 |
Encoding foramt: "ISO-8859-13". | |
static final int | e_EncodingFormatISO_8859_15 = 37 |
Encoding foramt: "ISO-8859-15". | |
static final int | e_EncodingFormatISO_8859_5 = 7 |
Encoding foramt: "ISO-8859-5". | |
static final int | e_EncodingFormatISO_8859_8_I = 39 |
Encoding foramt: "ISO-8859-8-I". | |
static final int | e_EncodingFormatJAGRAN = 51 |
Encoding foramt: "JAGRAN". | |
static final int | e_EncodingFormatJIS = 13 |
Encoding foramt: "JIS". | |
static final int | e_EncodingFormatKOI8R = 23 |
Encoding foramt: "KOI8R". | |
static final int | e_EncodingFormatKOI8U = 36 |
Encoding foramt: "KOI8U". | |
static final int | e_EncodingFormatKSC = 17 |
Encoding foramt: "KSC". | |
static final int | e_EncodingFormatLatin2 = 2 |
Encoding foramt: "Latin2". | |
static final int | e_EncodingFormatLatin3 = 3 |
Encoding foramt: "Latin3". | |
static final int | e_EncodingFormatLatin4 = 4 |
Encoding foramt: "Latin4". | |
static final int | e_EncodingFormatLatin5 = 5 |
Encoding foramt: "Latin5". | |
static final int | e_EncodingFormatLatin6 = 6 |
Encoding foramt: "Latin6". | |
static final int | e_EncodingFormatMACINTOSH = 52 |
Encoding foramt: "MACINTOSH". | |
static final int | e_EncodingFormatSJS = 12 |
Encoding foramt: "SJS". | |
static final int | e_EncodingFormatTAB = 50 |
Encoding foramt: "TAB". | |
static final int | e_EncodingFormatTAM = 49 |
Encoding foramt: "TAM". | |
static final int | e_EncodingFormatTSCII = 48 |
Encoding foramt: "TSCII". | |
static final int | e_EncodingFormatUnicode = 18 |
Encoding foramt: "Unicode". | |
static final int | e_EncodingFormatUTF7 = 53 |
Encoding foramt: "UTF7". | |
static final int | e_EncodingFormatUTF_16BE = 56 |
Encoding foramt: "UTF-16BE". | |
static final int | e_EncodingFormatUTF_16LE = 57 |
Encoding foramt: "UTF-16LE". | |
static final int | e_EncodingFormatUTF_32BE = 58 |
Encoding foramt: "UTF-32BE". | |
static final int | e_EncodingFormatUTF_32LE = 59 |
Encoding foramt: "UTF-32LE". | |
static final int | e_EncodingFormatVISUAL = 40 |
Encoding foramt: "VISUAL". | |
static final int | e_EncodingFormatX_BINARYENC = 60 |
Encoding foramt: "X-BINARYENC". | |
static final int | e_EncodingFormatX_DoCoMo_Shift_JIS = 70 |
Encoding foramt: "X-DoCoMo-Shift_JIS". | |
static final int | e_EncodingFormatX_KDDI_ISO_2022_JP = 72 |
Encoding foramt: "X-KDDI-ISO-2022-JP". | |
static final int | e_EncodingFormatX_KDDI_Shift_JIS = 69 |
Encoding foramt: "X-KDDI-Shift_JIS". | |
static final int | e_EncodingFormatX_SoftBank_ISO_2022_JP = 73 |
Encoding foramt: "X-SoftBank-ISO-2022-JP". | |
static final int | e_EncodingFormatX_SoftBank_Shift_JIS = 71 |
Encoding foramt: "X-SoftBank-Shift_JIS". | |
static final int | e_EncodingFormatX_TAM_ELANGO = 63 |
Encoding foramt: "X-TAM-ELANGO". | |
static final int | e_EncodingFormatX_TAM_LTTMBARANI = 64 |
Encoding foramt: "X-TAM-LTTMBARANI". | |
static final int | e_EncodingFormatX_TAM_SHREE = 65 |
Encoding foramt: "X-TAM-SHREE". | |
static final int | e_EncodingFormatX_TAM_TBOOMIS = 66 |
Encoding foramt: "X-TAM-TBOOMIS". | |
static final int | e_EncodingFormatX_TAM_TMNEWS = 67 |
Encoding foramt: "X-TAM-TMNEWS". | |
static final int | e_EncodingFormatX_TAM_WEBTAMIL = 68 |
Encoding foramt: "X-TAM-WEBTAMIL". | |
static final int | e_EncodingFormatX_UTF8UTF8 = 62 |
Encoding foramt: "X-UTF8UTF8". | |
static final int | e_MediaStylePrint = 1 |
Media style: print. It means PDF page will be displayed in print media style. | |
static final int | e_MediaStyleScreen = 0 |
Media style: screen. It means PDF page will be displayed in screen media style. | |
static final int | e_PageModeMultiplePage = 1 |
Multiple page mode. | |
static final int | e_PageModeSinglePage = 0 |
Single page mode. | |
static final int | e_ScalingModeEnlarge = 2 |
Page scaling: Enlarge. It means PDF page will be enlarged to HTML content size. | |
static final int | e_ScalingModeNone = 0 |
Scaling mode: Fixed page with no scale. | |
static final int | e_ScalingModeScale = 1 |
Page scaling: Scale. It means HTML content will be scaled to fit PDF page size. | |
This class represents setting data used for converting HTML to PDF.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.HTML2PDFSettingData | ( | float | page_width, |
float | page_height, | ||
boolean | is_to_page_scale, | ||
RectF | page_margin, | ||
boolean | is_convert_link, | ||
int | rotate_degrees, | ||
boolean | is_generate_tag, | ||
int | page_mode, | ||
boolean | to_generate_bookmarks, | ||
int | scaling_mode, | ||
int | encoding_format, | ||
boolean | to_render_images, | ||
boolean | to_remove_underline_for_link, | ||
boolean | to_set_headerfooter, | ||
String | headerfooter_title, | ||
String | headerfooter_url, | ||
String | bookmark_root_name, | ||
boolean | to_resize_objects, | ||
boolean | to_print_background, | ||
boolean | to_optimize_tag_tree, | ||
int | media_style, | ||
boolean | to_load_active_content | ||
) |
Constructor, with parameters.
[in] | page_width | The page width used for the converted PDF document. |
[in] | page_height | The page height used for the converted PDF document. This would be ignored if page mode com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_PageModeSinglePage is used. |
[in] | is_to_page_scale | (Deprecated)Used to decide whether to scale the converted PDF page or not. |
[in] | page_margin | The page margin used for converted PDF document. |
[in] | is_convert_link | Used to decide whether the web link should be converted or not. |
[in] | rotate_degrees | The rotation degree used for the converted PDF page.Please refer to values starting from com.foxit.sdk.common.Constants.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 com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_PageModeSinglePage and this should be one of these values. |
[in] | to_generate_bookmarks | Used to decide whether bookmarks should be generated or not. |
[in] | scaling_mode | The scaling mode used for the converted PDF document. Please refer to values starting from com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_ScalingModeNone and this should be one of these values. |
[in] | encoding_format | The HTML encoding format Please refer to values starting from HTML2PDFEncodingFormat::e_EncodingFormatDefault and this should be one of these values. |
[in] | to_render_images | Whether to render images or not. |
[in] | to_remove_underline_for_link | Whether to remove underline decoration for link or not. |
[in] | to_set_headerfooter | Whether to set header-footer or not. |
[in] | headerfooter_title | The header-footer title which is content for center header. |
[in] | headerfooter_url | The header-footer url which is content for left footer. |
[in] | bookmark_root_name | The bookmark's root name. |
[in] | to_resize_objects | Whether to enable the Javascripts related resizing of the objects during rendering process. |
[in] | to_print_background | Whether to print background or not. |
[in] | to_optimize_tag_tree | Whether to optimize tag tree or not. |
[in] | media_style | The media style used for the converted PDF document. Please refer to values starting from com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_MediaStyleScreen and this should be one of these values. |
[in] | to_load_active_content | Whether to load active content or not. |
synchronized void com.foxit.sdk.addon.conversion.HTML2PDFSettingData.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getBookmark_root_name | ( | ) |
Get the bookmark's root name.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getEncoding_format | ( | ) |
Get the HTML encoding format Please refer to values starting from HTML2PDFEncodingFormat::e_EncodingFormatDefault and this should be one of these values.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getHeaderfooter_title | ( | ) |
Get the header-footer title which is content for center header.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getHeaderfooter_url | ( | ) |
Get the header-footer url which is content for left footer.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getIs_convert_link | ( | ) |
Get used to decide whether the web link should be converted or not.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getIs_generate_tag | ( | ) |
Get used to decide whether the tag should be generated or not.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getIs_to_page_scale | ( | ) |
Get used to decide whether to scale the converted PDF page or not.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getMedia_style | ( | ) |
Get the media style used for the converted PDF document.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getPage_height | ( | ) |
Get the page height used for the converted PDF document.
This value minus the sum of the top and bottom margins must be bigger than 16.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getPage_margin | ( | ) |
Get the page margin used for converted PDF document.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getPage_mode | ( | ) |
Get the page mode used for the converting.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getPage_width | ( | ) |
Get the page width used for the converted PDF document.
This value minus the sum of the left and right margins must be bigger than 16.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getRotate_degrees | ( | ) |
Get the rotation degree used for the converted PDF page.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getScaling_mode | ( | ) |
Get the scaling mode used for the converted PDF document.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getTo_generate_bookmarks | ( | ) |
Get used to decide whether bookmarks should be generated or not.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getTo_load_active_content | ( | ) |
Get used to decide whether to load active content or not.
This parameter is useful for some optimized web pages. These web page will not load the entire content. When the user scrolls down the page, the contents of the web page will be loaded when they are displayed on the user screen. true means to load the active content that has not been loaded by the web page, and false means not.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getTo_optimize_tag_tree | ( | ) |
Get used to decide whether to optimize tag tree or not.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getTo_print_background | ( | ) |
Get used to decide whether to print background or not.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getTo_remove_underline_for_link | ( | ) |
Get used to decide whether to remove underline decoration for link.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getTo_render_images | ( | ) |
Get used to decide whether to render images or not.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getTo_resize_objects | ( | ) |
Get whether to enable the Javascripts related resizing of the objects during rendering process.
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.getTo_set_headerfooter | ( | ) |
Get used to decide whether to set header-footer or not.
void com.foxit.sdk.addon.conversion.HTML2PDFSettingData.set | ( | float | page_width, |
float | page_height, | ||
boolean | is_to_page_scale, | ||
RectF | page_margin, | ||
boolean | is_convert_link, | ||
int | rotate_degrees, | ||
boolean | is_generate_tag, | ||
int | page_mode, | ||
boolean | to_generate_bookmarks, | ||
int | scaling_mode, | ||
int | encoding_format, | ||
boolean | to_render_images, | ||
boolean | to_remove_underline_for_link, | ||
boolean | to_set_headerfooter, | ||
String | headerfooter_title, | ||
String | headerfooter_url, | ||
String | bookmark_root_name, | ||
boolean | to_resize_objects, | ||
boolean | to_print_background, | ||
boolean | to_optimize_tag_tree, | ||
int | media_style, | ||
boolean | to_load_active_content | ||
) |
Set value.
[in] | page_width | The page width used for the converted PDF document. |
[in] | page_height | The page height used for the converted PDF document. This would be ignored if page mode com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_PageModeSinglePage is used. |
[in] | is_to_page_scale | (Deprecated)Used to decide whether to scale the converted PDF page or not. |
[in] | page_margin | The page margin used for converted PDF document. |
[in] | is_convert_link | Used to decide whether the web link should be converted or not. |
[in] | rotate_degrees | The rotation degree used for the converted PDF page.Please refer to values starting from com.foxit.sdk.common.Constants.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 com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_PageModeSinglePage and this should be one of these values. |
[in] | to_generate_bookmarks | Used to decide whether bookmarks should be generated or not. |
[in] | scaling_mode | The scaling mode used for the converted PDF document. Please refer to values starting from com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_ScalingModeNone and this should be one of these values. |
[in] | encoding_format | The HTML encoding format Please refer to values starting from HTML2PDFEncodingFormat::e_EncodingFormatDefault and this should be one of these values. |
[in] | to_render_images | Whether to render images or not. |
[in] | to_remove_underline_for_link | Whether to remove underline decoration for link or not. |
[in] | to_set_headerfooter | Whether to set header-footer or not. |
[in] | headerfooter_title | The header-footer title which is content for center header. |
[in] | headerfooter_url | The header-footer url which is content for left footer. |
[in] | bookmark_root_name | The bookmark's root name. |
[in] | to_resize_objects | Whether to enable the Javascripts related resizing of the objects during rendering process. |
[in] | to_print_background | Whether to print background or not. |
[in] | to_optimize_tag_tree | Whether to optimize tag tree or not. |
[in] | media_style | The media style used for the converted PDF document. Please refer to values starting from com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_MediaStyleScreen and this should be one of these values. |
[in] | to_load_active_content | Whether to load active content or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setBookmark_root_name | ( | String | value | ) |
Set the bookmark's root name.
[in] | value | The bookmark's root name. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setEncoding_format | ( | int | value | ) |
Set the HTML encoding format Please refer to values starting from HTML2PDFEncodingFormat::e_EncodingFormatDefault and this should be one of these values.
[in] | value | The HTML encoding format Please refer to values starting from HTML2PDFEncodingFormat::e_EncodingFormatDefault and this should be one of these values. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setHeaderfooter_title | ( | String | value | ) |
Set the header-footer title which is content for center header.
[in] | value | The header-footer title which is content for center header. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setHeaderfooter_url | ( | String | value | ) |
Set the header-footer url which is content for left footer.
[in] | value | The header-footer url which is content for left footer. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setIs_convert_link | ( | boolean | value | ) |
Set used to decide whether the web link should be converted or not.
[in] | value | Used to decide whether the web link should be converted or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setIs_generate_tag | ( | boolean | value | ) |
Set used to decide whether the tag should be generated or not.
[in] | value | Used to decide whether the tag should be generated or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setIs_to_page_scale | ( | boolean | value | ) |
Set used to decide whether to scale the converted PDF page or not.
[in] | value | Used to decide whether to scale the converted PDF page or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setMedia_style | ( | int | value | ) |
Set the media style used for the converted PDF document.
[in] | value | The media style used for the converted PDF document. Please refer to values starting from com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_MediaStyleScreen and this should be one of these values. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setPage_height | ( | float | value | ) |
Set the page height used for the converted PDF document.
This value minus the sum of the top and bottom margins must be bigger than 16.
[in] | value | The page height used for the converted PDF document. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setPage_margin | ( | RectF | value | ) |
Set the page margin used for converted PDF document.
[in] | value | The page margin used for converted PDF document. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setPage_mode | ( | int | value | ) |
Set the page mode used for the converting.
[in] | value | The page mode used for the converting. Please refer to values starting from com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_PageModeSinglePage and this should be one of these values. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setPage_width | ( | float | value | ) |
Set the page width used for the converted PDF document.
This value minus the sum of the left and right margins must be bigger than 16.
[in] | value | The page width used for the converted PDF document. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setRotate_degrees | ( | int | value | ) |
Set the rotation degree used for the converted PDF page.
[in] | value | The rotation degree used for the converted PDF page.Please refer to values starting from com.foxit.sdk.common.Constants.e_Rotation0 and this should be one of these values. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setScaling_mode | ( | int | value | ) |
Set the scaling mode used for the converted PDF document.
[in] | value | The scaling mode used for the converted PDF document. Please refer to values starting from com.foxit.sdk.addon.conversion.HTML2PDFSettingData.e_ScalingModeNone and this should be one of these values. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setTo_generate_bookmarks | ( | boolean | value | ) |
Set used to decide whether bookmarks should be generated or not.
[in] | value | Used to decide whether bookmarks should be generated or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setTo_load_active_content | ( | boolean | value | ) |
Set used to decide whether to load active content or not.
This parameter is useful for some optimized web pages. These web page will not load the entire content. When the user scrolls down the page, the contents of the web page will be loaded when they are displayed on the user screen. true means to load the active content that has not been loaded by the web page, and false means not.
[in] | value | Used to decide whether to load active content or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setTo_optimize_tag_tree | ( | boolean | value | ) |
Set used to decide whether to optimize tag tree or not.
[in] | value | Used to decide whether to optimize tag tree or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setTo_print_background | ( | boolean | value | ) |
Set used to decide whether to print background or not.
[in] | value | Used to decide whether to print background or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setTo_remove_underline_for_link | ( | boolean | value | ) |
Set used to decide whether to remove underline decoration for link.
[in] | value | Used to decide whether to remove underline decoration for link. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setTo_render_images | ( | boolean | value | ) |
Set used to decide whether to render images or not.
[in] | value | Used to decide whether to render images or not. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setTo_resize_objects | ( | boolean | value | ) |
Set whether to enable the Javascripts related resizing of the objects during rendering process.
[in] | value | Whether to enable the Javascripts related resizing of the objects during rendering process. |
com.foxit.sdk.addon.conversion.HTML2PDFSettingData.setTo_set_headerfooter | ( | boolean | value | ) |
Set used to decide whether to set header-footer or not.
[in] | value | Used to decide whether to set header-footer or not. |