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_FPDFDOC_FPDF_DOC_H_ | 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "core/include/fpdfapi/cpdf_dictionary.h" | 14 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
15 #include "core/include/fpdfapi/fpdf_parser_decode.h" | 15 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h" |
16 #include "core/include/fpdfapi/fpdf_render.h" | 16 #include "core/fpdfapi/fpdf_parser/ipdf_occontext.h" |
| 17 #include "core/include/fxge/fx_dib.h" |
17 | 18 |
18 class CFDF_Document; | 19 class CFDF_Document; |
19 class CFieldTree; | 20 class CFieldTree; |
20 class CPDF_AAction; | 21 class CPDF_AAction; |
21 class CPDF_Action; | 22 class CPDF_Action; |
22 class CPDF_ActionFields; | 23 class CPDF_ActionFields; |
23 class CPDF_Annot; | 24 class CPDF_Annot; |
24 class CPDF_AnnotList; | 25 class CPDF_AnnotList; |
25 class CPDF_ApSettings; | 26 class CPDF_ApSettings; |
26 class CPDF_Bookmark; | 27 class CPDF_Bookmark; |
27 class CPDF_BookmarkTree; | 28 class CPDF_BookmarkTree; |
28 class CPDF_DefaultAppearance; | 29 class CPDF_DefaultAppearance; |
29 class CPDF_Dest; | 30 class CPDF_Dest; |
| 31 class CPDF_Document; |
30 class CPDF_DocJSActions; | 32 class CPDF_DocJSActions; |
31 class CPDF_FileSpec; | 33 class CPDF_FileSpec; |
32 class CPDF_FormControl; | 34 class CPDF_FormControl; |
33 class CPDF_FormField; | 35 class CPDF_FormField; |
34 class CPDF_FormNotify; | 36 class CPDF_FormNotify; |
35 class CPDF_IconFit; | 37 class CPDF_IconFit; |
36 class CPDF_InterForm; | 38 class CPDF_InterForm; |
37 class CPDF_Link; | 39 class CPDF_Link; |
38 class CPDF_Metadata; | 40 class CPDF_Metadata; |
39 class CPDF_OCContext; | 41 class CPDF_OCContext; |
40 class CPDF_Page; | 42 class CPDF_Page; |
| 43 class CPDF_Font; |
| 44 class CPDF_Form; |
41 class CPDF_RenderOptions; | 45 class CPDF_RenderOptions; |
| 46 class CPDF_RenderContext; |
42 class CPDF_ViewerPreferences; | 47 class CPDF_ViewerPreferences; |
43 class CXML_Element; | 48 class CXML_Element; |
| 49 class CFX_RenderDevice; |
44 | 50 |
45 class CPDF_NameTree { | 51 class CPDF_NameTree { |
46 public: | 52 public: |
47 explicit CPDF_NameTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} | 53 explicit CPDF_NameTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} |
48 CPDF_NameTree(CPDF_Document* pDoc, const CFX_ByteStringC& category); | 54 CPDF_NameTree(CPDF_Document* pDoc, const CFX_ByteStringC& category); |
49 | 55 |
50 CPDF_Object* LookupValue(int nIndex, CFX_ByteString& csName) const; | 56 CPDF_Object* LookupValue(int nIndex, CFX_ByteString& csName) const; |
51 CPDF_Object* LookupValue(const CFX_ByteString& csName) const; | 57 CPDF_Object* LookupValue(const CFX_ByteString& csName) const; |
52 CPDF_Array* LookupNamedDest(CPDF_Document* pDoc, | 58 CPDF_Array* LookupNamedDest(CPDF_Document* pDoc, |
53 const CFX_ByteStringC& sName); | 59 const CFX_ByteStringC& sName); |
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; | 1048 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; |
1043 | 1049 |
1044 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; | 1050 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; |
1045 | 1051 |
1046 CPDF_Dictionary* const m_pDict; | 1052 CPDF_Dictionary* const m_pDict; |
1047 }; | 1053 }; |
1048 | 1054 |
1049 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); | 1055 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); |
1050 | 1056 |
1051 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 1057 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
OLD | NEW |