diff --git a/generate_auto_job b/generate_auto_job index fe4e9392..e5c0f61a 100755 --- a/generate_auto_job +++ b/generate_auto_job @@ -130,6 +130,8 @@ BANNER = f'''// // This file is automatically generated by {whoami}. // Edits will be automatically overwritten if the build is // run in maintainer mode. +// +// clang-format off //''' diff --git a/include/qpdf/auto_job_c_att.hh b/include/qpdf/auto_job_c_att.hh index b94774f5..ea854199 100644 --- a/include/qpdf/auto_job_c_att.hh +++ b/include/qpdf/auto_job_c_att.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL AttConfig* replace(); QPDF_DLL AttConfig* key(std::string const& parameter); QPDF_DLL AttConfig* filename(std::string const& parameter); diff --git a/include/qpdf/auto_job_c_copy_att.hh b/include/qpdf/auto_job_c_copy_att.hh index e372ab93..764a5ea1 100644 --- a/include/qpdf/auto_job_c_copy_att.hh +++ b/include/qpdf/auto_job_c_copy_att.hh @@ -3,5 +3,7 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL CopyAttConfig* prefix(std::string const& parameter); QPDF_DLL CopyAttConfig* password(std::string const& parameter); diff --git a/include/qpdf/auto_job_c_enc.hh b/include/qpdf/auto_job_c_enc.hh index fc9e3b53..ed4d0715 100644 --- a/include/qpdf/auto_job_c_enc.hh +++ b/include/qpdf/auto_job_c_enc.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL EncConfig* extract(std::string const& parameter); QPDF_DLL EncConfig* annotate(std::string const& parameter); QPDF_DLL EncConfig* print(std::string const& parameter); diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh index 87987443..0444ddaa 100644 --- a/include/qpdf/auto_job_c_main.hh +++ b/include/qpdf/auto_job_c_main.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL Config* allowWeakCrypto(); QPDF_DLL Config* check(); QPDF_DLL Config* checkLinearization(); diff --git a/include/qpdf/auto_job_c_pages.hh b/include/qpdf/auto_job_c_pages.hh index d6cbecfe..b816d29d 100644 --- a/include/qpdf/auto_job_c_pages.hh +++ b/include/qpdf/auto_job_c_pages.hh @@ -3,3 +3,5 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// diff --git a/include/qpdf/auto_job_c_uo.hh b/include/qpdf/auto_job_c_uo.hh index 3c7585c2..e9894730 100644 --- a/include/qpdf/auto_job_c_uo.hh +++ b/include/qpdf/auto_job_c_uo.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL UOConfig* to(std::string const& parameter); QPDF_DLL UOConfig* from(std::string const& parameter); QPDF_DLL UOConfig* repeat(std::string const& parameter); diff --git a/job.sums b/job.sums index b42c2f85..26d242e7 100644 --- a/job.sums +++ b/job.sums @@ -1,17 +1,17 @@ # Generated by generate_auto_job -generate_auto_job 464f660527880d5213ada3f5be5bdab05a425610044dbe0a2a918bc1e268726a -include/qpdf/auto_job_c_att.hh 1f5d589ccf6684b09a203da261c31fc90a866e6eefe906b673e2d6d5a08ef753 -include/qpdf/auto_job_c_copy_att.hh 65bdce5382a60f1815214297cf005072f17556ec4a15317b600f9ecc9cb89ea4 -include/qpdf/auto_job_c_enc.hh 37ca99a124a34bb613f154c6c8934761bd7e7cc5a2719798ccec7edf05b4aeb9 -include/qpdf/auto_job_c_main.hh 1130a203a513659fbfdd3ab8e435779e402d4f519a11f572ab421b8e937f1d7a -include/qpdf/auto_job_c_pages.hh 931840b329a36ca0e41401190e04537b47f2867671a6643bfd8da74014202671 -include/qpdf/auto_job_c_uo.hh 4a1148f815a5d0833d2c519dac940be34825294c8c26f77da65e48fdc75f178e +generate_auto_job 86109dcb8646dca3f50b6ff92d460c62fcd98a5c95d47276b7c1217f4430271e +include/qpdf/auto_job_c_att.hh 4c2b171ea00531db54720bf49a43f8b34481586ae7fb6cbf225099ee42bc5bb4 +include/qpdf/auto_job_c_copy_att.hh 50609012bff14fd82f0649185940d617d05d530cdc522185c7f3920a561ccb42 +include/qpdf/auto_job_c_enc.hh 28446f3c32153a52afa239ea40503e6cc8ac2c026813526a349e0cd4ae17ddd5 +include/qpdf/auto_job_c_main.hh 4ba9bcb8be945f6a3ffa0df3becdb8488b6eaf45dd914d8b714d948e17b5ad5d +include/qpdf/auto_job_c_pages.hh b3cc0f21029f6d89efa043dcdbfa183cb59325b6506001c18911614fe8e568ec +include/qpdf/auto_job_c_uo.hh ae21b69a1efa9333050f4833d465f6daff87e5b38e5106e49bbef5d4132e4ed1 job.yml 06a0b29f63c1622a0c6270d15d848a42084a6424e4b98d5d4942a8ec903b7a70 -libqpdf/qpdf/auto_job_decl.hh c15c5c4f25f32a8086d579fc40d64326467a74a08209b8fbccf9f996ca2970ab -libqpdf/qpdf/auto_job_help.hh 43184f01816b5210bbc981de8de48446546fb94f4fd6e63cfc7f2fbac3578e6b -libqpdf/qpdf/auto_job_init.hh 4d6c4641347e9ee9ea8d057a37d008c9f0f73484c6a04eb879b7a2f8889828bd -libqpdf/qpdf/auto_job_json_decl.hh c5e3fd38a3b0c569eb0c6b4c60953a09cd6bc7d3361a357a81f64fe36af2b0cf -libqpdf/qpdf/auto_job_json_init.hh b070350d304d137ba594c1ba40b373137e8459735f04b8ca0f8a2ffd1908c69e +libqpdf/qpdf/auto_job_decl.hh 74df4d7fdbdf51ecd0d58ce1e9844bb5525b9adac5a45f7c9a787ecdda2868df +libqpdf/qpdf/auto_job_help.hh a7d7edc3b270f2488778426646bb68dcad036727db4be87d1da9993e2a007634 +libqpdf/qpdf/auto_job_init.hh 6bd71c2ae4ba80e81fe5ae5517ba72abf53a3146f66864f99eeebc7d224998a5 +libqpdf/qpdf/auto_job_json_decl.hh 30058d744cfb0d1b5e5bd2830e1c7b24713ee39c97c4ccb723dbbae1f9fab61c +libqpdf/qpdf/auto_job_json_init.hh d3885830362c4337822bf9bc3d177b50149ba403a26de0e69d37f7751cb5d538 libqpdf/qpdf/auto_job_schema.hh 18a3780671d95224cb9a27dcac627c421cae509d59f33a63e6bda0ab53cce923 manual/_ext/qpdf.py e9ac9d6c70642a3d29281ee5ad92ae2422dee8be9306fb8a0bc9dba0ed5e28f3 manual/cli.rst aa44cbe7b6281ee05dc8b19ee1b12ca770503681ffc8ba90e795fc3c3b55153d diff --git a/libqpdf/qpdf/auto_job_decl.hh b/libqpdf/qpdf/auto_job_decl.hh index 2671d130..02f0ca91 100644 --- a/libqpdf/qpdf/auto_job_decl.hh +++ b/libqpdf/qpdf/auto_job_decl.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// static constexpr char const* O_PAGES = "pages"; static constexpr char const* O_ENCRYPTION = "encryption"; static constexpr char const* O_40_BIT_ENCRYPTION = "40-bit encryption"; diff --git a/libqpdf/qpdf/auto_job_help.hh b/libqpdf/qpdf/auto_job_help.hh index 38d275b5..388b861f 100644 --- a/libqpdf/qpdf/auto_job_help.hh +++ b/libqpdf/qpdf/auto_job_help.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// static void add_help_1(QPDFArgParser& ap) { ap.addHelpTopic("usage", "basic invocation", R"(Read a PDF file, apply transformations or modifications, and write diff --git a/libqpdf/qpdf/auto_job_init.hh b/libqpdf/qpdf/auto_job_init.hh index 54506493..5483cbb2 100644 --- a/libqpdf/qpdf/auto_job_init.hh +++ b/libqpdf/qpdf/auto_job_init.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// auto b = [this](void (ArgParser::*f)()) { return QPDFArgParser::bindBare(f, this); }; diff --git a/libqpdf/qpdf/auto_job_json_decl.hh b/libqpdf/qpdf/auto_job_json_decl.hh index 951e6a92..7f996928 100644 --- a/libqpdf/qpdf/auto_job_json_decl.hh +++ b/libqpdf/qpdf/auto_job_json_decl.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// void setupInputFile(); void setupPassword(); void setupEmpty(); diff --git a/libqpdf/qpdf/auto_job_json_init.hh b/libqpdf/qpdf/auto_job_json_init.hh index 01a22167..2f807469 100644 --- a/libqpdf/qpdf/auto_job_json_init.hh +++ b/libqpdf/qpdf/auto_job_json_init.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// static char const* yn_choices[] = {"y", "n", 0}; static char const* password_mode_choices[] = {"bytes", "hex-bytes", "unicode", "auto", 0}; static char const* stream_data_choices[] = {"compress", "preserve", "uncompress", 0};