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_FPDFDOC_INCLUDE_FPDF_DOC_H_ | 7 #ifndef CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ |
8 #define CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ | 8 #define CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 30 matching lines...) Expand all Loading... |
41 class CPDF_Page; | 41 class CPDF_Page; |
42 class CPDF_PageObject; | 42 class CPDF_PageObject; |
43 class CPDF_Font; | 43 class CPDF_Font; |
44 class CPDF_Form; | 44 class CPDF_Form; |
45 class CPDF_RenderOptions; | 45 class CPDF_RenderOptions; |
46 class CPDF_RenderContext; | 46 class CPDF_RenderContext; |
47 class CPDF_ViewerPreferences; | 47 class CPDF_ViewerPreferences; |
48 class CXML_Element; | 48 class CXML_Element; |
49 class CFX_RenderDevice; | 49 class CFX_RenderDevice; |
50 | 50 |
| 51 enum class BorderStyle { SOLID, DASH, BEVELED, INSET, UNDERLINE }; |
| 52 |
51 class CPDF_NameTree { | 53 class CPDF_NameTree { |
52 public: | 54 public: |
53 explicit CPDF_NameTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} | 55 explicit CPDF_NameTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} |
54 CPDF_NameTree(CPDF_Document* pDoc, const CFX_ByteString& category); | 56 CPDF_NameTree(CPDF_Document* pDoc, const CFX_ByteString& category); |
55 | 57 |
56 CPDF_Object* LookupValue(int nIndex, CFX_ByteString& csName) const; | 58 CPDF_Object* LookupValue(int nIndex, CFX_ByteString& csName) const; |
57 CPDF_Object* LookupValue(const CFX_ByteString& csName) const; | 59 CPDF_Object* LookupValue(const CFX_ByteString& csName) const; |
58 CPDF_Array* LookupNamedDest(CPDF_Document* pDoc, const CFX_ByteString& sName); | 60 CPDF_Array* LookupNamedDest(CPDF_Document* pDoc, const CFX_ByteString& sName); |
59 int GetIndex(const CFX_ByteString& csName) const; | 61 int GetIndex(const CFX_ByteString& csName) const; |
60 size_t GetCount() const; | 62 size_t GetCount() const; |
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 FX_FLOAT fc[4], | 1017 FX_FLOAT fc[4], |
1016 const CFX_ByteString& csEntry) const; | 1018 const CFX_ByteString& csEntry) const; |
1017 | 1019 |
1018 CFX_WideString GetCaption(const CFX_ByteString& csEntry) const; | 1020 CFX_WideString GetCaption(const CFX_ByteString& csEntry) const; |
1019 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry) const; | 1021 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry) const; |
1020 | 1022 |
1021 CPDF_Dictionary* const m_pDict; | 1023 CPDF_Dictionary* const m_pDict; |
1022 }; | 1024 }; |
1023 | 1025 |
1024 #endif // CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ | 1026 #endif // CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ |
OLD | NEW |