Home | History | Annotate | Download | only in parser

Lines Matching refs:wsValue

530   CFX_WideString wsValue = GetRawValue();
531 if (wsValue.IsEmpty())
539 if (pText->TryContent(wsContent) && (wsContent == wsValue))
552 CFX_WideString wsValue;
557 pText->TryContent(wsValue);
576 if (wsValue != text) {
586 exclGroup.SyncValue(wsValue, bNotify);
645 void CXFA_WidgetData::SetSelectedMemberByValue(const CFX_WideStringC& wsValue,
664 if (wsValue != wsChildValue) {
671 wsExclGroup = wsValue;
896 CFX_WideString wsValue = GetRawValue();
898 if (!wsValue.IsEmpty()) {
900 int32_t iLength = wsValue.GetLength();
901 int32_t iEnd = wsValue.Find(L'\n', iStart);
904 wsSelTextArray.push_back(wsValue.Mid(iStart, iEnd - iStart));
909 iEnd = wsValue.Find(L'\n', iStart);
911 wsSelTextArray.push_back(wsValue.Mid(iStart, iLength - iStart));
915 wsSelTextArray.push_back(wsValue);
964 CFX_WideString wsValue = GetRawValue();
965 if (!wsValue.IsEmpty()) {
966 wsValue += L"\n";
968 wsValue += wsSaveTextArray[nIndex];
969 m_pNode->SetContent(wsValue, wsValue, bNotify, bScriptModify,
1003 CFX_WideString wsValue;
1012 wsValue += wsItemValue;
1015 CFX_WideString wsFormat(wsValue);
1017 GetFormatDataValue(wsValue, wsFormat);
1019 m_pNode->SetContent(wsValue, wsFormat, bNotify, bScriptModify, bSyncData);
1034 const CFX_WideString& wsValue,
1037 CFX_WideString wsNewValue(wsValue);
1094 this, wsLabel.c_str(), wsValue.c_str(), nIndex);
1097 void CXFA_WidgetData::GetItemLabel(const CFX_WideStringC& wsValue,
1110 wsLabel = wsValue;
1128 if (wsContent == wsValue) {
1144 CFX_WideString& wsValue) {
1156 wsValue = wsLabel;
1183 pText->TryContent(wsValue);
1482 bool CXFA_WidgetData::SetValue(const CFX_WideString& wsValue,
1484 if (wsValue.IsEmpty()) {
1485 SyncValue(wsValue, true);
1490 CFX_WideString wsNewText(wsValue);
1505 widgetValue.ValidateValue(wsValue, wsPicture, pLocale, &wsPicture);
1644 bool CXFA_WidgetData::GetValue(CFX_WideString& wsValue,
1646 wsValue = m_pNode->GetContent();
1649 GetItemLabel(wsValue.AsStringC(), wsValue);
1662 GetChoiceListItem(wsValue, iSelItemIndex);
1672 NormalizeNumStr(wsValue, wsOutput);
1674 wsValue = wsOutput;
1690 if (SplitDateTime(wsValue, wsDate, wsTime)) {
1692 if (date.FormatPatterns(wsValue, wsPicture, pLocale, eValueType))
1699 if (SplitDateTime(wsValue, wsDate, wsTime)) {
1701 if (time.FormatPatterns(wsValue, wsPicture, pLocale, eValueType))
1709 widgetValue.FormatPatterns(wsValue, wsPicture, pLocale, eValueType);
1714 bool CXFA_WidgetData::GetNormalizeDataValue(const CFX_WideString& wsValue,
1716 wsNormalizeValue = wsValue;
1717 if (wsValue.IsEmpty())
1729 if (widgetValue.ValidateValue(wsValue, wsPicture, pLocale, &wsPicture)) {
1738 bool CXFA_WidgetData::GetFormatDataValue(const CFX_WideString& wsValue,
1740 wsFormattedValue = wsValue;
1741 if (wsValue.IsEmpty())
1790 CXFA_LocaleValue widgetValue(iVTType, wsValue, pLocalMgr);
1794 if (SplitDateTime(wsValue, wsDate, wsTime)) {
1805 if (SplitDateTime(wsValue, wsDate, wsTime)) {
1823 void CXFA_WidgetData::NormalizeNumStr(const CFX_WideString& wsValue,
1825 if (wsValue.IsEmpty())
1828 wsOutput = wsValue;
1841 void CXFA_WidgetData::FormatNumStr(const CFX_WideString& wsValue,
1844 if (wsValue.IsEmpty())
1847 CFX_WideString wsSrcNum = wsValue;
1884 void CXFA_WidgetData::SyncValue(const CFX_WideString& wsValue, bool bNotify) {
1888 CFX_WideString wsFormatValue(wsValue);
1891 pContainerWidgetData->GetFormatDataValue(wsValue, wsFormatValue);
1893 m_pNode->SetContent(wsValue, wsFormatValue, bNotify);
1904 CFX_WideString CXFA_WidgetData::NumericLimit(const CFX_WideString& wsValue,
1908 return wsValue;
1912 int32_t iCount = wsValue.GetLength();
1914 return wsValue;
1917 if (wsValue[i] == L'-') {
1922 FX_WCHAR wc = wsValue[i];
1932 CFX_Decimal wsDeci = CFX_Decimal(wsValue.AsStringC());