diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFJob.hh | 2 | ||||
-rw-r--r-- | include/qpdf/QPDFWriter.hh | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index 799a34fd..9524fdbf 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -26,6 +26,7 @@ #include <qpdf/Constants.h> #include <qpdf/QPDF.hh> #include <qpdf/QPDFPageObjectHelper.hh> +#include <qpdf/PDFVersion.hh> #include <memory> #include <string> @@ -587,6 +588,7 @@ class QPDFJob int flatten_annotations_required; int flatten_annotations_forbidden; bool generate_appearances; + PDFVersion max_input_version; std::string min_version; std::string force_version; bool show_npages; diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh index 97d190a7..1f8fc360 100644 --- a/include/qpdf/QPDFWriter.hh +++ b/include/qpdf/QPDFWriter.hh @@ -42,11 +42,11 @@ #include <qpdf/QPDFObjectHandle.hh> #include <qpdf/QPDFObjGen.hh> #include <qpdf/QPDFXRefEntry.hh> - #include <qpdf/Pl_Buffer.hh> #include <qpdf/PointerHolder.hh> #include <qpdf/Pipeline.hh> #include <qpdf/Buffer.hh> +#include <qpdf/PDFVersion.hh> class QPDF; class Pl_Count; @@ -265,6 +265,8 @@ class QPDFWriter // streams are used. QPDF_DLL void setMinimumPDFVersion(std::string const&, int extension_level = 0); + QPDF_DLL + void setMinimumPDFVersion(PDFVersion const&); // Force the PDF version of the output file to be a given version. // Use of this function may create PDF files that will not work |