| 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 _FX_RTFBREAK_IMP | 7 #ifndef XFA_SRC_FGAS_SRC_LAYOUT_FX_RTFBREAK_H_ |
| 8 #define _FX_RTFBREAK_IMP | 8 #define XFA_SRC_FGAS_SRC_LAYOUT_FX_RTFBREAK_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_arb.h" | 10 #include "core/include/fxcrt/fx_arb.h" |
| 11 | 11 |
| 12 class CFX_RTFLine; | 12 class CFX_RTFLine; |
| 13 class CFX_RTFBreak; | 13 class CFX_RTFBreak; |
| 14 class CFX_RTFLine { | 14 class CFX_RTFLine { |
| 15 public: | 15 public: |
| 16 CFX_RTFLine() | 16 CFX_RTFLine() |
| 17 : m_LinePieces(16), | 17 : m_LinePieces(16), |
| 18 m_iStart(0), | 18 m_iStart(0), |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 CFX_RTFLine* pNextLine, | 164 CFX_RTFLine* pNextLine, |
| 165 FX_BOOL bAllChars = FALSE); | 165 FX_BOOL bAllChars = FALSE); |
| 166 FX_BOOL EndBreak_SplitLine(CFX_RTFLine* pNextLine, | 166 FX_BOOL EndBreak_SplitLine(CFX_RTFLine* pNextLine, |
| 167 FX_BOOL bAllChars, | 167 FX_BOOL bAllChars, |
| 168 FX_DWORD dwStatus); | 168 FX_DWORD dwStatus); |
| 169 void EndBreak_BidiLine(CFX_TPOArray& tpos, FX_DWORD dwStatus); | 169 void EndBreak_BidiLine(CFX_TPOArray& tpos, FX_DWORD dwStatus); |
| 170 void EndBreak_Alignment(CFX_TPOArray& tpos, | 170 void EndBreak_Alignment(CFX_TPOArray& tpos, |
| 171 FX_BOOL bAllChars, | 171 FX_BOOL bAllChars, |
| 172 FX_DWORD dwStatus); | 172 FX_DWORD dwStatus); |
| 173 }; | 173 }; |
| 174 #endif | 174 |
| 175 #endif // XFA_SRC_FGAS_SRC_LAYOUT_FX_RTFBREAK_H_ |
| OLD | NEW |