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> |
11 | 11 |
12 #include "FFL_FormFiller.h" | 12 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" |
13 | 13 |
14 class CBA_FontMap; | 14 class CBA_FontMap; |
15 | 15 |
16 class CFFL_ListBox : public CFFL_FormFiller { | 16 class CFFL_ListBox : public CFFL_FormFiller { |
17 public: | 17 public: |
18 CFFL_ListBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget); | 18 CFFL_ListBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget); |
19 ~CFFL_ListBox() override; | 19 ~CFFL_ListBox() override; |
20 | 20 |
21 // CFFL_FormFiller | 21 // CFFL_FormFiller |
22 PWL_CREATEPARAM GetCreateParam() override; | 22 PWL_CREATEPARAM GetCreateParam() override; |
(...skipping 13 matching lines...) Expand all Loading... |
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 | 38 |
39 private: | 39 private: |
40 CBA_FontMap* m_pFontMap; | 40 CBA_FontMap* m_pFontMap; |
41 std::set<int> m_OriginSelections; | 41 std::set<int> m_OriginSelections; |
42 CFX_ArrayTemplate<int> m_State; | 42 CFX_ArrayTemplate<int> m_State; |
43 }; | 43 }; |
44 | 44 |
45 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ | 45 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_LISTBOX_H_ |
OLD | NEW |