OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CFDE_TXTEDTTEXTSET_H_ | 7 #ifndef XFA_FDE_CFDE_TXTEDTTEXTSET_H_ |
8 #define XFA_FDE_CFDE_TXTEDTTEXTSET_H_ | 8 #define XFA_FDE_CFDE_TXTEDTTEXTSET_H_ |
9 | 9 |
10 #include "xfa/fde/fde_visualset.h" | 10 #include "xfa/fde/fde_visualset.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 FX_BOOL GetMatrix(FDE_HVISUALOBJ hVisualObj, CFX_Matrix& matrix) override; | 21 FX_BOOL GetMatrix(FDE_HVISUALOBJ hVisualObj, CFX_Matrix& matrix) override; |
22 FX_BOOL GetRect(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override; | 22 FX_BOOL GetRect(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override; |
23 FX_BOOL GetClip(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override; | 23 FX_BOOL GetClip(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override; |
24 int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) override; | 24 int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) override; |
25 IFGAS_Font* GetFont(FDE_HVISUALOBJ hText) override; | 25 IFGAS_Font* GetFont(FDE_HVISUALOBJ hText) override; |
26 FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) override; | 26 FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) override; |
27 FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) override; | 27 FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) override; |
28 int32_t GetDisplayPos(FDE_HVISUALOBJ hText, | 28 int32_t GetDisplayPos(FDE_HVISUALOBJ hText, |
29 FXTEXT_CHARPOS* pCharPos, | 29 FXTEXT_CHARPOS* pCharPos, |
30 FX_BOOL bCharCode = FALSE, | 30 FX_BOOL bCharCode = FALSE, |
31 CFX_WideString* pWSForms = NULL) override; | 31 CFX_WideString* pWSForms = nullptr) override; |
32 int32_t GetCharRects(FDE_HVISUALOBJ hText, CFX_RectFArray& rtArray) override; | 32 int32_t GetCharRects(FDE_HVISUALOBJ hText, CFX_RectFArray& rtArray) override; |
33 int32_t GetCharRects_Impl(FDE_HVISUALOBJ hText, | 33 int32_t GetCharRects_Impl(FDE_HVISUALOBJ hText, |
34 CFX_RectFArray& rtArray, | 34 CFX_RectFArray& rtArray, |
35 FX_BOOL bBBox = FALSE); | 35 FX_BOOL bBBox = FALSE); |
36 | 36 |
37 private: | 37 private: |
38 CFDE_TxtEdtPage* const m_pPage; | 38 CFDE_TxtEdtPage* const m_pPage; |
39 }; | 39 }; |
40 | 40 |
41 #endif // XFA_FDE_CFDE_TXTEDTTEXTSET_H_ | 41 #endif // XFA_FDE_CFDE_TXTEDTTEXTSET_H_ |
OLD | NEW |