diff options
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r-- | libqpdf/QPDF.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index 33847a45..51a87d66 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -75,6 +75,7 @@ QPDF::QPDFVersion() } QPDF::Members::Members() : + provided_password_is_hex_key(false), encrypted(false), encryption_initialized(false), ignore_xref_streams(false), @@ -172,6 +173,12 @@ QPDF::processInputSource(PointerHolder<InputSource> source, } void +QPDF::setPasswordIsHexKey(bool val) +{ + this->m->provided_password_is_hex_key = val; +} + +void QPDF::emptyPDF() { processMemoryFile("empty PDF", EMPTY_PDF, strlen(EMPTY_PDF)); |