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_LISTBOX_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ |
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 17 matching lines...) Expand all Loading... |
28 void GetActionData(CPDFSDK_PageView* pPageView, | 28 void GetActionData(CPDFSDK_PageView* pPageView, |
29 CPDF_AAction::AActionType type, | 29 CPDF_AAction::AActionType type, |
30 PDFSDK_FieldAction& fa) override; | 30 PDFSDK_FieldAction& fa) override; |
31 void SetActionData(CPDFSDK_PageView* pPageView, | 31 void SetActionData(CPDFSDK_PageView* pPageView, |
32 CPDF_AAction::AActionType type, | 32 CPDF_AAction::AActionType type, |
33 const PDFSDK_FieldAction& fa) override; | 33 const PDFSDK_FieldAction& fa) override; |
34 void SaveState(CPDFSDK_PageView* pPageView) override; | 34 void SaveState(CPDFSDK_PageView* pPageView) override; |
35 void RestoreState(CPDFSDK_PageView* pPageView) override; | 35 void RestoreState(CPDFSDK_PageView* pPageView) override; |
36 CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, | 36 CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, |
37 FX_BOOL bRestoreValue) override; | 37 FX_BOOL bRestoreValue) override; |
38 void OnKeyStroke(FX_BOOL bKeyDown, FX_DWORD nFlag) override; | |
39 | 38 |
40 private: | 39 private: |
41 CBA_FontMap* m_pFontMap; | 40 CBA_FontMap* m_pFontMap; |
42 std::set<int> m_OriginSelections; | 41 std::set<int> m_OriginSelections; |
43 CFX_ArrayTemplate<int> m_State; | 42 CFX_ArrayTemplate<int> m_State; |
44 }; | 43 }; |
45 | 44 |
46 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ | 45 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ |
OLD | NEW |