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_PAGE_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
9 | 9 |
10 #include <list> | 10 #include <list> |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "core/include/fpdfapi/fpdf_parser.h" | 13 #include "core/include/fpdfapi/fpdf_parser.h" |
14 #include "core/include/fpdfapi/fpdf_resource.h" | 14 #include "core/include/fpdfapi/fpdf_resource.h" |
15 #include "core/include/fxge/fx_dib.h" | 15 #include "core/include/fxge/fx_dib.h" |
16 | 16 |
17 class CPDF_Page; | 17 class CPDF_Page; |
18 class CPDF_Form; | 18 class CPDF_Form; |
19 class CPDF_ParseOptions; | 19 class CPDF_ParseOptions; |
20 class CPDF_PageObject; | 20 class CPDF_PageObject; |
21 class CPDF_PageRenderCache; | 21 class CPDF_PageRenderCache; |
22 class CPDF_StreamFilter; | |
23 class CPDF_AllStates; | 22 class CPDF_AllStates; |
24 class CPDF_ContentParser; | 23 class CPDF_ContentParser; |
25 class CPDF_StreamContentParser; | 24 class CPDF_ImageObject; |
26 | 25 |
27 #define PDFTRANS_GROUP 0x0100 | 26 #define PDFTRANS_GROUP 0x0100 |
28 #define PDFTRANS_ISOLATED 0x0200 | 27 #define PDFTRANS_ISOLATED 0x0200 |
29 #define PDFTRANS_KNOCKOUT 0x0400 | 28 #define PDFTRANS_KNOCKOUT 0x0400 |
30 | 29 |
31 class CPDF_PageObjectList : public std::list<std::unique_ptr<CPDF_PageObject>> { | 30 class CPDF_PageObjectList : public std::list<std::unique_ptr<CPDF_PageObject>> { |
32 public: | 31 public: |
33 // Linear complexity, to be avoided except as needed by public APIs. | 32 // Linear complexity, to be avoided except as needed by public APIs. |
34 CPDF_PageObject* GetPageObjectByIndex(int index); | 33 CPDF_PageObject* GetPageObjectByIndex(int index); |
35 }; | 34 }; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 CFX_Matrix& matrix); | 161 CFX_Matrix& matrix); |
163 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, | 162 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, |
164 const FX_CHAR* szType); | 163 const FX_CHAR* szType); |
165 | 164 |
166 CPDF_Page* m_pPage; | 165 CPDF_Page* m_pPage; |
167 CPDF_Document* m_pDocument; | 166 CPDF_Document* m_pDocument; |
168 CFX_ArrayTemplate<CPDF_PageObject*> m_pageObjects; | 167 CFX_ArrayTemplate<CPDF_PageObject*> m_pageObjects; |
169 }; | 168 }; |
170 | 169 |
171 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ | 170 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
OLD | NEW |