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

Side by Side Diff: xfa/fgas/layout/fgas_textbreak.h

Issue 1954593004: CFX_ArabicChar contains only static methods, no need to instantiate. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Replace method with local function. 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
OLDNEW
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 XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_ 7 #ifndef XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_
8 #define XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_ 8 #define XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_
9 9
10 #include "core/fxcrt/include/fx_ucd.h" 10 #include "core/fxcrt/include/fx_ucd.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 void AppendChar_PageLoad(CFX_Char* pCurChar, uint32_t dwProps); 263 void AppendChar_PageLoad(CFX_Char* pCurChar, uint32_t dwProps);
264 uint32_t AppendChar_Combination(CFX_Char* pCurChar, int32_t iRotation); 264 uint32_t AppendChar_Combination(CFX_Char* pCurChar, int32_t iRotation);
265 uint32_t AppendChar_Tab(CFX_Char* pCurChar, int32_t iRotation); 265 uint32_t AppendChar_Tab(CFX_Char* pCurChar, int32_t iRotation);
266 uint32_t AppendChar_Control(CFX_Char* pCurChar, int32_t iRotation); 266 uint32_t AppendChar_Control(CFX_Char* pCurChar, int32_t iRotation);
267 uint32_t AppendChar_Arabic(CFX_Char* pCurChar, int32_t iRotation); 267 uint32_t AppendChar_Arabic(CFX_Char* pCurChar, int32_t iRotation);
268 uint32_t AppendChar_Others(CFX_Char* pCurChar, int32_t iRotation); 268 uint32_t AppendChar_Others(CFX_Char* pCurChar, int32_t iRotation);
269 269
270 protected: 270 protected:
271 uint32_t m_dwPolicies; 271 uint32_t m_dwPolicies;
272 FX_BOOL m_bPagination; 272 FX_BOOL m_bPagination;
273 CFX_ArabicChar* m_pArabicChar;
274 int32_t m_iLineWidth; 273 int32_t m_iLineWidth;
275 uint32_t m_dwLayoutStyles; 274 uint32_t m_dwLayoutStyles;
276 FX_BOOL m_bVertical; 275 FX_BOOL m_bVertical;
277 FX_BOOL m_bArabicContext; 276 FX_BOOL m_bArabicContext;
278 FX_BOOL m_bArabicShapes; 277 FX_BOOL m_bArabicShapes;
279 FX_BOOL m_bRTL; 278 FX_BOOL m_bRTL;
280 FX_BOOL m_bSingleLine; 279 FX_BOOL m_bSingleLine;
281 FX_BOOL m_bCombText; 280 FX_BOOL m_bCombText;
282 int32_t m_iArabicContext; 281 int32_t m_iArabicContext;
283 int32_t m_iCurArabicContext; 282 int32_t m_iCurArabicContext;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 int32_t GetBreakPos(CFX_TxtCharArray& ca, 326 int32_t GetBreakPos(CFX_TxtCharArray& ca,
328 int32_t& iEndPos, 327 int32_t& iEndPos,
329 FX_BOOL bAllChars = FALSE, 328 FX_BOOL bAllChars = FALSE,
330 FX_BOOL bOnlyBrk = FALSE); 329 FX_BOOL bOnlyBrk = FALSE);
331 void SplitTextLine(CFX_TxtLine* pCurLine, 330 void SplitTextLine(CFX_TxtLine* pCurLine,
332 CFX_TxtLine* pNextLine, 331 CFX_TxtLine* pNextLine,
333 FX_BOOL bAllChars = FALSE); 332 FX_BOOL bAllChars = FALSE);
334 }; 333 };
335 334
336 #endif // XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_ 335 #endif // XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698