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_FXFA_XFA_FFWIDGET_H_ | 7 #ifndef XFA_FXFA_XFA_FFWIDGET_H_ |
8 #define XFA_FXFA_XFA_FFWIDGET_H_ | 8 #define XFA_FXFA_XFA_FFWIDGET_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual bool Redo(); | 85 virtual bool Redo(); |
86 virtual bool CanCopy(); | 86 virtual bool CanCopy(); |
87 virtual bool CanCut(); | 87 virtual bool CanCut(); |
88 virtual bool CanPaste(); | 88 virtual bool CanPaste(); |
89 virtual bool CanSelectAll(); | 89 virtual bool CanSelectAll(); |
90 virtual bool CanDelete(); | 90 virtual bool CanDelete(); |
91 virtual bool CanDeSelect(); | 91 virtual bool CanDeSelect(); |
92 virtual bool Copy(CFX_WideString& wsCopy); | 92 virtual bool Copy(CFX_WideString& wsCopy); |
93 virtual bool Cut(CFX_WideString& wsCut); | 93 virtual bool Cut(CFX_WideString& wsCut); |
94 virtual bool Paste(const CFX_WideString& wsPaste); | 94 virtual bool Paste(const CFX_WideString& wsPaste); |
95 virtual bool SelectAll(); | 95 virtual void SelectAll(); |
96 virtual bool Delete(); | 96 virtual void Delete(); |
97 virtual bool DeSelect(); | 97 virtual void DeSelect(); |
98 virtual bool GetSuggestWords(CFX_PointF pointf, | 98 virtual bool GetSuggestWords(CFX_PointF pointf, |
99 std::vector<CFX_ByteString>& sSuggest); | 99 std::vector<CFX_ByteString>& sSuggest); |
100 virtual bool ReplaceSpellCheckWord(CFX_PointF pointf, | 100 virtual bool ReplaceSpellCheckWord(CFX_PointF pointf, |
101 const CFX_ByteStringC& bsReplace); | 101 const CFX_ByteStringC& bsReplace); |
102 | 102 |
103 CXFA_FFPageView* GetPageView(); | 103 CXFA_FFPageView* GetPageView(); |
104 void SetPageView(CXFA_FFPageView* pPageView); | 104 void SetPageView(CXFA_FFPageView* pPageView); |
105 void GetWidgetRect(CFX_RectF& rtWidget); | 105 void GetWidgetRect(CFX_RectF& rtWidget); |
106 CFX_RectF ReCacheWidgetRect(); | 106 CFX_RectF ReCacheWidgetRect(); |
107 uint32_t GetStatus(); | 107 uint32_t GetStatus(); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 bool XFA_IsCreateWidget(XFA_Element iType); | 179 bool XFA_IsCreateWidget(XFA_Element iType); |
180 #define XFA_DRAWBOX_ForceRound 1 | 180 #define XFA_DRAWBOX_ForceRound 1 |
181 #define XFA_DRAWBOX_Lowered3D 2 | 181 #define XFA_DRAWBOX_Lowered3D 2 |
182 void XFA_DrawBox(CXFA_Box box, | 182 void XFA_DrawBox(CXFA_Box box, |
183 CFX_Graphics* pGS, | 183 CFX_Graphics* pGS, |
184 const CFX_RectF& rtWidget, | 184 const CFX_RectF& rtWidget, |
185 CFX_Matrix* pMatrix, | 185 CFX_Matrix* pMatrix, |
186 uint32_t dwFlags = 0); | 186 uint32_t dwFlags = 0); |
187 | 187 |
188 #endif // XFA_FXFA_XFA_FFWIDGET_H_ | 188 #endif // XFA_FXFA_XFA_FFWIDGET_H_ |
OLD | NEW |