Foxit PDF SDK
|
Public Member Functions | |
HTML2PDFRelatedResource () | |
Constructor. | |
HTML2PDFRelatedResource (FileReaderCallback related_resource_file, String resource_file_relative_path) | |
Constructor, with parameters. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
FileReaderCallback | getRelated_resource_file () |
Get the related resouce file. More... | |
String | getResource_file_relative_path () |
Get the path of related_resource_file in the HTML content. More... | |
void | setRelated_resource_file (FileReaderCallback value) |
Set the related resouce file. More... | |
void | setResource_file_relative_path (String value) |
Set the path of related_resource_file in the HTML content. More... | |
This class represents related resource file data used for converting HTML to PDF.
com.foxit.sdk.addon.conversion.HTML2PDFRelatedResource.HTML2PDFRelatedResource | ( | FileReaderCallback | related_resource_file, |
String | resource_file_relative_path | ||
) |
Constructor, with parameters.
[in] | related_resource_file | The related resouce file. |
[in] | resource_file_relative_path | The path of related_resource_file in the HTML content. |
synchronized void com.foxit.sdk.addon.conversion.HTML2PDFRelatedResource.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.addon.conversion.HTML2PDFRelatedResource.getRelated_resource_file | ( | ) |
Get the related resouce file.
com.foxit.sdk.addon.conversion.HTML2PDFRelatedResource.getResource_file_relative_path | ( | ) |
Get the path of related_resource_file in the HTML content.
This value should be consistent with the path in the HTML content. For example: The path of related_resource_file in HTML content is , this value should be set to "../one.png".
com.foxit.sdk.addon.conversion.HTML2PDFRelatedResource.setRelated_resource_file | ( | FileReaderCallback | value | ) |
Set the related resouce file.
[in] | value | The related resouce file. |
com.foxit.sdk.addon.conversion.HTML2PDFRelatedResource.setResource_file_relative_path | ( | String | value | ) |
Set the path of related_resource_file in the HTML content.
This value should be consistent with the path in the HTML content. For example: The path of related_resource_file in HTML content is , this value should be set to "../one.png".
[in] | value | The path of related_resource_file in the HTML content. |