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 FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
9 | 9 |
10 #include "FFL_FormFiller.h" | 10 #include "FFL_FormFiller.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, | 49 CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, |
50 FX_BOOL bRestoreValue) override; | 50 FX_BOOL bRestoreValue) override; |
51 | 51 |
52 // IPWL_FocusHandler: | 52 // IPWL_FocusHandler: |
53 void OnSetFocus(CPWL_Wnd* pWnd) override; | 53 void OnSetFocus(CPWL_Wnd* pWnd) override; |
54 void OnKillFocus(CPWL_Wnd* pWnd) override; | 54 void OnKillFocus(CPWL_Wnd* pWnd) override; |
55 | 55 |
56 // IPWL_Edit_Notify: | 56 // IPWL_Edit_Notify: |
57 void OnAddUndo(CPWL_Edit* pEdit) override; | 57 void OnAddUndo(CPWL_Edit* pEdit) override; |
58 | 58 |
| 59 #ifdef PDF_ENABLE_XFA |
59 // CFFL_FormFiller: | 60 // CFFL_FormFiller: |
60 FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView) override; | 61 FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView) override; |
61 | 62 |
| 63 #endif |
62 private: | 64 private: |
63 CBA_FontMap* m_pFontMap; | 65 CBA_FontMap* m_pFontMap; |
64 FFL_TextFieldState m_State; | 66 FFL_TextFieldState m_State; |
65 }; | 67 }; |
66 | 68 |
67 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ | 69 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
OLD | NEW |