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_FORMFILLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
9 | 9 |
10 #include "FFL_IFormFiller.h" | 10 #include "FFL_IFormFiller.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual FX_BOOL IsActionDataChanged(CPDF_AAction::AActionType type, | 96 virtual FX_BOOL IsActionDataChanged(CPDF_AAction::AActionType type, |
97 const PDFSDK_FieldAction& faOld, | 97 const PDFSDK_FieldAction& faOld, |
98 const PDFSDK_FieldAction& faNew); | 98 const PDFSDK_FieldAction& faNew); |
99 | 99 |
100 virtual void SaveState(CPDFSDK_PageView* pPageView); | 100 virtual void SaveState(CPDFSDK_PageView* pPageView); |
101 virtual void RestoreState(CPDFSDK_PageView* pPageView); | 101 virtual void RestoreState(CPDFSDK_PageView* pPageView); |
102 | 102 |
103 virtual CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, | 103 virtual CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, |
104 FX_BOOL bRestoreValue); | 104 FX_BOOL bRestoreValue); |
105 | 105 |
106 virtual void OnKeyStroke(FX_BOOL bKeyDown, FX_DWORD nFlag); | |
107 | |
108 CPDF_Matrix GetCurMatrix(); | 106 CPDF_Matrix GetCurMatrix(); |
109 | 107 |
110 CPDF_Rect FFLtoPWL(const CPDF_Rect& rect); | 108 CPDF_Rect FFLtoPWL(const CPDF_Rect& rect); |
111 CPDF_Rect PWLtoFFL(const CPDF_Rect& rect); | 109 CPDF_Rect PWLtoFFL(const CPDF_Rect& rect); |
112 CPDF_Point FFLtoPWL(const CPDF_Point& point); | 110 CPDF_Point FFLtoPWL(const CPDF_Point& point); |
113 CPDF_Point PWLtoFFL(const CPDF_Point& point); | 111 CPDF_Point PWLtoFFL(const CPDF_Point& point); |
114 | 112 |
115 CPDF_Point WndtoPWL(CPDFSDK_PageView* pPageView, const CPDF_Point& pt); | 113 CPDF_Point WndtoPWL(CPDFSDK_PageView* pPageView, const CPDF_Point& pt); |
116 CPDF_Rect FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect); | 114 CPDF_Rect FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect); |
117 | 115 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 CFX_RenderDevice* pDevice, | 185 CFX_RenderDevice* pDevice, |
188 CPDF_Matrix* pUser2Device, | 186 CPDF_Matrix* pUser2Device, |
189 FX_DWORD dwFlags) override; | 187 FX_DWORD dwFlags) override; |
190 | 188 |
191 protected: | 189 protected: |
192 FX_BOOL m_bMouseIn; | 190 FX_BOOL m_bMouseIn; |
193 FX_BOOL m_bMouseDown; | 191 FX_BOOL m_bMouseDown; |
194 }; | 192 }; |
195 | 193 |
196 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 194 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
OLD | NEW |