| 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 11 matching lines...) Expand all Loading... |
| 22 public: | 22 public: |
| 23 CFFL_FormFiller(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); | 23 CFFL_FormFiller(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); |
| 24 ~CFFL_FormFiller() override; | 24 ~CFFL_FormFiller() override; |
| 25 | 25 |
| 26 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, | 26 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, |
| 27 CPDFSDK_Annot* pAnnot); | 27 CPDFSDK_Annot* pAnnot); |
| 28 virtual void OnDraw(CPDFSDK_PageView* pPageView, | 28 virtual void OnDraw(CPDFSDK_PageView* pPageView, |
| 29 CPDFSDK_Annot* pAnnot, | 29 CPDFSDK_Annot* pAnnot, |
| 30 CFX_RenderDevice* pDevice, | 30 CFX_RenderDevice* pDevice, |
| 31 CFX_Matrix* pUser2Device, | 31 CFX_Matrix* pUser2Device, |
| 32 FX_DWORD dwFlags); | 32 uint32_t dwFlags); |
| 33 virtual void OnDrawDeactive(CPDFSDK_PageView* pPageView, | 33 virtual void OnDrawDeactive(CPDFSDK_PageView* pPageView, |
| 34 CPDFSDK_Annot* pAnnot, | 34 CPDFSDK_Annot* pAnnot, |
| 35 CFX_RenderDevice* pDevice, | 35 CFX_RenderDevice* pDevice, |
| 36 CFX_Matrix* pUser2Device, | 36 CFX_Matrix* pUser2Device, |
| 37 FX_DWORD dwFlags); | 37 uint32_t dwFlags); |
| 38 | 38 |
| 39 virtual void OnCreate(CPDFSDK_Annot* pAnnot); | 39 virtual void OnCreate(CPDFSDK_Annot* pAnnot); |
| 40 virtual void OnLoad(CPDFSDK_Annot* pAnnot); | 40 virtual void OnLoad(CPDFSDK_Annot* pAnnot); |
| 41 virtual void OnDelete(CPDFSDK_Annot* pAnnot); | 41 virtual void OnDelete(CPDFSDK_Annot* pAnnot); |
| 42 | 42 |
| 43 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); | 43 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); |
| 44 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); | 44 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); |
| 45 | 45 |
| 46 virtual FX_BOOL OnLButtonDown(CPDFSDK_PageView* pPageView, | 46 virtual FX_BOOL OnLButtonDown(CPDFSDK_PageView* pPageView, |
| 47 CPDFSDK_Annot* pAnnot, | 47 CPDFSDK_Annot* pAnnot, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 FX_UINT nFlags, | 181 FX_UINT nFlags, |
| 182 const CFX_FloatPoint& point) override; | 182 const CFX_FloatPoint& point) override; |
| 183 FX_BOOL OnMouseMove(CPDFSDK_PageView* pPageView, | 183 FX_BOOL OnMouseMove(CPDFSDK_PageView* pPageView, |
| 184 CPDFSDK_Annot* pAnnot, | 184 CPDFSDK_Annot* pAnnot, |
| 185 FX_UINT nFlags, | 185 FX_UINT nFlags, |
| 186 const CFX_FloatPoint& point) override; | 186 const CFX_FloatPoint& point) override; |
| 187 void OnDraw(CPDFSDK_PageView* pPageView, | 187 void OnDraw(CPDFSDK_PageView* pPageView, |
| 188 CPDFSDK_Annot* pAnnot, | 188 CPDFSDK_Annot* pAnnot, |
| 189 CFX_RenderDevice* pDevice, | 189 CFX_RenderDevice* pDevice, |
| 190 CFX_Matrix* pUser2Device, | 190 CFX_Matrix* pUser2Device, |
| 191 FX_DWORD dwFlags) override; | 191 uint32_t dwFlags) override; |
| 192 void OnDrawDeactive(CPDFSDK_PageView* pPageView, | 192 void OnDrawDeactive(CPDFSDK_PageView* pPageView, |
| 193 CPDFSDK_Annot* pAnnot, | 193 CPDFSDK_Annot* pAnnot, |
| 194 CFX_RenderDevice* pDevice, | 194 CFX_RenderDevice* pDevice, |
| 195 CFX_Matrix* pUser2Device, | 195 CFX_Matrix* pUser2Device, |
| 196 FX_DWORD 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 |