| 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_SRC_FGAS_INCLUDE_FX_RBK_H_ | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
| 8 #define XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ | 8 #define XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_ucd.h" | 10 #include "core/include/fxcrt/fx_ucd.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 } | 82 } |
| 83 | 83 |
| 84 const FX_WCHAR* pStr; | 84 const FX_WCHAR* pStr; |
| 85 int32_t* pWidths; | 85 int32_t* pWidths; |
| 86 int32_t iLength; | 86 int32_t iLength; |
| 87 IFX_Font* pFont; | 87 IFX_Font* pFont; |
| 88 FX_FLOAT fFontSize; | 88 FX_FLOAT fFontSize; |
| 89 FX_DWORD dwLayoutStyles; | 89 FX_DWORD dwLayoutStyles; |
| 90 int32_t iCharRotation; | 90 int32_t iCharRotation; |
| 91 int32_t iBidiLevel; | 91 int32_t iBidiLevel; |
| 92 FX_LPCRECTF pRect; | 92 const CFX_RectF* pRect; |
| 93 FX_WCHAR wLineBreakChar; | 93 FX_WCHAR wLineBreakChar; |
| 94 int32_t iHorizontalScale; | 94 int32_t iHorizontalScale; |
| 95 int32_t iVerticalScale; | 95 int32_t iVerticalScale; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 class CFX_RTFPiece : public CFX_Target { | 98 class CFX_RTFPiece : public CFX_Target { |
| 99 public: | 99 public: |
| 100 CFX_RTFPiece() | 100 CFX_RTFPiece() |
| 101 : m_dwStatus(FX_RTFBREAK_PieceBreak), | 101 : m_dwStatus(FX_RTFBREAK_PieceBreak), |
| 102 m_iStartPos(0), | 102 m_iStartPos(0), |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 FXTEXT_CHARPOS* pCharPos, | 228 FXTEXT_CHARPOS* pCharPos, |
| 229 FX_BOOL bCharCode = FALSE, | 229 FX_BOOL bCharCode = FALSE, |
| 230 CFX_WideString* pWSForms = NULL, | 230 CFX_WideString* pWSForms = NULL, |
| 231 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; | 231 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; |
| 232 virtual int32_t GetCharRects(const FX_RTFTEXTOBJ* pText, | 232 virtual int32_t GetCharRects(const FX_RTFTEXTOBJ* pText, |
| 233 CFX_RectFArray& rtArray, | 233 CFX_RectFArray& rtArray, |
| 234 FX_BOOL bCharBBox = FALSE) const = 0; | 234 FX_BOOL bCharBBox = FALSE) const = 0; |
| 235 }; | 235 }; |
| 236 | 236 |
| 237 #endif // XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ | 237 #endif // XFA_SRC_FGAS_INCLUDE_FX_RBK_H_ |
| OLD | NEW |