Commit 98f25fdfa17ec4c4878fb7d1cb38955af9853d71

Authored by Jay Berkenbilt
1 parent cf6c56a4

QPDFJob: make easy things private

Showing 1 changed file with 8 additions and 3 deletions
include/qpdf/QPDFJob.hh
... ... @@ -321,11 +321,12 @@ class QPDFJob
321 321 std::function<void(std::ostream&, std::string const& prefix)> fn);
322 322  
323 323  
324   - // QXXXQ From here to END-PUBLIC should all be private or
325   - // different somehow
326   - public:
  324 + private:
  325 + public: // QXXXQ
327 326 QPDF_DLL
328 327 static JSON json_schema(std::set<std::string>* keys = 0);
  328 +
  329 + private: // QXXXQ
329 330 QPDF_DLL
330 331 static void parse_object_id(
331 332 std::string const& objspec, bool& trailer, int& obj, int& gen);
... ... @@ -344,6 +345,7 @@ class QPDFJob
344 345  
345 346 enum password_mode_e { pm_bytes, pm_hex_bytes, pm_unicode, pm_auto };
346 347  
  348 + public: // QXXXQ
347 349 struct UnderOverlay
348 350 {
349 351 UnderOverlay(char const* which) :
... ... @@ -365,6 +367,7 @@ class QPDFJob
365 367 std::vector<int> from_pagenos;
366 368 std::vector<int> repeat_pagenos;
367 369 };
  370 + private: // QXXXQ
368 371  
369 372 enum remove_unref_e { re_auto, re_yes, re_no };
370 373  
... ... @@ -464,10 +467,12 @@ class QPDFJob
464 467 bool externalize_inline_images;
465 468 bool keep_inline_images;
466 469 bool remove_page_labels;
  470 + public: // QXXXQ
467 471 size_t oi_min_width;
468 472 size_t oi_min_height;
469 473 size_t oi_min_area;
470 474 size_t ii_min_bytes;
  475 + private: // QXXXQ
471 476 UnderOverlay underlay;
472 477 UnderOverlay overlay;
473 478 UnderOverlay* under_overlay;
... ...