diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-08 17:27:38 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-08 18:34:14 +0100 |
commit | f91b21c7d4e99d32be8e0a180821af17c8150140 (patch) | |
tree | d24c3ba91a681bad947d93365121626b880cba3b /include/qpdf/QPDFWriter.hh | |
parent | cfd5147d922ee4e29e10f116dfca79325398a6db (diff) | |
download | qpdf-f91b21c7d4e99d32be8e0a180821af17c8150140.tar.zst |
Preserve input PDF version on pages/split-pages (fixes #610)
Diffstat (limited to 'include/qpdf/QPDFWriter.hh')
-rw-r--r-- | include/qpdf/QPDFWriter.hh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |