OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CPVT_SECTIONINFO_H_ | 7 #ifndef CORE_FPDFDOC_CPVT_SECTIONINFO_H_ |
8 #define CORE_FPDFDOC_CPVT_SECTIONINFO_H_ | 8 #define CORE_FPDFDOC_CPVT_SECTIONINFO_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fpdfdoc/cpvt_floatrect.h" | 12 #include "core/fpdfdoc/cpvt_floatrect.h" |
13 #include "core/fpdfdoc/include/cpvt_secprops.h" | 13 #include "core/fpdfdoc/cpvt_secprops.h" |
14 #include "core/fpdfdoc/include/cpvt_wordprops.h" | 14 #include "core/fpdfdoc/cpvt_wordprops.h" |
15 | 15 |
16 struct CPVT_SectionInfo { | 16 struct CPVT_SectionInfo { |
17 CPVT_SectionInfo(); | 17 CPVT_SectionInfo(); |
18 CPVT_SectionInfo(const CPVT_SectionInfo& other); | 18 CPVT_SectionInfo(const CPVT_SectionInfo& other); |
19 ~CPVT_SectionInfo(); | 19 ~CPVT_SectionInfo(); |
20 | 20 |
21 void operator=(const CPVT_SectionInfo& other); | 21 void operator=(const CPVT_SectionInfo& other); |
22 | 22 |
23 CPVT_FloatRect rcSection; | 23 CPVT_FloatRect rcSection; |
24 int32_t nTotalLine; | 24 int32_t nTotalLine; |
25 std::unique_ptr<CPVT_SecProps> pSecProps; | 25 std::unique_ptr<CPVT_SecProps> pSecProps; |
26 std::unique_ptr<CPVT_WordProps> pWordProps; | 26 std::unique_ptr<CPVT_WordProps> pWordProps; |
27 }; | 27 }; |
28 | 28 |
29 #endif // CORE_FPDFDOC_CPVT_SECTIONINFO_H_ | 29 #endif // CORE_FPDFDOC_CPVT_SECTIONINFO_H_ |
OLD | NEW |