Foxit PDF SDK
|
Public Member Functions | |
FormFileInfo (const FormFileInfo &other) | |
Constructor, with another information object. More... | |
FormFileInfo (const wchar_t *file_path, const WString &password) | |
Constructor, with parameters. More... | |
FormFileInfo (foxit::common::file::ReaderCallback *reader_callback, const WString &password, const wchar_t *file_name) | |
Constructor, with parameters. More... | |
~FormFileInfo () | |
Destructor. | |
bool | IsEmpty () const |
Check whether current object is empty or not. More... | |
bool | operator!= (const FormFileInfo &other) const |
Not equal operator. More... | |
FormFileInfo & | operator= (const FormFileInfo &other) |
Assign operator. More... | |
bool | operator== (const FormFileInfo &other) const |
Equal operator. More... | |
![]() | |
FS_HANDLE | Handle () const |
Get the handle of current object. More... | |
This class represents form file information. Form file can be PDF, FDF, XML or XFDF format.
foxit::addon::FormFileInfo::FormFileInfo | ( | const wchar_t * | file_path, |
const WString & | password | ||
) |
Constructor, with parameters.
This constructor will check the validition of input file.
[in] | file_path | File path of a form file. This should be a PDF, FDF, XML or XFDF file. |
[in] | password | The password of input file specified by parameter file_path. This is only useful when input file is a PDF file. If input file is not a PDF file or input PDF file does not have any password, please pass an empty string. |
foxit::addon::FormFileInfo::FormFileInfo | ( | foxit::common::file::ReaderCallback * | reader_callback, |
const WString & | password, | ||
const wchar_t * | file_name | ||
) |
Constructor, with parameters.
This constructor will check the validition of input file.
[in] | reader_callback | The reader file callback of a file, which is to be combined with other files. And it only supports PDF, FDF, XML and XFDF files. |
[in] | password | The password of input file specified by parameter reader_callback. This is only useful when input file is a PDF file. If input file is not a PDF file or input PDF file does not have any password, please pass an empty string. |
[in] | file_name | File name of input file which is specified by parameter reader_callback. This name will be written into target file when current information object is used in combination. This can be an empty string. |
foxit::addon::FormFileInfo::FormFileInfo | ( | const FormFileInfo & | other | ) |
Constructor, with another information object.
[in] | other | Another information object. |
bool foxit::addon::FormFileInfo::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
bool foxit::addon::FormFileInfo::operator!= | ( | const FormFileInfo & | other | ) | const |
Not equal operator.
[in] | other | Another information object. This function will check if current object is not equal to this one. |
FormFileInfo& foxit::addon::FormFileInfo::operator= | ( | const FormFileInfo & | other | ) |
Assign operator.
[in] | other | Another information object, whose value would be assigned to current object. |
bool foxit::addon::FormFileInfo::operator== | ( | const FormFileInfo & | other | ) | const |
Equal operator.
[in] | other | Another information object. This function will check if current object is equal to this one. |