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 "core/include/fpdfapi/fpdf_parser.h" | |
11 #include "core/include/fxge/fx_dib.h" | 10 #include "core/include/fxge/fx_dib.h" |
12 | 11 |
13 class IPDF_VariableText; | 12 class IPDF_VariableText; |
14 class IPDF_VariableText_Iterator; | 13 class IPDF_VariableText_Iterator; |
15 class IPDF_VariableText_Provider; | 14 class IPDF_VariableText_Provider; |
16 struct CPVT_Line; | 15 struct CPVT_Line; |
17 struct CPVT_Section; | 16 struct CPVT_Section; |
18 struct CPVT_Word; | 17 struct CPVT_Word; |
19 struct CPVT_WordPlace; | 18 struct CPVT_WordPlace; |
20 struct CPVT_WordRange; | 19 struct CPVT_WordRange; |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 | 450 |
452 virtual int32_t WordPlaceToWordIndex(const CPVT_WordPlace& place) const = 0; | 451 virtual int32_t WordPlaceToWordIndex(const CPVT_WordPlace& place) const = 0; |
453 | 452 |
454 virtual CPVT_WordPlace WordIndexToWordPlace(int32_t index) const = 0; | 453 virtual CPVT_WordPlace WordIndexToWordPlace(int32_t index) const = 0; |
455 | 454 |
456 protected: | 455 protected: |
457 ~IPDF_VariableText() {} | 456 ~IPDF_VariableText() {} |
458 }; | 457 }; |
459 | 458 |
460 #endif // CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ | 459 #endif // CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ |
OLD | NEW |