Commit
2229e37e88a8d497b4a04725a46d181326a3fa45
Add a blank line after the first header included in each source
|
| @@ -86,6 +86,15 @@ GOOGLE OSS-FUZZ |
| @@ -86,6 +86,15 @@ GOOGLE OSS-FUZZ |
|
86
| |
86
| |
|
87
| CODING RULES |
87
| CODING RULES |
|
88
| |
88
| |
|
| |
89
| +* In a source file, include the header file that declares the source |
|
| |
90
| + class first followed by a blank line. If a config file is needed |
|
| |
91
| + first, put a blank line between that and the header followed by |
|
| |
92
| + another blank line. This assures that each header file is included |
|
| |
93
| + first at least once, thereby ensuring that it explicitly includes |
|
| |
94
| + all the headers it needs, which in turn alleviates lots of header |
|
| |
95
| + ordering problems. The blank line ensures that formatters don't |
|
| |
96
| + messt his up by resorting the headers. |
|
| |
97
| + |
|
89
| * Avoid atoi. Use QUtil::string_to_int instead. It does |
98
| * Avoid atoi. Use QUtil::string_to_int instead. It does |
|
90
| overflow/underflow checking. |
99
| overflow/underflow checking. |
|
91
| |
100
| |
|
1
| #include <qpdf/AES_PDF_native.hh> |
1
| #include <qpdf/AES_PDF_native.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <cstring> |
4
| #include <cstring> |
|
4
| #include <assert.h> |
5
| #include <assert.h> |
|
1
| #include <qpdf/BitStream.hh> |
1
| #include <qpdf/BitStream.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QIntC.hh> |
3
| #include <qpdf/QIntC.hh> |
|
3
| |
4
| |
|
4
| // See comments in bits.cc |
5
| // See comments in bits.cc |
|
1
| #include <qpdf/BufferInputSource.hh> |
1
| #include <qpdf/BufferInputSource.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QIntC.hh> |
3
| #include <qpdf/QIntC.hh> |
|
3
| #include <string.h> |
4
| #include <string.h> |
|
4
| #include <stdexcept> |
5
| #include <stdexcept> |
|
1
| #include <qpdf/ClosedFileInputSource.hh> |
1
| #include <qpdf/ClosedFileInputSource.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/FileInputSource.hh> |
3
| #include <qpdf/FileInputSource.hh> |
|
3
| |
4
| |
|
4
| ClosedFileInputSource::Members::Members(char const* filename) : |
5
| ClosedFileInputSource::Members::Members(char const* filename) : |
|
1
| #include <qpdf/ContentNormalizer.hh> |
1
| #include <qpdf/ContentNormalizer.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| |
4
| |
|
4
| ContentNormalizer::ContentNormalizer() : |
5
| ContentNormalizer::ContentNormalizer() : |
|
1
| #include <qpdf/CryptoRandomDataProvider.hh> |
1
| #include <qpdf/CryptoRandomDataProvider.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QPDFCryptoProvider.hh> |
3
| #include <qpdf/QPDFCryptoProvider.hh> |
|
3
| |
4
| |
|
4
| CryptoRandomDataProvider::CryptoRandomDataProvider() |
5
| CryptoRandomDataProvider::CryptoRandomDataProvider() |
|
1
| #include <qpdf/FileInputSource.hh> |
1
| #include <qpdf/FileInputSource.hh> |
|
| |
2
| + |
|
2
| #include <string.h> |
3
| #include <string.h> |
|
3
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
4
| #include <qpdf/QPDFExc.hh> |
5
| #include <qpdf/QPDFExc.hh> |
|
1
| #include <qpdf/InputSource.hh> |
1
| #include <qpdf/InputSource.hh> |
|
| |
2
| + |
|
2
| #include <string.h> |
3
| #include <string.h> |
|
3
| #include <stdexcept> |
4
| #include <stdexcept> |
|
4
| #include <qpdf/QTC.hh> |
5
| #include <qpdf/QTC.hh> |
|
1
| #include <qpdf/JSON.hh> |
1
| #include <qpdf/JSON.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <qpdf/QTC.hh> |
4
| #include <qpdf/QTC.hh> |
|
4
| #include <stdexcept> |
5
| #include <stdexcept> |
|
1
| #include <qpdf/JSONHandler.hh> |
1
| #include <qpdf/JSONHandler.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <qpdf/QTC.hh> |
4
| #include <qpdf/QTC.hh> |
|
4
| #include <qpdf/QPDFUsage.hh> |
5
| #include <qpdf/QPDFUsage.hh> |
|
1
| #include <qpdf/MD5.hh> |
1
| #include <qpdf/MD5.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <qpdf/QIntC.hh> |
4
| #include <qpdf/QIntC.hh> |
|
4
| #include <qpdf/QPDFCryptoProvider.hh> |
5
| #include <qpdf/QPDFCryptoProvider.hh> |
|
| @@ -28,6 +28,7 @@ |
| @@ -28,6 +28,7 @@ |
|
28
| ///////////////////////////////////////////////////////////////////////// |
28
| ///////////////////////////////////////////////////////////////////////// |
|
29
| |
29
| |
|
30
| #include <qpdf/MD5_native.hh> |
30
| #include <qpdf/MD5_native.hh> |
|
| |
31
| + |
|
31
| #include <qpdf/QUtil.hh> |
32
| #include <qpdf/QUtil.hh> |
|
32
| #include <qpdf/QIntC.hh> |
33
| #include <qpdf/QIntC.hh> |
|
33
| |
34
| |
|
1
| #include <qpdf/NNTree.hh> |
1
| #include <qpdf/NNTree.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
4
| |
5
| |
|
1
| #include <qpdf/OffsetInputSource.hh> |
1
| #include <qpdf/OffsetInputSource.hh> |
|
| |
2
| + |
|
2
| #include <limits> |
3
| #include <limits> |
|
3
| #include <sstream> |
4
| #include <sstream> |
|
4
| #include <stdexcept> |
5
| #include <stdexcept> |
|
1
| #include <qpdf/Pipeline.hh> |
1
| #include <qpdf/Pipeline.hh> |
|
| |
2
| + |
|
2
| #include <stdexcept> |
3
| #include <stdexcept> |
|
3
| |
4
| |
|
4
| Pipeline::Pipeline(char const* identifier, Pipeline* next) : |
5
| Pipeline::Pipeline(char const* identifier, Pipeline* next) : |
|
1
| #include <qpdf/Pl_AES_PDF.hh> |
1
| #include <qpdf/Pl_AES_PDF.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <cstring> |
4
| #include <cstring> |
|
4
| #include <assert.h> |
5
| #include <assert.h> |
|
1
| #include <qpdf/Pl_ASCII85Decoder.hh> |
1
| #include <qpdf/Pl_ASCII85Decoder.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <stdexcept> |
4
| #include <stdexcept> |
|
4
| #include <string.h> |
5
| #include <string.h> |
|
1
| #include <qpdf/Pl_ASCIIHexDecoder.hh> |
1
| #include <qpdf/Pl_ASCIIHexDecoder.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <stdexcept> |
4
| #include <stdexcept> |
|
4
| #include <string.h> |
5
| #include <string.h> |
|
1
| #include <qpdf/Pl_Buffer.hh> |
1
| #include <qpdf/Pl_Buffer.hh> |
|
| |
2
| + |
|
2
| #include <stdexcept> |
3
| #include <stdexcept> |
|
3
| #include <algorithm> |
4
| #include <algorithm> |
|
4
| #include <assert.h> |
5
| #include <assert.h> |
|
1
| #include <qpdf/Pl_Count.hh> |
1
| #include <qpdf/Pl_Count.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QIntC.hh> |
3
| #include <qpdf/QIntC.hh> |
|
3
| |
4
| |
|
4
| Pl_Count::Members::Members() : |
5
| Pl_Count::Members::Members() : |
|
1
| #include <qpdf/Pl_Flate.hh> |
1
| #include <qpdf/Pl_Flate.hh> |
|
| |
2
| + |
|
2
| #include <zlib.h> |
3
| #include <zlib.h> |
|
3
| #include <string.h> |
4
| #include <string.h> |
|
4
| #include <limits.h> |
5
| #include <limits.h> |
|
1
| #include <qpdf/Pl_MD5.hh> |
1
| #include <qpdf/Pl_MD5.hh> |
|
| |
2
| + |
|
2
| #include <stdexcept> |
3
| #include <stdexcept> |
|
3
| |
4
| |
|
4
| Pl_MD5::Pl_MD5(char const* identifier, Pipeline* next) : |
5
| Pl_MD5::Pl_MD5(char const* identifier, Pipeline* next) : |
|
1
| #include <qpdf/Pl_PNGFilter.hh> |
1
| #include <qpdf/Pl_PNGFilter.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <stdexcept> |
4
| #include <stdexcept> |
|
4
| #include <string.h> |
5
| #include <string.h> |
|
1
| #include <qpdf/Pl_QPDFTokenizer.hh> |
1
| #include <qpdf/Pl_QPDFTokenizer.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
4
| #include <qpdf/BufferInputSource.hh> |
5
| #include <qpdf/BufferInputSource.hh> |
|
1
| #include <qpdf/Pl_RC4.hh> |
1
| #include <qpdf/Pl_RC4.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| |
4
| |
|
4
| Pl_RC4::Pl_RC4(char const* identifier, Pipeline* next, |
5
| Pl_RC4::Pl_RC4(char const* identifier, Pipeline* next, |
|
1
| #include <qpdf/Pl_SHA2.hh> |
1
| #include <qpdf/Pl_SHA2.hh> |
|
| |
2
| + |
|
2
| #include <stdexcept> |
3
| #include <stdexcept> |
|
3
| #include <cstdio> |
4
| #include <cstdio> |
|
4
| #include <qpdf/PointerHolder.hh> |
5
| #include <qpdf/PointerHolder.hh> |
|
1
| #include <qpdf/qpdf-config.h> // include first for large file support |
1
| #include <qpdf/qpdf-config.h> // include first for large file support |
|
| |
2
| + |
|
2
| #include <qpdf/Pl_StdioFile.hh> |
3
| #include <qpdf/Pl_StdioFile.hh> |
|
| |
4
| + |
|
3
| #include <qpdf/QUtil.hh> |
5
| #include <qpdf/QUtil.hh> |
|
4
| #include <stdexcept> |
6
| #include <stdexcept> |
|
5
| #include <errno.h> |
7
| #include <errno.h> |
|
1
| #include <qpdf/Pl_TIFFPredictor.hh> |
1
| #include <qpdf/Pl_TIFFPredictor.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <qpdf/BitStream.hh> |
4
| #include <qpdf/BitStream.hh> |
|
4
| #include <qpdf/BitWriter.hh> |
5
| #include <qpdf/BitWriter.hh> |
|
1
| #include <qpdf/qpdf-config.h> // include first for large file support |
1
| #include <qpdf/qpdf-config.h> // include first for large file support |
|
| |
2
| + |
|
2
| #include <qpdf/QPDF.hh> |
3
| #include <qpdf/QPDF.hh> |
|
3
| |
4
| |
|
4
| #include <atomic> |
5
| #include <atomic> |
|
1
| #include <qpdf/QPDFAnnotationObjectHelper.hh> |
1
| #include <qpdf/QPDFAnnotationObjectHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <qpdf/QPDFMatrix.hh> |
4
| #include <qpdf/QPDFMatrix.hh> |
|
4
| #include <qpdf/QUtil.hh> |
5
| #include <qpdf/QUtil.hh> |
|
1
| #include <qpdf/QPDFArgParser.hh> |
1
| #include <qpdf/QPDFArgParser.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <qpdf/QIntC.hh> |
4
| #include <qpdf/QIntC.hh> |
|
4
| #include <qpdf/QTC.hh> |
5
| #include <qpdf/QTC.hh> |
|
1
| #include <qpdf/QPDFCryptoProvider.hh> |
1
| #include <qpdf/QPDFCryptoProvider.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/qpdf-config.h> |
3
| #include <qpdf/qpdf-config.h> |
|
3
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
4
| #include <stdexcept> |
5
| #include <stdexcept> |
|
1
| #include <qpdf/QPDFCrypto_gnutls.hh> |
1
| #include <qpdf/QPDFCrypto_gnutls.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QIntC.hh> |
3
| #include <qpdf/QIntC.hh> |
|
3
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
4
| #include <cstring> |
5
| #include <cstring> |
|
1
| #include <qpdf/QPDFCrypto_native.hh> |
1
| #include <qpdf/QPDFCrypto_native.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| |
4
| |
|
4
| #ifdef USE_INSECURE_RANDOM |
5
| #ifdef USE_INSECURE_RANDOM |
|
1
| #include <qpdf/QPDFEFStreamObjectHelper.hh> |
1
| #include <qpdf/QPDFEFStreamObjectHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QIntC.hh> |
3
| #include <qpdf/QIntC.hh> |
|
3
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
4
| #include <qpdf/Pl_Count.hh> |
5
| #include <qpdf/Pl_Count.hh> |
|
1
| #include <qpdf/QPDFExc.hh> |
1
| #include <qpdf/QPDFExc.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| |
4
| |
|
4
| QPDFExc::QPDFExc(qpdf_error_code_e error_code, |
5
| QPDFExc::QPDFExc(qpdf_error_code_e error_code, |
|
1
| #include <qpdf/QPDFFileSpecObjectHelper.hh> |
1
| #include <qpdf/QPDFFileSpecObjectHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <qpdf/QPDF.hh> |
4
| #include <qpdf/QPDF.hh> |
|
4
| #include <qpdf/QUtil.hh> |
5
| #include <qpdf/QUtil.hh> |
|
1
| #include <qpdf/QPDFFormFieldObjectHelper.hh> |
1
| #include <qpdf/QPDFFormFieldObjectHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <qpdf/QPDFAcroFormDocumentHelper.hh> |
4
| #include <qpdf/QPDFAcroFormDocumentHelper.hh> |
|
4
| #include <qpdf/QPDFAnnotationObjectHelper.hh> |
5
| #include <qpdf/QPDFAnnotationObjectHelper.hh> |
|
| @@ -115,6 +115,7 @@ ArgParser::argVersion() |
| @@ -115,6 +115,7 @@ ArgParser::argVersion() |
|
115
| void |
115
| void |
|
116
| ArgParser::argCopyright() |
116
| ArgParser::argCopyright() |
|
117
| { |
117
| { |
|
| |
118
| + // clang-format off |
|
118
| // Make sure the output looks right on an 80-column display. |
119
| // Make sure the output looks right on an 80-column display. |
|
119
| // 1 2 3 4 5 6 7 8 |
120
| // 1 2 3 4 5 6 7 8 |
|
120
| // 12345678901234567890123456789012345678901234567890123456789012345678901234567890 |
121
| // 12345678901234567890123456789012345678901234567890123456789012345678901234567890 |
|
| @@ -153,6 +154,7 @@ ArgParser::argCopyright() |
| @@ -153,6 +154,7 @@ ArgParser::argCopyright() |
|
153
| << std::endl |
154
| << std::endl |
|
154
| << "see the manual for additional information." |
155
| << "see the manual for additional information." |
|
155
| << std::endl; |
156
| << std::endl; |
|
| |
157
| + // clang-format on |
|
156
| } |
158
| } |
|
157
| |
159
| |
|
158
| void |
160
| void |
|
1
| #include <qpdf/QPDFJob.hh> |
1
| #include <qpdf/QPDFJob.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <qpdf/QTC.hh> |
4
| #include <qpdf/QTC.hh> |
|
4
| |
5
| |
|
1
| #include <qpdf/QPDFJob.hh> |
1
| #include <qpdf/QPDFJob.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/JSONHandler.hh> |
3
| #include <qpdf/JSONHandler.hh> |
|
3
| #include <qpdf/QPDFUsage.hh> |
4
| #include <qpdf/QPDFUsage.hh> |
|
4
| #include <qpdf/QUtil.hh> |
5
| #include <qpdf/QUtil.hh> |
|
1
| #include <qpdf/QPDFMatrix.hh> |
1
| #include <qpdf/QPDFMatrix.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <algorithm> |
4
| #include <algorithm> |
|
4
| |
5
| |
|
1
| #include <qpdf/QPDFNameTreeObjectHelper.hh> |
1
| #include <qpdf/QPDFNameTreeObjectHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/NNTree.hh> |
3
| #include <qpdf/NNTree.hh> |
|
3
| |
4
| |
|
4
| class NameTreeDetails: public NNTreeDetails |
5
| class NameTreeDetails: public NNTreeDetails |
|
1
| #include <qpdf/QPDFNumberTreeObjectHelper.hh> |
1
| #include <qpdf/QPDFNumberTreeObjectHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/NNTree.hh> |
3
| #include <qpdf/NNTree.hh> |
|
3
| #include <qpdf/QIntC.hh> |
4
| #include <qpdf/QIntC.hh> |
|
4
| |
5
| |
|
1
| #include <qpdf/QPDFObjGen.hh> |
1
| #include <qpdf/QPDFObjGen.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| |
4
| |
|
4
| QPDFObjGen::QPDFObjGen() : |
5
| QPDFObjGen::QPDFObjGen() : |
|
1
| #include <qpdf/QPDFOutlineDocumentHelper.hh> |
1
| #include <qpdf/QPDFOutlineDocumentHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| |
4
| |
|
4
| QPDFOutlineDocumentHelper::Members::~Members() |
5
| QPDFOutlineDocumentHelper::Members::~Members() |
|
1
| #include <qpdf/QPDFOutlineObjectHelper.hh> |
1
| #include <qpdf/QPDFOutlineObjectHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QPDFOutlineDocumentHelper.hh> |
3
| #include <qpdf/QPDFOutlineDocumentHelper.hh> |
|
3
| #include <qpdf/QTC.hh> |
4
| #include <qpdf/QTC.hh> |
|
4
| |
5
| |
|
1
| #include <qpdf/QPDFPageDocumentHelper.hh> |
1
| #include <qpdf/QPDFPageDocumentHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QPDFAcroFormDocumentHelper.hh> |
3
| #include <qpdf/QPDFAcroFormDocumentHelper.hh> |
|
3
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
4
| #include <qpdf/QTC.hh> |
5
| #include <qpdf/QTC.hh> |
|
1
| #include <qpdf/QPDFPageLabelDocumentHelper.hh> |
1
| #include <qpdf/QPDFPageLabelDocumentHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| |
4
| |
|
4
| QPDFPageLabelDocumentHelper::Members::~Members() |
5
| QPDFPageLabelDocumentHelper::Members::~Members() |
|
1
| #include <qpdf/QPDFPageObjectHelper.hh> |
1
| #include <qpdf/QPDFPageObjectHelper.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QTC.hh> |
3
| #include <qpdf/QTC.hh> |
|
3
| #include <qpdf/QPDF.hh> |
4
| #include <qpdf/QPDF.hh> |
|
4
| #include <qpdf/Pl_Concatenate.hh> |
5
| #include <qpdf/Pl_Concatenate.hh> |
|
1
| #include <qpdf/QPDFSystemError.hh> |
1
| #include <qpdf/QPDFSystemError.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <string.h> |
4
| #include <string.h> |
|
4
| |
5
| |
|
1
| #include <qpdf/qpdf-config.h> // include first for large file support |
1
| #include <qpdf/qpdf-config.h> // include first for large file support |
|
| |
2
| + |
|
2
| #include <qpdf/QPDFWriter.hh> |
3
| #include <qpdf/QPDFWriter.hh> |
|
3
| |
4
| |
|
4
| #include <assert.h> |
5
| #include <assert.h> |
|
1
| #include <qpdf/QPDFXRefEntry.hh> |
1
| #include <qpdf/QPDFXRefEntry.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QPDFExc.hh> |
3
| #include <qpdf/QPDFExc.hh> |
|
3
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
4
| #include <qpdf/QIntC.hh> |
5
| #include <qpdf/QIntC.hh> |
|
1
| #include <qpdf/QPDF_Array.hh> |
1
| #include <qpdf/QPDF_Array.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QUtil.hh> |
3
| #include <qpdf/QUtil.hh> |
|
3
| #include <qpdf/QIntC.hh> |
4
| #include <qpdf/QIntC.hh> |
|
4
| #include <stdexcept> |
5
| #include <stdexcept> |
|
1
| #include <qpdf/QPDF_Reserved.hh> |
1
| #include <qpdf/QPDF_Reserved.hh> |
|
| |
2
| + |
|
2
| #include <stdexcept> |
3
| #include <stdexcept> |
|
3
| |
4
| |
|
4
| QPDF_Reserved::~QPDF_Reserved() |
5
| QPDF_Reserved::~QPDF_Reserved() |
|
| @@ -2,6 +2,7 @@ |
| @@ -2,6 +2,7 @@ |
|
2
| #include <qpdf/qpdf-config.h> |
2
| #include <qpdf/qpdf-config.h> |
|
3
| |
3
| |
|
4
| #include <qpdf/QUtil.hh> |
4
| #include <qpdf/QUtil.hh> |
|
| |
5
| + |
|
5
| #include <qpdf/PointerHolder.hh> |
6
| #include <qpdf/PointerHolder.hh> |
|
6
| #include <qpdf/CryptoRandomDataProvider.hh> |
7
| #include <qpdf/CryptoRandomDataProvider.hh> |
|
7
| #include <qpdf/QPDFSystemError.hh> |
8
| #include <qpdf/QPDFSystemError.hh> |
|
1
| #include <qpdf/RC4.hh> |
1
| #include <qpdf/RC4.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QPDFCryptoProvider.hh> |
3
| #include <qpdf/QPDFCryptoProvider.hh> |
|
3
| |
4
| |
|
4
| #include <string.h> |
5
| #include <string.h> |
|
1
| #include <qpdf/RC4_native.hh> |
1
| #include <qpdf/RC4_native.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/QIntC.hh> |
3
| #include <qpdf/QIntC.hh> |
|
3
| |
4
| |
|
4
| #include <string.h> |
5
| #include <string.h> |
|
1
| #include <qpdf/SF_FlateLzwDecode.hh> |
1
| #include <qpdf/SF_FlateLzwDecode.hh> |
|
| |
2
| + |
|
2
| #include <qpdf/Pl_PNGFilter.hh> |
3
| #include <qpdf/Pl_PNGFilter.hh> |
|
3
| #include <qpdf/Pl_TIFFPredictor.hh> |
4
| #include <qpdf/Pl_TIFFPredictor.hh> |
|
4
| #include <qpdf/Pl_Flate.hh> |
5
| #include <qpdf/Pl_Flate.hh> |
|
1
| #include <qpdf/SHA2_native.hh> |
1
| #include <qpdf/SHA2_native.hh> |
|
| |
2
| + |
|
2
| #include <stdexcept> |
3
| #include <stdexcept> |
|
3
| #include <cstdio> |
4
| #include <cstdio> |
|
4
| #include <qpdf/PointerHolder.hh> |
5
| #include <qpdf/PointerHolder.hh> |
|
1
| #include <qpdf/SparseOHArray.hh> |
1
| #include <qpdf/SparseOHArray.hh> |
|
| |
2
| + |
|
2
| #include <stdexcept> |
3
| #include <stdexcept> |
|
3
| |
4
| |
|
4
| SparseOHArray::SparseOHArray() : |
5
| SparseOHArray::SparseOHArray() : |
|
1
| #include <qpdf/qpdf-c.h> |
1
| #include <qpdf/qpdf-c.h> |
|
2
| |
2
| |
|
3
| #include <qpdf/QPDF.hh> |
3
| #include <qpdf/QPDF.hh> |
|
| |
4
| + |
|
4
| #include <qpdf/QPDFWriter.hh> |
5
| #include <qpdf/QPDFWriter.hh> |
|
5
| #include <qpdf/QTC.hh> |
6
| #include <qpdf/QTC.hh> |
|
6
| #include <qpdf/QPDFExc.hh> |
7
| #include <qpdf/QPDFExc.hh> |