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_CSECTION_H_ | 7 #ifndef CORE_FPDFDOC_CSECTION_H_ |
8 #define CORE_FPDFDOC_CSECTION_H_ | 8 #define CORE_FPDFDOC_CSECTION_H_ |
9 | 9 |
10 #include "core/fpdfdoc/clines.h" | 10 #include "core/fpdfdoc/clines.h" |
11 #include "core/fpdfdoc/cpvt_sectioninfo.h" | 11 #include "core/fpdfdoc/cpvt_sectioninfo.h" |
12 #include "core/fpdfdoc/ctypeset.h" | 12 #include "core/fpdfdoc/ctypeset.h" |
13 #include "core/fxcrt/include/fx_coordinates.h" | 13 #include "core/fxcrt/fx_coordinates.h" |
14 #include "core/fxcrt/include/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
15 | 15 |
16 class CPDF_VariableText; | 16 class CPDF_VariableText; |
17 | 17 |
18 struct CPVT_LineInfo; | 18 struct CPVT_LineInfo; |
19 struct CPVT_WordLine; | 19 struct CPVT_WordLine; |
20 struct CPVT_WordPlace; | 20 struct CPVT_WordPlace; |
21 | 21 |
22 class CSection final { | 22 class CSection final { |
23 public: | 23 public: |
24 explicit CSection(CPDF_VariableText* pVT); | 24 explicit CSection(CPDF_VariableText* pVT); |
(...skipping 30 matching lines...) Expand all Loading... |
55 friend class CTypeset; | 55 friend class CTypeset; |
56 | 56 |
57 void ClearLeftWords(int32_t nWordIndex); | 57 void ClearLeftWords(int32_t nWordIndex); |
58 void ClearRightWords(int32_t nWordIndex); | 58 void ClearRightWords(int32_t nWordIndex); |
59 void ClearMidWords(int32_t nBeginIndex, int32_t nEndIndex); | 59 void ClearMidWords(int32_t nBeginIndex, int32_t nEndIndex); |
60 | 60 |
61 CPDF_VariableText* const m_pVT; | 61 CPDF_VariableText* const m_pVT; |
62 }; | 62 }; |
63 | 63 |
64 #endif // CORE_FPDFDOC_CSECTION_H_ | 64 #endif // CORE_FPDFDOC_CSECTION_H_ |
OLD | NEW |