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/include/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 class IFDE_TextSet : public IFDE_VisualSet { | 45 class IFDE_TextSet : public IFDE_VisualSet { |
46 public: | 46 public: |
47 virtual int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) = 0; | 47 virtual int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) = 0; |
48 virtual IFGAS_Font* GetFont(FDE_HVISUALOBJ hText) = 0; | 48 virtual IFGAS_Font* GetFont(FDE_HVISUALOBJ hText) = 0; |
49 virtual FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) = 0; | 49 virtual FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) = 0; |
50 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0; | 50 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0; |
51 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText, | 51 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText, |
52 FXTEXT_CHARPOS* pCharPos, | 52 FXTEXT_CHARPOS* pCharPos, |
53 FX_BOOL bCharCode = FALSE, | 53 FX_BOOL bCharCode = FALSE, |
54 CFX_WideString* pWSForms = NULL) = 0; | 54 CFX_WideString* pWSForms = nullptr) = 0; |
55 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText, | 55 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText, |
56 CFX_RectFArray& rtArray) = 0; | 56 CFX_RectFArray& rtArray) = 0; |
57 }; | 57 }; |
58 | 58 |
59 #endif // XFA_FDE_FDE_VISUALSET_H_ | 59 #endif // XFA_FDE_FDE_VISUALSET_H_ |
OLD | NEW |