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_TAGGED_H_ | 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ |
8 #define CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ | 8 #define CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ |
9 | 9 |
10 class CPDF_Document; | 10 class CPDF_Document; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 virtual const CFX_ByteString& GetType() const = 0; | 64 virtual const CFX_ByteString& GetType() const = 0; |
65 | 65 |
66 virtual CPDF_StructElement* GetParent() const = 0; | 66 virtual CPDF_StructElement* GetParent() const = 0; |
67 | 67 |
68 virtual CPDF_Dictionary* GetDict() const = 0; | 68 virtual CPDF_Dictionary* GetDict() const = 0; |
69 | 69 |
70 virtual int CountKids() const = 0; | 70 virtual int CountKids() const = 0; |
71 | 71 |
72 virtual const CPDF_StructKid& GetKid(int index) const = 0; | 72 virtual const CPDF_StructKid& GetKid(int index) const = 0; |
73 | 73 |
74 virtual CFX_PtrArray* GetObjectArray() = 0; | |
75 | |
76 virtual CPDF_Object* GetAttr(const CFX_ByteStringC& owner, | 74 virtual CPDF_Object* GetAttr(const CFX_ByteStringC& owner, |
77 const CFX_ByteStringC& name, | 75 const CFX_ByteStringC& name, |
78 FX_BOOL bInheritable = FALSE, | 76 FX_BOOL bInheritable = FALSE, |
79 FX_FLOAT fLevel = 0.0F) = 0; | 77 FX_FLOAT fLevel = 0.0F) = 0; |
80 | 78 |
81 virtual CFX_ByteString GetName(const CFX_ByteStringC& owner, | 79 virtual CFX_ByteString GetName(const CFX_ByteStringC& owner, |
82 const CFX_ByteStringC& name, | 80 const CFX_ByteStringC& name, |
83 const CFX_ByteStringC& default_value, | 81 const CFX_ByteStringC& default_value, |
84 FX_BOOL bInheritable = FALSE, | 82 FX_BOOL bInheritable = FALSE, |
85 int subindex = -1) = 0; | 83 int subindex = -1) = 0; |
(...skipping 11 matching lines...) Expand all Loading... |
97 int subindex = -1) = 0; | 95 int subindex = -1) = 0; |
98 | 96 |
99 virtual int GetInteger(const CFX_ByteStringC& owner, | 97 virtual int GetInteger(const CFX_ByteStringC& owner, |
100 const CFX_ByteStringC& name, | 98 const CFX_ByteStringC& name, |
101 int default_value, | 99 int default_value, |
102 FX_BOOL bInheritable = FALSE, | 100 FX_BOOL bInheritable = FALSE, |
103 int subindex = -1) = 0; | 101 int subindex = -1) = 0; |
104 }; | 102 }; |
105 | 103 |
106 #endif // CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ | 104 #endif // CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ |
OLD | NEW |