aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-26 20:29:53 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit98f25fdfa17ec4c4878fb7d1cb38955af9853d71 (patch)
treef737fcabd0c908d2ba58ebcf7d574bf00f7b0d50 /include
parentcf6c56a4630dc279d2d1a565123ec1e9baa8d72b (diff)
downloadqpdf-98f25fdfa17ec4c4878fb7d1cb38955af9853d71.tar.zst
QPDFJob: make easy things private
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 90c778b4..e20bfc8d 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -321,11 +321,12 @@ class QPDFJob
std::function<void(std::ostream&, std::string const& prefix)> fn);
- // QXXXQ From here to END-PUBLIC should all be private or
- // different somehow
- public:
+ private:
+ public: // QXXXQ
QPDF_DLL
static JSON json_schema(std::set<std::string>* keys = 0);
+
+ private: // QXXXQ
QPDF_DLL
static void parse_object_id(
std::string const& objspec, bool& trailer, int& obj, int& gen);
@@ -344,6 +345,7 @@ class QPDFJob
enum password_mode_e { pm_bytes, pm_hex_bytes, pm_unicode, pm_auto };
+ public: // QXXXQ
struct UnderOverlay
{
UnderOverlay(char const* which) :
@@ -365,6 +367,7 @@ class QPDFJob
std::vector<int> from_pagenos;
std::vector<int> repeat_pagenos;
};
+ private: // QXXXQ
enum remove_unref_e { re_auto, re_yes, re_no };
@@ -464,10 +467,12 @@ class QPDFJob
bool externalize_inline_images;
bool keep_inline_images;
bool remove_page_labels;
+ public: // QXXXQ
size_t oi_min_width;
size_t oi_min_height;
size_t oi_min_area;
size_t ii_min_bytes;
+ private: // QXXXQ
UnderOverlay underlay;
UnderOverlay overlay;
UnderOverlay* under_overlay;