OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_ |
8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 CFX_ByteString ReadString(); | 76 CFX_ByteString ReadString(); |
77 CFX_ByteString ReadHexString(); | 77 CFX_ByteString ReadHexString(); |
78 unsigned int ReadEOLMarkers(FX_FILESIZE pos); | 78 unsigned int ReadEOLMarkers(FX_FILESIZE pos); |
79 CPDF_Stream* ReadStream(CPDF_Dictionary* pDict, | 79 CPDF_Stream* ReadStream(CPDF_Dictionary* pDict, |
80 uint32_t objnum, | 80 uint32_t objnum, |
81 uint32_t gennum); | 81 uint32_t gennum); |
82 | 82 |
83 FX_FILESIZE m_Pos; | 83 FX_FILESIZE m_Pos; |
84 int m_MetadataObjnum; | 84 int m_MetadataObjnum; |
85 IFX_FileRead* m_pFileAccess; | 85 IFX_FileRead* m_pFileAccess; |
86 uint32_t m_HeaderOffset; | 86 FX_FILESIZE m_HeaderOffset; |
87 FX_FILESIZE m_FileLen; | 87 FX_FILESIZE m_FileLen; |
88 uint8_t* m_pFileBuf; | 88 uint8_t* m_pFileBuf; |
89 uint32_t m_BufSize; | 89 uint32_t m_BufSize; |
90 FX_FILESIZE m_BufOffset; | 90 FX_FILESIZE m_BufOffset; |
91 std::unique_ptr<IPDF_CryptoHandler> m_pCryptoHandler; | 91 std::unique_ptr<IPDF_CryptoHandler> m_pCryptoHandler; |
92 uint8_t m_WordBuffer[257]; | 92 uint8_t m_WordBuffer[257]; |
93 uint32_t m_WordSize; | 93 uint32_t m_WordSize; |
94 }; | 94 }; |
95 | 95 |
96 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_ | 96 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_ |
OLD | NEW |