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

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

Issue 1961333002: Remove CPVT_Size and CPVT_FloatRange. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: More point to size 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/doc_vt.cpp ('k') | core/fpdfdoc/pdf_vt.h » ('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 "core/fpdfdoc/cpvt_floatrect.h" 10 #include "core/fpdfdoc/cpvt_floatrect.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 FX_BOOL ClearEmptySection(const CPVT_WordPlace& place); 221 FX_BOOL ClearEmptySection(const CPVT_WordPlace& place);
222 void ClearEmptySections(const CPVT_WordRange& PlaceRange); 222 void ClearEmptySections(const CPVT_WordRange& PlaceRange);
223 void LinkLatterSection(const CPVT_WordPlace& place); 223 void LinkLatterSection(const CPVT_WordPlace& place);
224 void ClearWords(const CPVT_WordRange& PlaceRange); 224 void ClearWords(const CPVT_WordRange& PlaceRange);
225 CPVT_WordPlace ClearLeftWord(const CPVT_WordPlace& place); 225 CPVT_WordPlace ClearLeftWord(const CPVT_WordPlace& place);
226 CPVT_WordPlace ClearRightWord(const CPVT_WordPlace& place); 226 CPVT_WordPlace ClearRightWord(const CPVT_WordPlace& place);
227 227
228 CPVT_FloatRect Rearrange(const CPVT_WordRange& PlaceRange); 228 CPVT_FloatRect Rearrange(const CPVT_WordRange& PlaceRange);
229 FX_FLOAT GetAutoFontSize(); 229 FX_FLOAT GetAutoFontSize();
230 FX_BOOL IsBigger(FX_FLOAT fFontSize); 230 bool IsBigger(FX_FLOAT fFontSize) const;
231 CPVT_FloatRect RearrangeSections(const CPVT_WordRange& PlaceRange); 231 CPVT_FloatRect RearrangeSections(const CPVT_WordRange& PlaceRange);
232 232
233 void ResetSectionArray(); 233 void ResetSectionArray();
234 234
235 CPVT_ArrayTemplate<CSection*> m_SectionArray; 235 CPVT_ArrayTemplate<CSection*> m_SectionArray;
236 int32_t m_nLimitChar; 236 int32_t m_nLimitChar;
237 int32_t m_nCharArray; 237 int32_t m_nCharArray;
238 FX_BOOL m_bMultiLine; 238 FX_BOOL m_bMultiLine;
239 FX_BOOL m_bLimitWidth; 239 FX_BOOL m_bLimitWidth;
240 FX_BOOL m_bAutoFontSize; 240 FX_BOOL m_bAutoFontSize;
241 int32_t m_nAlignment; 241 int32_t m_nAlignment;
242 FX_FLOAT m_fLineLeading; 242 FX_FLOAT m_fLineLeading;
243 FX_FLOAT m_fCharSpace; 243 FX_FLOAT m_fCharSpace;
244 int32_t m_nHorzScale; 244 int32_t m_nHorzScale;
245 uint16_t m_wSubWord; 245 uint16_t m_wSubWord;
246 FX_FLOAT m_fFontSize; 246 FX_FLOAT m_fFontSize;
247 FX_BOOL m_bInitial; 247 FX_BOOL m_bInitial;
248 FX_BOOL m_bRichText; 248 FX_BOOL m_bRichText;
249 CPDF_VariableText::Provider* m_pVTProvider; 249 CPDF_VariableText::Provider* m_pVTProvider;
250 CPDF_VariableText::Iterator* m_pVTIterator; 250 CPDF_VariableText::Iterator* m_pVTIterator;
251 }; 251 };
252 252
253 #endif // CORE_FPDFDOC_INCLUDE_CPDF_VARIABLETEXT_H_ 253 #endif // CORE_FPDFDOC_INCLUDE_CPDF_VARIABLETEXT_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/doc_vt.cpp ('k') | core/fpdfdoc/pdf_vt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698