OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef CORE_FPDFDOC_CLINE_H_ |
| 8 #define CORE_FPDFDOC_CLINE_H_ |
| 9 |
| 10 #include "core/fpdfdoc/cpvt_lineinfo.h" |
| 11 #include "core/fpdfdoc/include/cpvt_wordplace.h" |
| 12 |
| 13 class CLine final { |
| 14 public: |
| 15 CLine(); |
| 16 ~CLine(); |
| 17 |
| 18 CPVT_WordPlace GetBeginWordPlace() const; |
| 19 CPVT_WordPlace GetEndWordPlace() const; |
| 20 CPVT_WordPlace GetPrevWordPlace(const CPVT_WordPlace& place) const; |
| 21 CPVT_WordPlace GetNextWordPlace(const CPVT_WordPlace& place) const; |
| 22 CPVT_WordPlace LinePlace; |
| 23 CPVT_LineInfo m_LineInfo; |
| 24 }; |
| 25 |
| 26 #endif // CORE_FPDFDOC_CLINE_H_ |
OLD | NEW |