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_SERIAL_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ |
8 #define CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ |
9 | 9 |
10 #include "fpdf_page.h" | 10 #include "fpdf_page.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 CPDF_ClipPath m_LastClipPath; | 59 CPDF_ClipPath m_LastClipPath; |
60 | 60 |
61 CPDF_GraphState m_LastGraphState; | 61 CPDF_GraphState m_LastGraphState; |
62 | 62 |
63 CPDF_ColorState m_LastColorState; | 63 CPDF_ColorState m_LastColorState; |
64 | 64 |
65 CPDF_TextState m_LastTextState; | 65 CPDF_TextState m_LastTextState; |
66 | 66 |
67 CPDF_GeneralState m_LastGeneralState; | 67 CPDF_GeneralState m_LastGeneralState; |
68 | |
69 CPDF_PageObjects* m_pCurPage; | |
70 }; | 68 }; |
71 class CPDF_PageArchiveLoader : public CPDF_ObjArchiveLoader | 69 class CPDF_PageArchiveLoader : public CPDF_ObjArchiveLoader |
72 { | 70 { |
73 public: | 71 public: |
74 | 72 |
75 CPDF_PageArchiveLoader(CPDF_PageObjects* pPageObjs, const uint8_t* pData, FX
_DWORD dwSize); | 73 CPDF_PageArchiveLoader(CPDF_PageObjects* pPageObjs, const uint8_t* pData, FX
_DWORD dwSize); |
76 | 74 |
77 friend CPDF_PageArchiveLoader& operator >> (CPDF_PageArchiveLoader& ar,
CPDF_PageObject*& pObj); | 75 friend CPDF_PageArchiveLoader& operator >> (CPDF_PageArchiveLoader& ar,
CPDF_PageObject*& pObj); |
78 | 76 |
79 | 77 |
(...skipping 16 matching lines...) Expand all Loading... |
96 CPDF_ClipPath m_LastClipPath; | 94 CPDF_ClipPath m_LastClipPath; |
97 | 95 |
98 CPDF_GraphState m_LastGraphState; | 96 CPDF_GraphState m_LastGraphState; |
99 | 97 |
100 CPDF_ColorState m_LastColorState; | 98 CPDF_ColorState m_LastColorState; |
101 | 99 |
102 CPDF_TextState m_LastTextState; | 100 CPDF_TextState m_LastTextState; |
103 | 101 |
104 CPDF_GeneralState m_LastGeneralState; | 102 CPDF_GeneralState m_LastGeneralState; |
105 | 103 |
106 CPDF_PageObjects* m_pCurPage; | |
107 | |
108 CFX_MapPtrToPtr m_ObjectMap; | 104 CFX_MapPtrToPtr m_ObjectMap; |
109 }; | 105 }; |
110 #define FPDFCREATE_INCREMENTAL 1 | 106 #define FPDFCREATE_INCREMENTAL 1 |
111 #define FPDFCREATE_NO_ORIGINAL 2 | 107 #define FPDFCREATE_NO_ORIGINAL 2 |
112 #define FPDFCREATE_PROGRESSIVE 4 | 108 #define FPDFCREATE_PROGRESSIVE 4 |
113 #define FPDFCREATE_OBJECTSTREAM 8 | 109 #define FPDFCREATE_OBJECTSTREAM 8 |
114 class CPDF_Creator | 110 class CPDF_Creator |
115 { | 111 { |
116 public: | 112 public: |
117 | 113 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 CFX_DWordArray m_NewObjNumArray; | 191 CFX_DWordArray m_NewObjNumArray; |
196 | 192 |
197 CPDF_Array* m_pIDArray; | 193 CPDF_Array* m_pIDArray; |
198 | 194 |
199 int32_t m_FileVersion; | 195 int32_t m_FileVersion; |
200 friend class CPDF_ObjectStream; | 196 friend class CPDF_ObjectStream; |
201 friend class CPDF_XRefStream; | 197 friend class CPDF_XRefStream; |
202 }; | 198 }; |
203 | 199 |
204 #endif // CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ | 200 #endif // CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ |
OLD | NEW |