OptionalreParse: booleanClose the parser, as well as the file. If reparsing is used, the document will be kept. Default is false.
Destroy the current object.
Get the document object.
Get the encrypt dictionary.
Return the encrypt dictionary.
Get the last object number.
Return the last object number.
Get the password.
Return the password.
Get the root object number.
Return the root object number.
Get the trailer dictionary.
Return the trailer dictionary.
Whether the user has the owner permission of the document.
Return true if the user has the owner permission of the document, otherwise return false.
OptionaloptionsSet the password.
The password to be set.
Start parse the file.
The file path, eg. d://xxx.pdf.
Whether to re-parse, default is false.
Return the status of PDF parse. Like FPD_PARSE_ERROR_SUCCESS, FPD_PARSE_ERROR_PASSWORD, etc.
Close the parser.