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 "core/include/fpdfapi/fpdf_parser.h" |
11 #include "../fxge/fx_dib.h" | 11 #include "core/include/fxge/fx_dib.h" |
12 | 12 |
13 class IPDF_VariableText; | 13 class IPDF_VariableText; |
14 class IPDF_VariableText_Iterator; | 14 class IPDF_VariableText_Iterator; |
15 class IPDF_VariableText_Provider; | 15 class IPDF_VariableText_Provider; |
16 struct CPVT_Line; | 16 struct CPVT_Line; |
17 struct CPVT_Section; | 17 struct CPVT_Section; |
18 struct CPVT_Word; | 18 struct CPVT_Word; |
19 struct CPVT_WordPlace; | 19 struct CPVT_WordPlace; |
20 struct CPVT_WordRange; | 20 struct CPVT_WordRange; |
21 | 21 |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |