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> |
11 #include <memory> | 11 #include <memory> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "core/fpdfdoc/include/fpdf_tagged.h" | 14 #include "core/fpdfdoc/fpdf_tagged.h" |
15 #include "core/fxcrt/include/cfx_retain_ptr.h" | 15 #include "core/fxcrt/include/cfx_retain_ptr.h" |
16 #include "third_party/base/stl_util.h" | 16 #include "third_party/base/stl_util.h" |
17 | 17 |
18 class CPDF_StructElementImpl; | 18 class CPDF_StructElementImpl; |
19 | 19 |
20 class CPDF_StructTreeImpl final : public IPDF_StructTree { | 20 class CPDF_StructTreeImpl final : public IPDF_StructTree { |
21 public: | 21 public: |
22 explicit CPDF_StructTreeImpl(const CPDF_Document* pDoc); | 22 explicit CPDF_StructTreeImpl(const CPDF_Document* pDoc); |
23 ~CPDF_StructTreeImpl() override; | 23 ~CPDF_StructTreeImpl() override; |
24 | 24 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 CPDF_StructTreeImpl* const m_pTree; | 98 CPDF_StructTreeImpl* const m_pTree; |
99 CPDF_StructElementImpl* const m_pParent; | 99 CPDF_StructElementImpl* const m_pParent; |
100 CPDF_Dictionary* const m_pDict; | 100 CPDF_Dictionary* const m_pDict; |
101 CFX_ByteString m_Type; | 101 CFX_ByteString m_Type; |
102 std::vector<CPDF_StructKid> m_Kids; | 102 std::vector<CPDF_StructKid> m_Kids; |
103 | 103 |
104 friend class CPDF_StructTreeImpl; | 104 friend class CPDF_StructTreeImpl; |
105 }; | 105 }; |
106 | 106 |
107 #endif // CORE_FPDFDOC_TAGGED_INT_H_ | 107 #endif // CORE_FPDFDOC_TAGGED_INT_H_ |
OLD | NEW |