| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ |
| 8 #define XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ | 8 #define XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 int32_t CountSelectedItems(); | 104 int32_t CountSelectedItems(); |
| 105 int32_t GetSelectedItem(int32_t nIndex = 0); | 105 int32_t GetSelectedItem(int32_t nIndex = 0); |
| 106 void GetSelectedItems(CFX_Int32Array& iSelArray); | 106 void GetSelectedItems(CFX_Int32Array& iSelArray); |
| 107 void GetSelectedItemsValue(CFX_WideStringArray& wsSelTextArray); | 107 void GetSelectedItemsValue(CFX_WideStringArray& wsSelTextArray); |
| 108 FX_BOOL GetItemState(int32_t nIndex); | 108 FX_BOOL GetItemState(int32_t nIndex); |
| 109 void SetItemState(int32_t nIndex, | 109 void SetItemState(int32_t nIndex, |
| 110 FX_BOOL bSelected, | 110 FX_BOOL bSelected, |
| 111 FX_BOOL bNotify = FALSE, | 111 FX_BOOL bNotify = FALSE, |
| 112 FX_BOOL bScriptModify = FALSE, | 112 FX_BOOL bScriptModify = FALSE, |
| 113 FX_BOOL bSyncData = TRUE); | 113 FX_BOOL bSyncData = TRUE); |
| 114 void SetSelectdItems(CFX_Int32Array& iSelArray, | 114 void SetSelectedItems(CFX_Int32Array& iSelArray, |
| 115 FX_BOOL bNotify = FALSE, | 115 FX_BOOL bNotify = FALSE, |
| 116 FX_BOOL bScriptModify = FALSE, | 116 FX_BOOL bScriptModify = FALSE, |
| 117 FX_BOOL bSyncData = TRUE); | 117 FX_BOOL bSyncData = TRUE); |
| 118 void ClearAllSelections(); | 118 void ClearAllSelections(); |
| 119 void InsertItem(const CFX_WideString& wsLabel, | 119 void InsertItem(const CFX_WideString& wsLabel, |
| 120 const CFX_WideString& wsValue, | 120 const CFX_WideString& wsValue, |
| 121 int32_t nIndex = -1, | 121 int32_t nIndex = -1, |
| 122 FX_BOOL bNotify = FALSE); | 122 FX_BOOL bNotify = FALSE); |
| 123 void GetItemLabel(const CFX_WideStringC& wsValue, CFX_WideString& wsLabel); | 123 void GetItemLabel(const CFX_WideStringC& wsValue, CFX_WideString& wsLabel); |
| 124 void GetItemValue(const CFX_WideStringC& wsLabel, CFX_WideString& wsValue); | 124 void GetItemValue(const CFX_WideStringC& wsLabel, CFX_WideString& wsValue); |
| 125 FX_BOOL DeleteItem(int32_t nIndex, | 125 FX_BOOL DeleteItem(int32_t nIndex, |
| 126 FX_BOOL bNotify = FALSE, | 126 FX_BOOL bNotify = FALSE, |
| 127 FX_BOOL bScriptModify = FALSE, | 127 FX_BOOL bScriptModify = FALSE, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 int32_t nIndex = -1); | 172 int32_t nIndex = -1); |
| 173 void FormatNumStr(const CFX_WideString& wsValue, | 173 void FormatNumStr(const CFX_WideString& wsValue, |
| 174 IFX_Locale* pLocale, | 174 IFX_Locale* pLocale, |
| 175 CFX_WideString& wsOutput); | 175 CFX_WideString& wsOutput); |
| 176 | 176 |
| 177 CXFA_Node* m_pUiChildNode; | 177 CXFA_Node* m_pUiChildNode; |
| 178 XFA_ELEMENT m_eUIType; | 178 XFA_ELEMENT m_eUIType; |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 #endif // XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ | 181 #endif // XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ |
| OLD | NEW |