| 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_TAGGED_INT_H_ | 7 #ifndef CORE_FPDFDOC_TAGGED_INT_H_ |
| 8 #define CORE_FPDFDOC_TAGGED_INT_H_ | 8 #define CORE_FPDFDOC_TAGGED_INT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 FX_FLOAT default_value, | 75 FX_FLOAT default_value, |
| 76 FX_BOOL bInheritable = FALSE, | 76 FX_BOOL bInheritable = FALSE, |
| 77 int subindex = -1) override; | 77 int subindex = -1) override; |
| 78 int GetInteger(const CFX_ByteStringC& owner, | 78 int GetInteger(const CFX_ByteStringC& owner, |
| 79 const CFX_ByteStringC& name, | 79 const CFX_ByteStringC& name, |
| 80 int default_value, | 80 int default_value, |
| 81 FX_BOOL bInheritable = FALSE, | 81 FX_BOOL bInheritable = FALSE, |
| 82 int subindex = -1) override; | 82 int subindex = -1) override; |
| 83 | 83 |
| 84 void LoadKids(CPDF_Dictionary* pDict); | 84 void LoadKids(CPDF_Dictionary* pDict); |
| 85 void LoadKid(FX_DWORD PageObjNum, CPDF_Object* pObj, CPDF_StructKid* pKid); | 85 void LoadKid(uint32_t PageObjNum, CPDF_Object* pObj, CPDF_StructKid* pKid); |
| 86 CPDF_Object* GetAttr(const CFX_ByteStringC& owner, | 86 CPDF_Object* GetAttr(const CFX_ByteStringC& owner, |
| 87 const CFX_ByteStringC& name, | 87 const CFX_ByteStringC& name, |
| 88 FX_BOOL bInheritable, | 88 FX_BOOL bInheritable, |
| 89 int subindex); | 89 int subindex); |
| 90 CPDF_StructElementImpl* Retain(); | 90 CPDF_StructElementImpl* Retain(); |
| 91 void Release(); | 91 void Release(); |
| 92 | 92 |
| 93 protected: | 93 protected: |
| 94 ~CPDF_StructElementImpl() override; | 94 ~CPDF_StructElementImpl() override; |
| 95 | 95 |
| 96 CPDF_StructTreeImpl* m_pTree; | 96 CPDF_StructTreeImpl* m_pTree; |
| 97 CFX_ByteString m_Type; | 97 CFX_ByteString m_Type; |
| 98 CPDF_StructElementImpl* m_pParent; | 98 CPDF_StructElementImpl* m_pParent; |
| 99 CPDF_Dictionary* m_pDict; | 99 CPDF_Dictionary* m_pDict; |
| 100 CFX_ArrayTemplate<CPDF_StructKid> m_Kids; | 100 CFX_ArrayTemplate<CPDF_StructKid> m_Kids; |
| 101 int m_RefCount; | 101 int m_RefCount; |
| 102 | 102 |
| 103 friend class CPDF_StructTreeImpl; | 103 friend class CPDF_StructTreeImpl; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 #endif // CORE_FPDFDOC_TAGGED_INT_H_ | 106 #endif // CORE_FPDFDOC_TAGGED_INT_H_ |
| OLD | NEW |