| 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_INCLUDE_FPDFDOC_FPDF_VT_H_ | 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ |
| 8 #define CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ | 8 #define CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ |
| 9 | 9 |
| 10 #include "../fpdfapi/fpdf_parser.h" | 10 #include "../fpdfapi/fpdf_parser.h" |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 virtual CPVT_WordPlace GetLineEndPlace(const CPVT_WordPlace& place) const = 0; | 441 virtual CPVT_WordPlace GetLineEndPlace(const CPVT_WordPlace& place) const = 0; |
| 442 | 442 |
| 443 virtual CPVT_WordPlace GetSectionBeginPlace( | 443 virtual CPVT_WordPlace GetSectionBeginPlace( |
| 444 const CPVT_WordPlace& place) const = 0; | 444 const CPVT_WordPlace& place) const = 0; |
| 445 | 445 |
| 446 virtual CPVT_WordPlace GetSectionEndPlace( | 446 virtual CPVT_WordPlace GetSectionEndPlace( |
| 447 const CPVT_WordPlace& place) const = 0; | 447 const CPVT_WordPlace& place) const = 0; |
| 448 | 448 |
| 449 virtual void UpdateWordPlace(CPVT_WordPlace& place) const = 0; | 449 virtual void UpdateWordPlace(CPVT_WordPlace& place) const = 0; |
| 450 | 450 |
| 451 virtual CPVT_WordPlace AjustLineHeader(const CPVT_WordPlace& place, | 451 virtual CPVT_WordPlace AdjustLineHeader(const CPVT_WordPlace& place, |
| 452 FX_BOOL bPrevOrNext) const = 0; | 452 FX_BOOL bPrevOrNext) const = 0; |
| 453 | 453 |
| 454 virtual int32_t WordPlaceToWordIndex(const CPVT_WordPlace& place) const = 0; | 454 virtual int32_t WordPlaceToWordIndex(const CPVT_WordPlace& place) const = 0; |
| 455 | 455 |
| 456 virtual CPVT_WordPlace WordIndexToWordPlace(int32_t index) const = 0; | 456 virtual CPVT_WordPlace WordIndexToWordPlace(int32_t index) const = 0; |
| 457 | 457 |
| 458 protected: | 458 protected: |
| 459 ~IPDF_VariableText() {} | 459 ~IPDF_VariableText() {} |
| 460 }; | 460 }; |
| 461 | 461 |
| 462 #endif // CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ | 462 #endif // CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ |
| OLD | NEW |