Lines Matching refs:wsValue
649 WideString FormatNumStr(const WideString& wsValue, LocaleIface* pLocale) { in FormatNumStr() argument
650 if (wsValue.IsEmpty()) in FormatNumStr()
653 WideString wsSrcNum = wsValue; in FormatNumStr()
982 WideString wsValue = JSObject()->GetCData(XFA_Attribute::Value); in Clone() local
983 if (!wsValue.IsEmpty()) { in Clone()
984 auto* text = GetXMLDocument()->CreateNode<CFX_XMLText>(wsValue); in Clone()
1600 WideString wsValue = JSObject()->GetCData(XFA_Attribute::Value); in RemoveChildAndNotify() local
1601 if (!wsValue.IsEmpty()) { in RemoveChildAndNotify()
1602 auto* text = GetXMLDocument()->CreateNode<CFX_XMLText>(wsValue); in RemoveChildAndNotify()
2194 void CXFA_Node::SyncValue(const WideString& wsValue, bool bNotify) { in SyncValue() argument
2195 WideString wsFormatValue = wsValue; in SyncValue()
2198 wsFormatValue = pContainerNode->GetFormatDataValue(wsValue); in SyncValue()
2200 JSObject()->SetContent(wsValue, wsFormatValue, bNotify, false, true); in SyncValue()
3029 WideString wsValue; in ResetData() local
3036 wsValue = image->GetContent(); in ResetData()
3040 SetImageEdit(wsContentType, wsHref, wsValue); in ResetData()
3051 if (wsValue.IsEmpty()) { in ResetData()
3054 wsValue = defValue->GetChildValueContent(); in ResetData()
3055 SetValue(XFA_VALUEPICTURE_Raw, wsValue); in ResetData()
3056 pChild->SetValue(XFA_VALUEPICTURE_Raw, wsValue); in ResetData()
3085 wsValue = defValue->GetChildValueContent(); in ResetData()
3087 SetValue(XFA_VALUEPICTURE_Raw, wsValue); in ResetData()
3954 WideString wsValue = GetRawValue(); in GetCheckState() local
3955 if (wsValue.IsEmpty()) in GetCheckState()
3966 if (wsContent && *wsContent == wsValue) in GetCheckState()
3998 WideString wsValue; in SetCheckState() local
4004 wsValue = pText->JSObject()->GetContent(false); in SetCheckState()
4023 if (wsValue != text) { in SetCheckState()
4032 node->SyncValue(wsValue, bNotify); in SetCheckState()
4063 void CXFA_Node::SetSelectedMemberByValue(WideStringView wsValue, in SetSelectedMemberByValue() argument
4083 if (wsValue != wsChildValue) { in SetSelectedMemberByValue()
4090 wsExclGroup = wsValue; in SetSelectedMemberByValue()
4286 WideString wsValue = GetRawValue(); in GetSelectedItemsValue() local
4288 return fxcrt::Split(wsValue, L'\n'); in GetSelectedItemsValue()
4291 wsSelTextArray.push_back(wsValue); in GetSelectedItemsValue()
4321 WideString wsValue = GetRawValue(); in SetItemState() local
4322 if (!wsValue.IsEmpty()) { in SetItemState()
4323 wsValue += L"\n"; in SetItemState()
4325 wsValue += wsSaveTextArray[nIndex]; in SetItemState()
4326 JSObject()->SetContent(wsValue, wsValue, bNotify, bScriptModify, in SetItemState()
4355 WideString wsValue; in SetSelectedItems() local
4363 wsValue += wsItemValue; in SetSelectedItems()
4366 WideString wsFormat(wsValue); in SetSelectedItems()
4368 wsFormat = GetFormatDataValue(wsValue); in SetSelectedItems()
4370 JSObject()->SetContent(wsValue, wsFormat, bNotify, bScriptModify, bSyncData); in SetSelectedItems()
4385 const WideString& wsValue, in InsertItem() argument
4388 WideString wsNewValue(wsValue); in InsertItem()
4441 WideString CXFA_Node::GetItemLabel(WideStringView wsValue) const { in GetItemLabel()
4451 return WideString(wsValue); in GetItemLabel()
4467 if (pChildItem->JSObject()->GetContent(false) == wsValue) { in GetItemLabel()
4640 const WideString& wsValue) { in SetValue() argument
4641 if (wsValue.IsEmpty()) { in SetValue()
4642 SyncValue(wsValue, true); in SetValue()
4649 WideString wsNewText(wsValue); in SetValue()
4663 widgetValue.ValidateValue(wsValue, wsPicture, pLocale, &wsPicture); in SetValue()
4766 WideString wsValue = JSObject()->GetContent(false); in GetValue() local
4769 wsValue = GetItemLabel(wsValue.AsStringView()); in GetValue()
4774 return wsValue; in GetValue()
4781 wsValue = in GetValue()
4792 wsValue = FormatNumStr(NormalizeNumStr(wsValue), pLocale); in GetValue()
4799 return wsValue; in GetValue()
4807 if (SplitDateTime(wsValue, wsDate, wsTime)) { in GetValue()
4809 if (date.FormatPatterns(wsValue, wsPicture, pLocale, eValueType)) in GetValue()
4810 return wsValue; in GetValue()
4816 if (SplitDateTime(wsValue, wsDate, wsTime)) { in GetValue()
4818 if (time.FormatPatterns(wsValue, wsPicture, pLocale, eValueType)) in GetValue()
4819 return wsValue; in GetValue()
4826 widgetValue.FormatPatterns(wsValue, wsPicture, pLocale, eValueType); in GetValue()
4828 return wsValue; in GetValue()
4831 WideString CXFA_Node::GetNormalizeDataValue(const WideString& wsValue) { in GetNormalizeDataValue() argument
4832 if (wsValue.IsEmpty()) in GetNormalizeDataValue()
4837 return wsValue; in GetNormalizeDataValue()
4842 if (widgetValue.ValidateValue(wsValue, wsPicture, pLocale, &wsPicture)) { in GetNormalizeDataValue()
4843 widgetValue = CXFA_LocaleValue(widgetValue.GetType(), wsValue, wsPicture, in GetNormalizeDataValue()
4847 return wsValue; in GetNormalizeDataValue()
4850 WideString CXFA_Node::GetFormatDataValue(const WideString& wsValue) { in GetFormatDataValue() argument
4851 if (wsValue.IsEmpty()) in GetFormatDataValue()
4856 return wsValue; in GetFormatDataValue()
4858 WideString wsFormattedValue = wsValue; in GetFormatDataValue()
4862 return wsValue; in GetFormatDataValue()
4866 return wsValue; in GetFormatDataValue()
4899 CXFA_LocaleValue widgetValue(iVTType, wsValue, pLocaleMgr); in GetFormatDataValue()
4903 if (SplitDateTime(wsValue, wsDate, wsTime)) { in GetFormatDataValue()
4914 if (SplitDateTime(wsValue, wsDate, wsTime)) { in GetFormatDataValue()
4932 WideString CXFA_Node::NormalizeNumStr(const WideString& wsValue) { in NormalizeNumStr() argument
4933 if (wsValue.IsEmpty()) in NormalizeNumStr()
4936 WideString wsOutput = wsValue; in NormalizeNumStr()
4957 WideString CXFA_Node::NumericLimit(const WideString& wsValue) { in NumericLimit() argument
4962 return wsValue; in NumericLimit()
4966 int32_t iCount = wsValue.GetLength(); in NumericLimit()
4968 return wsValue; in NumericLimit()
4971 if (wsValue[i] == L'-') { in NumericLimit()
4976 wchar_t wc = wsValue[i]; in NumericLimit()
4986 CFGAS_Decimal wsDeci = CFGAS_Decimal(wsValue.AsStringView()); in NumericLimit()