summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/inc/pdfparse.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-28 18:26:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-28 18:30:24 +0200
commitd3d720b14c0bbfc849f8562d02b471e223e1b0bc (patch)
tree6e85a07fb4f30d1b8284b4286625b81144d3e9ce /sdext/source/pdfimport/inc/pdfparse.hxx
parent050d74b558f896ab510a31bcffde2e0346fc5bd8 (diff)
rhbz#826526 Inform user about unsupported PDF encryption formats
...with a crudely reused "Version Incompatibility" message box (TODO: improve), rather than keeping asking for a password. Change-Id: I8239232704a4426af7a14a729840d184a502d2df
Diffstat (limited to 'sdext/source/pdfimport/inc/pdfparse.hxx')
-rw-r--r--sdext/source/pdfimport/inc/pdfparse.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/inc/pdfparse.hxx b/sdext/source/pdfimport/inc/pdfparse.hxx
index df3e4259ab1a..5e87b89a164a 100644
--- a/sdext/source/pdfimport/inc/pdfparse.hxx
+++ b/sdext/source/pdfimport/inc/pdfparse.hxx
@@ -253,6 +253,9 @@ struct PDFFile : public PDFContainer
virtual PDFEntry* clone() const;
bool isEncrypted() const;
+
+ bool usesSupportedEncryptionFormat() const;
+
// this method checks whether rPwd is compatible with
// either user or owner password and sets up decrypt data in that case
// returns true if decryption can be done