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_PDFWINDOW_PWL_COMBOBOX_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
9 | 9 |
10 #include "PWL_Edit.h" | 10 #include "PWL_Edit.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 virtual void SetFocus(); | 71 virtual void SetFocus(); |
72 virtual void KillFocus(); | 72 virtual void KillFocus(); |
73 | 73 |
74 FX_BOOL IsModified() const; | 74 FX_BOOL IsModified() const; |
75 | 75 |
76 public: | 76 public: |
77 void SetFillerNotify(IPWL_Fil
ler_Notify* pNotify); | 77 void SetFillerNotify(IPWL_Fil
ler_Notify* pNotify); |
78 | 78 |
79 CFX_WideString GetText() const; | 79 CFX_WideString GetText() const; |
80 » void» » » » » » SetText(FX_LPCWSTR text)
; | 80 » void» » » » » » SetText(const FX_WCHAR*
text); |
81 | 81 |
82 » void» » » » » » AddString(FX_LPCWSTR str
ing); | 82 » void» » » » » » AddString(const FX_WCHAR
* string); |
83 int32_t GetSelect() const; | 83 int32_t GetSelect() const; |
84 void SetSelect(int32_t nItemI
ndex); | 84 void SetSelect(int32_t nItemI
ndex); |
85 | 85 |
86 void SetEditSel(int32_t nStar
tChar,int32_t nEndChar); | 86 void SetEditSel(int32_t nStar
tChar,int32_t nEndChar); |
87 void GetEditSel(int32_t & nSt
artChar, int32_t & nEndChar ) const; | 87 void GetEditSel(int32_t & nSt
artChar, int32_t & nEndChar ) const; |
88 void Clear(); | 88 void Clear(); |
89 void SelectAll(); | 89 void SelectAll(); |
90 FX_BOOL IsPopup() const; | 90 FX_BOOL IsPopup() const; |
91 | 91 |
92 void SetSelectText(); | 92 void SetSelectText(); |
(...skipping 16 matching lines...) Expand all Loading... |
109 int32_t m_nSelectItem; | 109 int32_t m_nSelectItem; |
110 IPWL_Filler_Notify* m_pFillerNotify; | 110 IPWL_Filler_Notify* m_pFillerNotify; |
111 | 111 |
112 public: | 112 public: |
113 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} | 113 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} |
114 private: | 114 private: |
115 void* m_pFormFiller; | 115 void* m_pFormFiller; |
116 }; | 116 }; |
117 | 117 |
118 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ | 118 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
OLD | NEW |