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_FXFA_APP_XFA_FFTEXTEDIT_H_ | 7 #ifndef XFA_SRC_FXFA_APP_XFA_FFTEXTEDIT_H_ |
8 #define XFA_SRC_FXFA_APP_XFA_FFTEXTEDIT_H_ | 8 #define XFA_SRC_FXFA_APP_XFA_FFTEXTEDIT_H_ |
9 | 9 |
| 10 #include <vector> |
| 11 |
10 #include "xfa/src/fxfa/app/xfa_fffield.h" | 12 #include "xfa/src/fxfa/app/xfa_fffield.h" |
11 | 13 |
12 class CXFA_FFTextEdit : public CXFA_FFField { | 14 class CXFA_FFTextEdit : public CXFA_FFField { |
13 public: | 15 public: |
14 CXFA_FFTextEdit(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 16 CXFA_FFTextEdit(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); |
15 ~CXFA_FFTextEdit() override; | 17 ~CXFA_FFTextEdit() override; |
16 | 18 |
17 // CXFA_FFField: | 19 // CXFA_FFField: |
18 FX_BOOL LoadWidget() override; | 20 FX_BOOL LoadWidget() override; |
19 void UpdateWidgetProperty() override; | 21 void UpdateWidgetProperty() override; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 129 |
128 public: | 130 public: |
129 void OnSelectChanged(IFWL_Widget* pWidget, | 131 void OnSelectChanged(IFWL_Widget* pWidget, |
130 int32_t iYear, | 132 int32_t iYear, |
131 int32_t iMonth, | 133 int32_t iMonth, |
132 int32_t iDay); | 134 int32_t iDay); |
133 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); | 135 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); |
134 }; | 136 }; |
135 | 137 |
136 #endif // XFA_SRC_FXFA_APP_XFA_FFTEXTEDIT_H_ | 138 #endif // XFA_SRC_FXFA_APP_XFA_FFTEXTEDIT_H_ |
OLD | NEW |