aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh76
-rw-r--r--include/qpdf/auto_job_c_copy_att.hh8
-rw-r--r--include/qpdf/auto_job_c_main.hh71
3 files changed, 82 insertions, 73 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 388d5536..18f1a28e 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -116,11 +116,8 @@ class QPDFJob
friend class Config;
public:
QPDF_DLL CopyAttConfig& filename(char const* parameter);
- // QXXXQ auto
- QPDF_DLL CopyAttConfig& prefix(char const* parameter);
- QPDF_DLL CopyAttConfig& password(char const* parameter);
- QPDF_DLL Config& end();
- // /QXXXQ
+
+# include <qpdf/auto_job_c_copy_att.hh>
private:
CopyAttConfig(Config&);
@@ -138,74 +135,7 @@ class QPDFJob
QPDF_DLL
std::shared_ptr<CopyAttConfig> copyAttachmentsFrom();
- // QXXXQ could potentially generate these declarations
- 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& password(char const* parameter);
- 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();
- // /QXXXQ
+# include <qpdf/auto_job_c_main.hh>
private:
Config() = delete;
diff --git a/include/qpdf/auto_job_c_copy_att.hh b/include/qpdf/auto_job_c_copy_att.hh
new file mode 100644
index 00000000..d389611f
--- /dev/null
+++ b/include/qpdf/auto_job_c_copy_att.hh
@@ -0,0 +1,8 @@
+//
+// This file is automatically generated by generate_auto_job.
+// Edits will be automatically overwritten if the build is
+// run in maintainer mode.
+//
+QPDF_DLL Config& end();
+QPDF_DLL CopyAttConfig& prefix(char const* parameter);
+QPDF_DLL CopyAttConfig& password(char const* parameter);
diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh
new file mode 100644
index 00000000..a9ebc17c
--- /dev/null
+++ b/include/qpdf/auto_job_c_main.hh
@@ -0,0 +1,71 @@
+//
+// This file is automatically generated by generate_auto_job.
+// Edits will be automatically overwritten if the build is
+// run in maintainer mode.
+//
+QPDF_DLL Config& allowWeakCrypto();
+QPDF_DLL Config& check();
+QPDF_DLL Config& checkLinearization();
+QPDF_DLL Config& coalesceContents();
+QPDF_DLL Config& decrypt();
+QPDF_DLL Config& deterministicId();
+QPDF_DLL Config& empty();
+QPDF_DLL Config& externalizeInlineImages();
+QPDF_DLL Config& filteredStreamData();
+QPDF_DLL Config& flattenRotation();
+QPDF_DLL Config& generateAppearances();
+QPDF_DLL Config& ignoreXrefStreams();
+QPDF_DLL Config& isEncrypted();
+QPDF_DLL Config& json();
+QPDF_DLL Config& keepInlineImages();
+QPDF_DLL Config& linearize();
+QPDF_DLL Config& listAttachments();
+QPDF_DLL Config& newlineBeforeEndstream();
+QPDF_DLL Config& noOriginalObjectIds();
+QPDF_DLL Config& noWarn();
+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& removePageLabels();
+QPDF_DLL Config& replaceInput();
+QPDF_DLL Config& requiresPassword();
+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& 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();
+QPDF_DLL Config& collate(char const* parameter);
+QPDF_DLL Config& splitPages(char const* parameter);
+QPDF_DLL Config& compressionLevel(char const* parameter);
+QPDF_DLL Config& copyEncryption(char const* parameter);
+QPDF_DLL Config& encryptionFilePassword(char const* parameter);
+QPDF_DLL Config& forceVersion(char const* parameter);
+QPDF_DLL Config& iiMinBytes(char const* parameter);
+QPDF_DLL Config& jsonObject(char const* parameter);
+QPDF_DLL Config& keepFilesOpenThreshold(char const* parameter);
+QPDF_DLL Config& linearizePass1(char const* parameter);
+QPDF_DLL Config& minVersion(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& password(char const* parameter);
+QPDF_DLL Config& removeAttachment(char const* parameter);
+QPDF_DLL Config& showAttachment(char const* parameter);
+QPDF_DLL Config& compressStreams(char const* parameter);
+QPDF_DLL Config& flattenAnnotations(char const* parameter);
+QPDF_DLL Config& jsonKey(char const* parameter);
+QPDF_DLL Config& keepFilesOpen(char const* parameter);
+QPDF_DLL Config& normalizeContent(char const* parameter);