aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh2
-rw-r--r--include/qpdf/auto_job_c_pages.hh3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 4626c264..443fa75c 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -243,6 +243,8 @@ class QPDFJob
public:
QPDF_DLL
Config* endPages();
+ // From qpdf 11.9.0, you can call file(), range(), and password(). Each call to file()
+ // starts a new page spec.
QPDF_DLL
PagesConfig* pageSpec(
std::string const& filename, std::string const& range, char const* password = nullptr);
diff --git a/include/qpdf/auto_job_c_pages.hh b/include/qpdf/auto_job_c_pages.hh
index b816d29d..75b0ae53 100644
--- a/include/qpdf/auto_job_c_pages.hh
+++ b/include/qpdf/auto_job_c_pages.hh
@@ -5,3 +5,6 @@
//
// clang-format off
//
+QPDF_DLL PagesConfig* file(std::string const& parameter);
+QPDF_DLL PagesConfig* range(std::string const& parameter);
+QPDF_DLL PagesConfig* password(std::string const& parameter);