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_CLINE_H_ | 7 #ifndef CORE_FPDFDOC_CLINE_H_ |
8 #define CORE_FPDFDOC_CLINE_H_ | 8 #define CORE_FPDFDOC_CLINE_H_ |
9 | 9 |
10 #include "core/fpdfdoc/cpvt_lineinfo.h" | 10 #include "core/fpdfdoc/cpvt_lineinfo.h" |
11 #include "core/fpdfdoc/include/cpvt_wordplace.h" | 11 #include "core/fpdfdoc/cpvt_wordplace.h" |
12 | 12 |
13 class CLine final { | 13 class CLine final { |
14 public: | 14 public: |
15 CLine(); | 15 CLine(); |
16 ~CLine(); | 16 ~CLine(); |
17 | 17 |
18 CPVT_WordPlace GetBeginWordPlace() const; | 18 CPVT_WordPlace GetBeginWordPlace() const; |
19 CPVT_WordPlace GetEndWordPlace() const; | 19 CPVT_WordPlace GetEndWordPlace() const; |
20 CPVT_WordPlace GetPrevWordPlace(const CPVT_WordPlace& place) const; | 20 CPVT_WordPlace GetPrevWordPlace(const CPVT_WordPlace& place) const; |
21 CPVT_WordPlace GetNextWordPlace(const CPVT_WordPlace& place) const; | 21 CPVT_WordPlace GetNextWordPlace(const CPVT_WordPlace& place) const; |
22 CPVT_WordPlace LinePlace; | 22 CPVT_WordPlace LinePlace; |
23 CPVT_LineInfo m_LineInfo; | 23 CPVT_LineInfo m_LineInfo; |
24 }; | 24 }; |
25 | 25 |
26 #endif // CORE_FPDFDOC_CLINE_H_ | 26 #endif // CORE_FPDFDOC_CLINE_H_ |
OLD | NEW |