| 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_FDE_FDE_VISUALSET_H_ | 7 #ifndef XFA_FDE_FDE_VISUALSET_H_ |
| 8 #define XFA_FDE_FDE_VISUALSET_H_ | 8 #define XFA_FDE_FDE_VISUALSET_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 class IFDE_TextSet : public IFDE_VisualSet { | 47 class IFDE_TextSet : public IFDE_VisualSet { |
| 48 public: | 48 public: |
| 49 virtual int32_t GetString(FDE_TEXTEDITPIECE* hText, | 49 virtual int32_t GetString(FDE_TEXTEDITPIECE* hText, |
| 50 CFX_WideString& wsText) = 0; | 50 CFX_WideString& wsText) = 0; |
| 51 virtual CFGAS_GEFont* GetFont() = 0; | 51 virtual CFGAS_GEFont* GetFont() = 0; |
| 52 virtual FX_FLOAT GetFontSize() = 0; | 52 virtual FX_FLOAT GetFontSize() = 0; |
| 53 virtual FX_ARGB GetFontColor() = 0; | 53 virtual FX_ARGB GetFontColor() = 0; |
| 54 virtual int32_t GetDisplayPos(FDE_TEXTEDITPIECE* hText, | 54 virtual int32_t GetDisplayPos(FDE_TEXTEDITPIECE* hText, |
| 55 FXTEXT_CHARPOS* pCharPos, | 55 FXTEXT_CHARPOS* pCharPos, |
| 56 FX_BOOL bCharCode = FALSE, | 56 bool bCharCode = false, |
| 57 CFX_WideString* pWSForms = nullptr) = 0; | 57 CFX_WideString* pWSForms = nullptr) = 0; |
| 58 virtual int32_t GetCharRects(const FDE_TEXTEDITPIECE* hText, | 58 virtual int32_t GetCharRects(const FDE_TEXTEDITPIECE* hText, |
| 59 CFX_RectFArray& rtArray, | 59 CFX_RectFArray& rtArray, |
| 60 FX_BOOL bbox) = 0; | 60 bool bbox) = 0; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 #endif // XFA_FDE_FDE_VISUALSET_H_ | 63 #endif // XFA_FDE_FDE_VISUALSET_H_ |
| OLD | NEW |