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_FORMFILLER_CFFL_FORMFILLER_H_ | 7 #ifndef FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ |
8 #define FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ | 8 #define FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, | 76 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, |
77 FX_UINT nKeyCode, | 77 FX_UINT nKeyCode, |
78 FX_UINT nFlags); | 78 FX_UINT nFlags); |
79 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags); | 79 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags); |
80 | 80 |
81 void SetFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); | 81 void SetFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); |
82 void KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); | 82 void KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); |
83 | 83 |
84 // CPWL_TimerHandler | 84 // CPWL_TimerHandler |
85 void TimerProc() override; | 85 void TimerProc() override; |
86 IFX_SystemHandler* GetSystemHandler() const override; | 86 CFX_SystemHandler* GetSystemHandler() const override; |
87 | 87 |
88 // IPWL_Provider | 88 // IPWL_Provider |
89 CFX_Matrix GetWindowMatrix(void* pAttachedData) override; | 89 CFX_Matrix GetWindowMatrix(void* pAttachedData) override; |
90 CFX_WideString LoadPopupMenuString(int nIndex) override; | 90 CFX_WideString LoadPopupMenuString(int nIndex) override; |
91 | 91 |
92 virtual void GetActionData(CPDFSDK_PageView* pPageView, | 92 virtual void GetActionData(CPDFSDK_PageView* pPageView, |
93 CPDF_AAction::AActionType type, | 93 CPDF_AAction::AActionType type, |
94 PDFSDK_FieldAction& fa); | 94 PDFSDK_FieldAction& fa); |
95 virtual void SetActionData(CPDFSDK_PageView* pPageView, | 95 virtual void SetActionData(CPDFSDK_PageView* pPageView, |
96 CPDF_AAction::AActionType type, | 96 CPDF_AAction::AActionType type, |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 CFX_RenderDevice* pDevice, | 194 CFX_RenderDevice* pDevice, |
195 CFX_Matrix* pUser2Device, | 195 CFX_Matrix* pUser2Device, |
196 uint32_t dwFlags) override; | 196 uint32_t dwFlags) override; |
197 | 197 |
198 protected: | 198 protected: |
199 FX_BOOL m_bMouseIn; | 199 FX_BOOL m_bMouseIn; |
200 FX_BOOL m_bMouseDown; | 200 FX_BOOL m_bMouseDown; |
201 }; | 201 }; |
202 | 202 |
203 #endif // FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ | 203 #endif // FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ |
OLD | NEW |