| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow); | 134 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow); |
| 135 | 135 |
| 136 virtual PWL_CREATEPARAM GetCreateParam(); | 136 virtual PWL_CREATEPARAM GetCreateParam(); |
| 137 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, | 137 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, |
| 138 CPDFSDK_PageView* pPageView) = 0; | 138 CPDFSDK_PageView* pPageView) = 0; |
| 139 virtual CFX_FloatRect GetFocusBox(CPDFSDK_PageView* pPageView); | 139 virtual CFX_FloatRect GetFocusBox(CPDFSDK_PageView* pPageView); |
| 140 | 140 |
| 141 FX_BOOL IsValid() const; | 141 FX_BOOL IsValid() const; |
| 142 CFX_FloatRect GetPDFWindowRect() const; | 142 CFX_FloatRect GetPDFWindowRect() const; |
| 143 | 143 |
| 144 CPDFSDK_PageView* GetCurPageView(); | 144 CPDFSDK_PageView* GetCurPageView(bool renew); |
| 145 void SetChangeMark(); | 145 void SetChangeMark(); |
| 146 | 146 |
| 147 virtual void InvalidateRect(double left, | 147 virtual void InvalidateRect(double left, |
| 148 double top, | 148 double top, |
| 149 double right, | 149 double right, |
| 150 double bottom); | 150 double bottom); |
| 151 CPDFDoc_Environment* GetApp() { return m_pApp; } | 151 CPDFDoc_Environment* GetApp() { return m_pApp; } |
| 152 CPDFSDK_Annot* GetSDKAnnot() { return m_pAnnot; } | 152 CPDFSDK_Annot* GetSDKAnnot() { return m_pAnnot; } |
| 153 | 153 |
| 154 protected: | 154 protected: |
| (...skipping 39 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 |