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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 FX_BOOL bNotify = FALSE, | 126 FX_BOOL bNotify = FALSE, |
127 FX_BOOL bScriptModify = FALSE, | 127 FX_BOOL bScriptModify = FALSE, |
128 FX_BOOL bSyncData = TRUE); | 128 FX_BOOL bSyncData = TRUE); |
129 int32_t GetHorizontalScrollPolicy(); | 129 int32_t GetHorizontalScrollPolicy(); |
130 int32_t GetNumberOfCells(); | 130 int32_t GetNumberOfCells(); |
131 FX_BOOL SetValue(const CFX_WideString& wsValue, XFA_VALUEPICTURE eValueType); | 131 FX_BOOL SetValue(const CFX_WideString& wsValue, XFA_VALUEPICTURE eValueType); |
132 FX_BOOL GetPictureContent(CFX_WideString& wsPicture, | 132 FX_BOOL GetPictureContent(CFX_WideString& wsPicture, |
133 XFA_VALUEPICTURE ePicture); | 133 XFA_VALUEPICTURE ePicture); |
134 IFX_Locale* GetLocal(); | 134 IFX_Locale* GetLocal(); |
135 FX_BOOL GetValue(CFX_WideString& wsValue, XFA_VALUEPICTURE eValueType); | 135 FX_BOOL GetValue(CFX_WideString& wsValue, XFA_VALUEPICTURE eValueType); |
136 FX_BOOL GetNormalizeDataValue(const CFX_WideStringC& wsValue, | 136 FX_BOOL GetNormalizeDataValue(const CFX_WideString& wsValue, |
137 CFX_WideString& wsNormalizeValue); | 137 CFX_WideString& wsNormalizeValue); |
138 FX_BOOL GetFormatDataValue(const CFX_WideStringC& wsValue, | 138 FX_BOOL GetFormatDataValue(const CFX_WideString& wsValue, |
139 CFX_WideString& wsFormatedValue); | 139 CFX_WideString& wsFormatedValue); |
140 void NormalizeNumStr(const CFX_WideString& wsValue, CFX_WideString& wsOutput); | 140 void NormalizeNumStr(const CFX_WideString& wsValue, CFX_WideString& wsOutput); |
141 CFX_WideString GetBarcodeType(); | 141 CFX_WideString GetBarcodeType(); |
142 FX_BOOL GetBarcodeAttribute_CharEncoding(int32_t& val); | 142 FX_BOOL GetBarcodeAttribute_CharEncoding(int32_t& val); |
143 FX_BOOL GetBarcodeAttribute_Checksum(int32_t& val); | 143 FX_BOOL GetBarcodeAttribute_Checksum(int32_t& val); |
144 FX_BOOL GetBarcodeAttribute_DataLength(int32_t& val); | 144 FX_BOOL GetBarcodeAttribute_DataLength(int32_t& val); |
145 FX_BOOL GetBarcodeAttribute_StartChar(FX_CHAR& val); | 145 FX_BOOL GetBarcodeAttribute_StartChar(FX_CHAR& val); |
146 FX_BOOL GetBarcodeAttribute_EndChar(FX_CHAR& val); | 146 FX_BOOL GetBarcodeAttribute_EndChar(FX_CHAR& val); |
147 FX_BOOL GetBarcodeAttribute_ECLevel(int32_t& val); | 147 FX_BOOL GetBarcodeAttribute_ECLevel(int32_t& val); |
148 FX_BOOL GetBarcodeAttribute_ModuleWidth(int32_t& val); | 148 FX_BOOL GetBarcodeAttribute_ModuleWidth(int32_t& val); |
(...skipping 23 matching lines...) Expand all 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 |