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_INCLUDE_CPDF_VARIABLETEXT_H_ | 7 #ifndef CORE_FPDFDOC_INCLUDE_CPDF_VARIABLETEXT_H_ |
8 #define CORE_FPDFDOC_INCLUDE_CPDF_VARIABLETEXT_H_ | 8 #define CORE_FPDFDOC_INCLUDE_CPDF_VARIABLETEXT_H_ |
9 | 9 |
| 10 #include <memory> |
| 11 |
10 #include "core/fpdfdoc/cpvt_floatrect.h" | 12 #include "core/fpdfdoc/cpvt_floatrect.h" |
11 #include "core/fpdfdoc/cpvt_lineinfo.h" | 13 #include "core/fpdfdoc/cpvt_lineinfo.h" |
12 #include "core/fpdfdoc/include/cpvt_line.h" | 14 #include "core/fpdfdoc/include/cpvt_line.h" |
13 #include "core/fpdfdoc/include/cpvt_wordplace.h" | 15 #include "core/fpdfdoc/include/cpvt_wordplace.h" |
14 #include "core/fpdfdoc/include/cpvt_wordrange.h" | 16 #include "core/fpdfdoc/include/cpvt_wordrange.h" |
15 #include "core/fpdfdoc/pdf_vt.h" | 17 #include "core/fpdfdoc/pdf_vt.h" |
16 #include "core/fxcrt/include/fx_coordinates.h" | 18 #include "core/fxcrt/include/fx_coordinates.h" |
17 #include "core/fxcrt/include/fx_string.h" | 19 #include "core/fxcrt/include/fx_string.h" |
18 #include "core/fxcrt/include/fx_system.h" | 20 #include "core/fxcrt/include/fx_system.h" |
19 | 21 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 FX_BOOL m_bAutoFontSize; | 241 FX_BOOL m_bAutoFontSize; |
240 int32_t m_nAlignment; | 242 int32_t m_nAlignment; |
241 FX_FLOAT m_fLineLeading; | 243 FX_FLOAT m_fLineLeading; |
242 FX_FLOAT m_fCharSpace; | 244 FX_FLOAT m_fCharSpace; |
243 int32_t m_nHorzScale; | 245 int32_t m_nHorzScale; |
244 uint16_t m_wSubWord; | 246 uint16_t m_wSubWord; |
245 FX_FLOAT m_fFontSize; | 247 FX_FLOAT m_fFontSize; |
246 FX_BOOL m_bInitial; | 248 FX_BOOL m_bInitial; |
247 FX_BOOL m_bRichText; | 249 FX_BOOL m_bRichText; |
248 CPDF_VariableText::Provider* m_pVTProvider; | 250 CPDF_VariableText::Provider* m_pVTProvider; |
249 CPDF_VariableText::Iterator* m_pVTIterator; | 251 std::unique_ptr<CPDF_VariableText::Iterator> m_pVTIterator; |
250 }; | 252 }; |
251 | 253 |
252 #endif // CORE_FPDFDOC_INCLUDE_CPDF_VARIABLETEXT_H_ | 254 #endif // CORE_FPDFDOC_INCLUDE_CPDF_VARIABLETEXT_H_ |
OLD | NEW |