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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 CFX_WideString NumericLimit(const CFX_WideString& wsValue, | 161 CFX_WideString NumericLimit(const CFX_WideString& wsValue, |
162 int32_t iLead, | 162 int32_t iLead, |
163 int32_t iTread) const; | 163 int32_t iTread) const; |
164 | 164 |
165 FX_BOOL m_bIsNull; | 165 FX_BOOL m_bIsNull; |
166 FX_BOOL m_bPreNull; | 166 FX_BOOL m_bPreNull; |
167 | 167 |
168 protected: | 168 protected: |
169 void SyncValue(const CFX_WideString& wsValue, FX_BOOL bNotify); | 169 void SyncValue(const CFX_WideString& wsValue, FX_BOOL bNotify); |
170 void InsertListTextItem(CXFA_Node* pItems, | 170 void InsertListTextItem(CXFA_Node* pItems, |
171 const CFX_WideStringC& wsText, | 171 const CFX_WideString& wsText, |
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 |