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 XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ | 7 #ifndef XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ |
8 #define XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ | 8 #define XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_ucd.h" | 10 #include "core/fxcrt/include/fx_ucd.h" |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 FX_BOOL bCharBBox = FALSE) const; | 286 FX_BOOL bCharBBox = FALSE) const; |
287 uint32_t AppendChar_CharCode(FX_WCHAR wch); | 287 uint32_t AppendChar_CharCode(FX_WCHAR wch); |
288 uint32_t AppendChar_Combination(CFX_RTFChar* pCurChar, int32_t iRotation); | 288 uint32_t AppendChar_Combination(CFX_RTFChar* pCurChar, int32_t iRotation); |
289 uint32_t AppendChar_Tab(CFX_RTFChar* pCurChar, int32_t iRotation); | 289 uint32_t AppendChar_Tab(CFX_RTFChar* pCurChar, int32_t iRotation); |
290 uint32_t AppendChar_Control(CFX_RTFChar* pCurChar, int32_t iRotation); | 290 uint32_t AppendChar_Control(CFX_RTFChar* pCurChar, int32_t iRotation); |
291 uint32_t AppendChar_Arabic(CFX_RTFChar* pCurChar, int32_t iRotation); | 291 uint32_t AppendChar_Arabic(CFX_RTFChar* pCurChar, int32_t iRotation); |
292 uint32_t AppendChar_Others(CFX_RTFChar* pCurChar, int32_t iRotation); | 292 uint32_t AppendChar_Others(CFX_RTFChar* pCurChar, int32_t iRotation); |
293 | 293 |
294 protected: | 294 protected: |
295 uint32_t m_dwPolicies; | 295 uint32_t m_dwPolicies; |
296 CFX_ArabicChar* m_pArabicChar; | |
297 int32_t m_iBoundaryStart; | 296 int32_t m_iBoundaryStart; |
298 int32_t m_iBoundaryEnd; | 297 int32_t m_iBoundaryEnd; |
299 uint32_t m_dwLayoutStyles; | 298 uint32_t m_dwLayoutStyles; |
300 FX_BOOL m_bPagination; | 299 FX_BOOL m_bPagination; |
301 FX_BOOL m_bVertical; | 300 FX_BOOL m_bVertical; |
302 FX_BOOL m_bSingleLine; | 301 FX_BOOL m_bSingleLine; |
303 FX_BOOL m_bCharCode; | 302 FX_BOOL m_bCharCode; |
304 IFX_Font* m_pFont; | 303 IFX_Font* m_pFont; |
305 int32_t m_iFontHeight; | 304 int32_t m_iFontHeight; |
306 int32_t m_iFontSize; | 305 int32_t m_iFontSize; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 FX_BOOL EndBreak_SplitLine(CFX_RTFLine* pNextLine, | 345 FX_BOOL EndBreak_SplitLine(CFX_RTFLine* pNextLine, |
347 FX_BOOL bAllChars, | 346 FX_BOOL bAllChars, |
348 uint32_t dwStatus); | 347 uint32_t dwStatus); |
349 void EndBreak_BidiLine(CFX_TPOArray& tpos, uint32_t dwStatus); | 348 void EndBreak_BidiLine(CFX_TPOArray& tpos, uint32_t dwStatus); |
350 void EndBreak_Alignment(CFX_TPOArray& tpos, | 349 void EndBreak_Alignment(CFX_TPOArray& tpos, |
351 FX_BOOL bAllChars, | 350 FX_BOOL bAllChars, |
352 uint32_t dwStatus); | 351 uint32_t dwStatus); |
353 }; | 352 }; |
354 | 353 |
355 #endif // XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ | 354 #endif // XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ |
OLD | NEW |