OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
8 #define CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 8 #define CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <unordered_map> | 12 #include <unordered_map> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "core/include/fpdfapi/fpdf_page.h" | 15 #include "core/include/fpdfapi/fpdf_page.h" |
16 #include "core/include/fpdfapi/fpdf_pageobj.h" | 16 #include "core/include/fpdfapi/fpdf_pageobj.h" |
17 | 17 |
18 class CPDF_AllStates; | 18 class CPDF_AllStates; |
19 class CPDF_ParseOptions; | 19 class CPDF_ParseOptions; |
| 20 class CPDF_IccProfile; |
20 | 21 |
21 #define PARSE_STEP_LIMIT 100 | 22 #define PARSE_STEP_LIMIT 100 |
22 | 23 |
23 class CPDF_StreamParser { | 24 class CPDF_StreamParser { |
24 public: | 25 public: |
25 enum SyntaxType { EndOfData, Number, Keyword, Name, Others }; | 26 enum SyntaxType { EndOfData, Number, Keyword, Name, Others }; |
26 | 27 |
27 CPDF_StreamParser(const uint8_t* pData, FX_DWORD dwSize); | 28 CPDF_StreamParser(const uint8_t* pData, FX_DWORD dwSize); |
28 ~CPDF_StreamParser(); | 29 ~CPDF_StreamParser(); |
29 | 30 |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 | 450 |
450 private: | 451 private: |
451 CPDF_ColorSpace* m_pBaseCS; | 452 CPDF_ColorSpace* m_pBaseCS; |
452 CPDF_CountedColorSpace* m_pCountedBaseCS; | 453 CPDF_CountedColorSpace* m_pCountedBaseCS; |
453 }; | 454 }; |
454 | 455 |
455 void PDF_ReplaceAbbr(CPDF_Object* pObj); | 456 void PDF_ReplaceAbbr(CPDF_Object* pObj); |
456 bool IsPathOperator(const uint8_t* buf, size_t len); | 457 bool IsPathOperator(const uint8_t* buf, size_t len); |
457 | 458 |
458 #endif // CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 459 #endif // CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
OLD | NEW |