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_INCLUDE_FPDFAPI_CPDF_DOCUMENT_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_CPDF_DOCUMENT_H_ |
8 #define CORE_INCLUDE_FPDFAPI_CPDF_DOCUMENT_H_ | 8 #define CORE_INCLUDE_FPDFAPI_CPDF_DOCUMENT_H_ |
9 | 9 |
10 #include "core/include/fpdfapi/fpdf_objects.h" | 10 #include "core/include/fpdfapi/cpdf_indirect_object_holder.h" |
| 11 #include "core/include/fpdfapi/cpdf_object.h" |
11 #include "core/include/fxcrt/fx_basic.h" | 12 #include "core/include/fxcrt/fx_basic.h" |
12 | 13 |
13 class CFX_Font; | 14 class CFX_Font; |
| 15 class CFX_Matrix; |
14 class CPDF_ColorSpace; | 16 class CPDF_ColorSpace; |
15 class CPDF_DocPageData; | 17 class CPDF_DocPageData; |
16 class CPDF_DocRenderData; | 18 class CPDF_DocRenderData; |
17 class CPDF_Font; | 19 class CPDF_Font; |
18 class CPDF_FontEncoding; | 20 class CPDF_FontEncoding; |
19 class CPDF_IccProfile; | 21 class CPDF_IccProfile; |
20 class CPDF_Image; | 22 class CPDF_Image; |
21 class CPDF_Pattern; | 23 class CPDF_Pattern; |
| 24 class CPDF_StreamAcc; |
22 | 25 |
23 #define FPDFPERM_PRINT 0x0004 | 26 #define FPDFPERM_PRINT 0x0004 |
24 #define FPDFPERM_MODIFY 0x0008 | 27 #define FPDFPERM_MODIFY 0x0008 |
25 #define FPDFPERM_EXTRACT 0x0010 | 28 #define FPDFPERM_EXTRACT 0x0010 |
26 #define FPDFPERM_ANNOT_FORM 0x0020 | 29 #define FPDFPERM_ANNOT_FORM 0x0020 |
27 #define FPDFPERM_FILL_FORM 0x0100 | 30 #define FPDFPERM_FILL_FORM 0x0100 |
28 #define FPDFPERM_EXTRACT_ACCESS 0x0200 | 31 #define FPDFPERM_EXTRACT_ACCESS 0x0200 |
29 #define FPDFPERM_ASSEMBLE 0x0400 | 32 #define FPDFPERM_ASSEMBLE 0x0400 |
30 #define FPDFPERM_PRINT_HIGH 0x0800 | 33 #define FPDFPERM_PRINT_HIGH 0x0800 |
31 #define FPDF_PAGE_MAX_NUM 0xFFFFF | 34 #define FPDF_PAGE_MAX_NUM 0xFFFFF |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 CFX_ByteString m_ID2; | 128 CFX_ByteString m_ID2; |
126 FX_BOOL m_bLinearized; | 129 FX_BOOL m_bLinearized; |
127 FX_DWORD m_dwFirstPageNo; | 130 FX_DWORD m_dwFirstPageNo; |
128 FX_DWORD m_dwFirstPageObjNum; | 131 FX_DWORD m_dwFirstPageObjNum; |
129 CFX_DWordArray m_PageList; | 132 CFX_DWordArray m_PageList; |
130 CPDF_DocPageData* m_pDocPage; | 133 CPDF_DocPageData* m_pDocPage; |
131 CPDF_DocRenderData* m_pDocRender; | 134 CPDF_DocRenderData* m_pDocRender; |
132 }; | 135 }; |
133 | 136 |
134 #endif // CORE_INCLUDE_FPDFAPI_CPDF_DOCUMENT_H_ | 137 #endif // CORE_INCLUDE_FPDFAPI_CPDF_DOCUMENT_H_ |
OLD | NEW |