aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-26 15:09:29 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit1cc532dc9121d02d92ac6ce5abb9376b4842c05f (patch)
tree67d8cf9a6b27c528df675d54dddc67a1d77abeea /include
parent4e9da59eacaf40f4c6651dce498b95b58ff1dd3a (diff)
downloadqpdf-1cc532dc9121d02d92ac6ce5abb9376b4842c05f.tar.zst
QPDFJob: move some helpers from ArgParser to QPDFJob
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 5d29e34e..6445665a 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -422,9 +422,17 @@ class QPDFJob
bool check_requires_password;
std::shared_ptr<char> infilename;
std::shared_ptr<char> outfilename;
+
+ // Helper functions
+ void parseRotationParameter(std::string const&);
+ std::vector<int> parseNumrange(char const* range, int max,
+ bool throw_error = false);
+
+
// QXXXQ END-PUBLIC
private:
+
// Basic file processing
std::shared_ptr<QPDF> processFile(
char const* filename, char const* password);