Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: core/fpdfdoc/include/cpdf_variabletext.h

Issue 1967963002: CPDF_VariableText::GetIterator() never returns NULL. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Fix more nits in CFX_Edit Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfdoc/cpvt_generateap.cpp ('k') | fpdfsdk/fxedit/fxet_ap.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « core/fpdfdoc/cpvt_generateap.cpp ('k') | fpdfsdk/fxedit/fxet_ap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698