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_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ |
8 #define CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 | 12 |
13 #include "core/include/fxcrt/fx_coordinates.h" | 13 #include "core/include/fxcrt/fx_coordinates.h" |
14 #include "core/include/fxcrt/fx_system.h" | 14 #include "core/include/fxcrt/fx_system.h" |
15 | 15 |
16 class CPDF_Array; | 16 class CPDF_Array; |
17 class CPDF_Boolean; | 17 class CPDF_Boolean; |
18 class CPDF_CryptoHandler; | |
19 class CPDF_Dictionary; | 18 class CPDF_Dictionary; |
20 class CPDF_Document; | |
21 class CPDF_IndirectObjectHolder; | 19 class CPDF_IndirectObjectHolder; |
22 class CPDF_Name; | 20 class CPDF_Name; |
23 class CPDF_Null; | 21 class CPDF_Null; |
24 class CPDF_Number; | 22 class CPDF_Number; |
25 class CPDF_Parser; | 23 class CPDF_Parser; |
26 class CPDF_Reference; | 24 class CPDF_Reference; |
27 class CPDF_Stream; | 25 class CPDF_Stream; |
28 class CPDF_StreamAcc; | 26 class CPDF_StreamAcc; |
29 class CPDF_StreamFilter; | |
30 class CPDF_String; | 27 class CPDF_String; |
31 class IFX_FileRead; | 28 class IFX_FileRead; |
32 | 29 |
33 class CPDF_Object { | 30 class CPDF_Object { |
34 public: | 31 public: |
35 enum Type { | 32 enum Type { |
36 BOOLEAN = 1, | 33 BOOLEAN = 1, |
37 NUMBER, | 34 NUMBER, |
38 STRING, | 35 STRING, |
39 NAME, | 36 NAME, |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 iterator end() { return m_IndirectObjs.end(); } | 592 iterator end() { return m_IndirectObjs.end(); } |
596 const_iterator end() const { return m_IndirectObjs.end(); } | 593 const_iterator end() const { return m_IndirectObjs.end(); } |
597 | 594 |
598 protected: | 595 protected: |
599 CPDF_Parser* m_pParser; | 596 CPDF_Parser* m_pParser; |
600 FX_DWORD m_LastObjNum; | 597 FX_DWORD m_LastObjNum; |
601 std::map<FX_DWORD, CPDF_Object*> m_IndirectObjs; | 598 std::map<FX_DWORD, CPDF_Object*> m_IndirectObjs; |
602 }; | 599 }; |
603 | 600 |
604 #endif // CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ | 601 #endif // CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ |
OLD | NEW |