From fe11f13d63f9545c47b4f59efa4335f2c3ecf4d9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 28 Jan 2023 13:24:45 -0500 Subject: Add stub for --remove-restrictions --- include/qpdf/QPDFJob.hh | 1 + include/qpdf/auto_job_c_main.hh | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index c5cc70b9..01307573 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -604,6 +604,7 @@ class QPDFJob std::shared_ptr password; bool linearize{false}; bool decrypt{false}; + bool remove_restrictions{false}; int split_pages{0}; bool progress{false}; std::function progress_handler{nullptr}; diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh index 6551e37d..6c661404 100644 --- a/include/qpdf/auto_job_c_main.hh +++ b/include/qpdf/auto_job_c_main.hh @@ -35,6 +35,7 @@ QPDF_DLL Config* recompressFlate(); QPDF_DLL Config* removePageLabels(); QPDF_DLL Config* reportMemoryUsage(); QPDF_DLL Config* requiresPassword(); +QPDF_DLL Config* removeRestrictions(); QPDF_DLL Config* showEncryption(); QPDF_DLL Config* showEncryptionKey(); QPDF_DLL Config* showLinearization(); -- cgit v1.2.3-54-g00ecf