|
Foxit PDF SDK
|
Public Member Functions | |
| def | IsEmpty () |
| Check whether current object is empty or not. More... | |
| def | SetBookmarkTitle (bookmark_title) |
| Set the title of a new parent bookmark for the root bookmark of related source PDF document in combined result file. More... | |
| def | SetPDFFileName (pdf_file_name) |
| Set the name of the PDF file, which will be combined with other PDF files. More... | |
This class represents information of source PDF file which is to be combined with other PDF files.
| def fsdk.CombineDocumentInfo.IsEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
| def fsdk.CombineDocumentInfo.SetBookmarkTitle | ( | bookmark_title | ) |
Set the title of a new parent bookmark for the root bookmark of related source PDF document in combined result file.
This function is to set the bookmark title for a new bookmark in combined result file, if option value fsdk.CombinationE_CombineDocsOptionBookmark is used for combination and related source PDF file has any bookmark. The new bookmark will be used as a parent bookmark and root bookmark of related source PDF doucment will be inserted to be the child node of the new parent bookmark in combined result PDF file.
If no bookmark title is set or an empty title is set, GSDK will generate a bookmark title automatically during combination process which is started by function fsdk.CombinationStartCombineDocuments .
| [in] | bookmark_title | Title of a new parent bookmark which is used in combined result PDF file. |
| def fsdk.CombineDocumentInfo.SetPDFFileName | ( | pdf_file_name | ) |
Set the name of the PDF file, which will be combined with other PDF files.
This function is invalid if the constructor CombineDocumentInfo::CombineDocumentInfo with a file path parameter is called. If option value fsdk.CombinationE_CombineDocsOptionOCProperties is used for combination and the PDF file to be combined has multiple layers, then the PDF file name to be set will be shown on the root node of the combined PDF file's layers.
| [in] | pdf_file_name | The name of the PDF file, which will be combined with other PDF files. |