aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-24 01:46:20 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commitb4b0df0df98f44483215c4658f1697282080eebf (patch)
treeab33a755ac4ab540fc712f62015066899aee46f2 /include
parent79187e585a7c1ac26fe8b2a347a9546885a973e5 (diff)
downloadqpdf-b4b0df0df98f44483215c4658f1697282080eebf.tar.zst
QPDFJob: convert trivial functions to config API
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh67
1 files changed, 65 insertions, 2 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 3b92aea0..b347aba7 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -105,8 +105,71 @@ class QPDFJob
{
friend class QPDFJob;
public:
- QPDF_DLL
- Config& verbose(bool);
+ QPDF_DLL Config& allowWeakCrypto();
+ QPDF_DLL Config& check();
+ QPDF_DLL Config& checkLinearization();
+ QPDF_DLL Config& coalesceContents();
+ QPDF_DLL Config& collate(char const* parameter);
+ QPDF_DLL Config& compressStreams(char const* parameter);
+ QPDF_DLL Config& compressionLevel(char const* parameter);
+ QPDF_DLL Config& copyEncryption(char const* parameter);
+ QPDF_DLL Config& decrypt();
+ QPDF_DLL Config& deterministicId();
+ QPDF_DLL Config& empty();
+ QPDF_DLL Config& encryptionFilePassword(char const* parameter);
+ QPDF_DLL Config& externalizeInlineImages();
+ QPDF_DLL Config& filteredStreamData();
+ QPDF_DLL Config& flattenAnnotations(char const* parameter);
+ QPDF_DLL Config& flattenRotation();
+ QPDF_DLL Config& forceVersion(char const* parameter);
+ QPDF_DLL Config& generateAppearances();
+ QPDF_DLL Config& ignoreXrefStreams();
+ QPDF_DLL Config& iiMinBytes(char const* parameter);
+ QPDF_DLL Config& isEncrypted();
+ QPDF_DLL Config& json();
+ QPDF_DLL Config& jsonKey(char const* parameter);
+ QPDF_DLL Config& jsonObject(char const* parameter);
+ QPDF_DLL Config& keepFilesOpen(char const* parameter);
+ QPDF_DLL Config& keepFilesOpenThreshold(char const* parameter);
+ QPDF_DLL Config& keepInlineImages();
+ QPDF_DLL Config& linearize();
+ QPDF_DLL Config& linearizePass1(char const* parameter);
+ QPDF_DLL Config& listAttachments();
+ QPDF_DLL Config& minVersion(char const* parameter);
+ QPDF_DLL Config& newlineBeforeEndstream();
+ QPDF_DLL Config& noOriginalObjectIds();
+ QPDF_DLL Config& noWarn();
+ QPDF_DLL Config& normalizeContent(char const* parameter);
+ QPDF_DLL Config& oiMinArea(char const* parameter);
+ QPDF_DLL Config& oiMinHeight(char const* parameter);
+ QPDF_DLL Config& oiMinWidth(char const* parameter);
+ QPDF_DLL Config& optimizeImages();
+ QPDF_DLL Config& passwordIsHexKey();
+ QPDF_DLL Config& preserveUnreferenced();
+ QPDF_DLL Config& preserveUnreferencedResources();
+ QPDF_DLL Config& progress();
+ QPDF_DLL Config& qdf();
+ QPDF_DLL Config& rawStreamData();
+ QPDF_DLL Config& recompressFlate();
+ QPDF_DLL Config& removeAttachment(char const* parameter);
+ QPDF_DLL Config& removePageLabels();
+ QPDF_DLL Config& replaceInput();
+ QPDF_DLL Config& requiresPassword();
+ QPDF_DLL Config& showAttachment(char const* parameter);
+ QPDF_DLL Config& showEncryption();
+ QPDF_DLL Config& showEncryptionKey();
+ QPDF_DLL Config& showLinearization();
+ QPDF_DLL Config& showNpages();
+ QPDF_DLL Config& showPages();
+ QPDF_DLL Config& showXref();
+ QPDF_DLL Config& splitPages(char const* parameter);
+ QPDF_DLL Config& staticAesIv();
+ QPDF_DLL Config& staticId();
+ QPDF_DLL Config& suppressPasswordRecovery();
+ QPDF_DLL Config& suppressRecovery();
+ QPDF_DLL Config& verbose();
+ QPDF_DLL Config& warningExit0();
+ QPDF_DLL Config& withImages();
private:
Config() = delete;