aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFJob_config.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-01-28 19:24:45 +0100
committerJay Berkenbilt <ejb@ql.org>2023-01-28 19:24:45 +0100
commitfe11f13d63f9545c47b4f59efa4335f2c3ecf4d9 (patch)
tree01b20ecf45c82f5297f17e3baf34ebdc66d38cc4 /libqpdf/QPDFJob_config.cc
parentacfc9db0515559cdcc56104ba1ec2082b09b0b8f (diff)
downloadqpdf-fe11f13d63f9545c47b4f59efa4335f2c3ecf4d9.tar.zst
Add stub for --remove-restrictions
Diffstat (limited to 'libqpdf/QPDFJob_config.cc')
-rw-r--r--libqpdf/QPDFJob_config.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libqpdf/QPDFJob_config.cc b/libqpdf/QPDFJob_config.cc
index 66a4acb1..3a6bcdf4 100644
--- a/libqpdf/QPDFJob_config.cc
+++ b/libqpdf/QPDFJob_config.cc
@@ -518,6 +518,13 @@ QPDFJob::Config::requiresPassword()
}
QPDFJob::Config*
+QPDFJob::Config::removeRestrictions()
+{
+ o.m->remove_restrictions = true;
+ return this;
+}
+
+QPDFJob::Config*
QPDFJob::Config::showAttachment(std::string const& parameter)
{
o.m->attachment_to_show = parameter;