Home
last modified time | relevance | path

Searched refs:wsValue (Results 1 – 25 of 30) sorted by relevance

12

/external/pdfium/core/fxcrt/xml/
Dcfx_xmldoc.cpp75 WideString wsValue = it.second; in SaveXMLNode() local
76 wsValue.Replace(L"&", L"&"); in SaveXMLNode()
77 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
78 wsValue.Replace(L">", L"&gt;"); in SaveXMLNode()
79 wsValue.Replace(L"\'", L"&apos;"); in SaveXMLNode()
80 wsValue.Replace(L"\"", L"&quot;"); in SaveXMLNode()
85 ws += wsValue; in SaveXMLNode()
108 WideString wsValue = it.second; in SaveXMLNode() local
109 wsValue.Replace(L"&", L"&amp;"); in SaveXMLNode()
110 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
[all …]
Dcfx_xmlnode.cpp354 WideString wsValue = it.second; in SaveXMLNode() local
355 wsValue.Replace(L"&", L"&amp;"); in SaveXMLNode()
356 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
357 wsValue.Replace(L">", L"&gt;"); in SaveXMLNode()
358 wsValue.Replace(L"\'", L"&apos;"); in SaveXMLNode()
359 wsValue.Replace(L"\"", L"&quot;"); in SaveXMLNode()
364 ws += wsValue; in SaveXMLNode()
387 WideString wsValue = it.second; in SaveXMLNode() local
388 wsValue.Replace(L"&", L"&amp;"); in SaveXMLNode()
389 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_localevalue.cpp80 const WideString& wsValue, in CXFA_LocaleValue() argument
83 m_wsValue(wsValue), in CXFA_LocaleValue()
85 m_bValid(ValidateCanonicalValue(wsValue, dwType)) {} in CXFA_LocaleValue()
88 const WideString& wsValue, in CXFA_LocaleValue() argument
94 m_bValid(ParsePatternValue(wsValue, wsFormat, pLocale)) {} in CXFA_LocaleValue()
106 bool CXFA_LocaleValue::ValidateValue(const WideString& wsValue, in ValidateValue() argument
126 bRet = pFormat->ParseNull(wsValue, wsFormat); in ValidateValue()
128 bRet = wsValue.IsEmpty(); in ValidateValue()
131 bRet = pFormat->ParseZero(wsValue, wsFormat); in ValidateValue()
133 bRet = wsValue == L"0"; in ValidateValue()
[all …]
Dcxfa_localevalue.h34 const WideString& wsValue,
37 const WideString& wsValue,
44 bool ValidateValue(const WideString& wsValue,
73 bool ValidateCanonicalValue(const WideString& wsValue, uint32_t dwVType);
80 bool ParsePatternValue(const WideString& wsValue,
Dcxfa_font.cpp76 WideString wsValue = JSObject()->GetCData(XFA_Attribute::FontHorizontalScale); in GetHorizontalScale() local
77 int32_t iScale = FXSYS_wtoi(wsValue.c_str()); in GetHorizontalScale()
82 WideString wsValue = JSObject()->GetCData(XFA_Attribute::FontVerticalScale); in GetVerticalScale() local
83 int32_t iScale = FXSYS_wtoi(wsValue.c_str()); in GetVerticalScale()
88 WideString wsValue = JSObject()->GetCData(XFA_Attribute::LetterSpacing); in GetLetterSpacing() local
89 CXFA_Measurement ms(wsValue.AsStringView()); in GetLetterSpacing()
Dxfa_document_datamerger_imp.cpp141 WideString wsValue; in CreateDataBinding() local
148 wsValue = image->GetContent(); in CreateDataBinding()
157 wsValue, pWidgetAcc->GetFormatDataValue(wsValue), false, false); in CreateDataBinding()
166 wsValue = defValue ? defValue->GetChildValueContent() : L""; in CreateDataBinding()
187 } else if (!wsValue.IsEmpty()) { in CreateDataBinding()
189 wsValue, pWidgetAcc->GetFormatDataValue(wsValue), false, false); in CreateDataBinding()
193 wsValue = defValue ? defValue->GetChildValueContent() : L""; in CreateDataBinding()
194 if (wsValue.IsEmpty()) in CreateDataBinding()
198 wsValue, pWidgetAcc->GetFormatDataValue(wsValue), false, false); in CreateDataBinding()
212 wsValue = pValue->GetChildValueContent(); in CreateDataBinding()
[all …]
Dcxfa_validate.cpp62 void CXFA_Validate::SetNullTest(const WideString& wsValue) { in SetNullTest() argument
64 CXFA_Node::NameToAttributeEnum(wsValue.AsStringView()); in SetNullTest()
Dcxfa_simple_parser.cpp199 WideString& wsValue, in FindAttributeWithNS() argument
232 wsValue = it.second; in FindAttributeWithNS()
964 WideString wsValue; in ParseContentNode() local
977 wsValue += in ParseContentNode()
983 ConvertXMLToPlainText(static_cast<CFX_XMLElement*>(pXMLChild), wsValue); in ParseContentNode()
988 wsValue = static_cast<CFX_XMLText*>(pXMLChild)->GetText(); in ParseContentNode()
992 if (!wsValue.IsEmpty()) { in ParseContentNode()
997 pContentRawDataNode->JSObject()->SetCData(XFA_Attribute::Value, wsValue, in ParseContentNode()
1001 pXFANode->JSObject()->SetCData(XFA_Attribute::Value, wsValue, false, in ParseContentNode()
Dxfa_utils.cpp274 WideString wsValue = in RegenerateFormFile_Changed() local
276 wsChildren += ExportEncodeContent(wsValue); in RegenerateFormFile_Changed()
283 WideString wsValue = pNode->JSObject()->GetCData(XFA_Attribute::Value); in RegenerateFormFile_Changed() local
284 wsChildren += ExportEncodeContent(wsValue); in RegenerateFormFile_Changed()
/external/pdfium/xfa/fxfa/
Dcxfa_textparser.cpp288 WideString wsValue = pXMLElement->GetString(L"style"); in ParseTagInfo() local
289 if (!wsValue.IsEmpty()) in ParseTagInfo()
290 tagProvider->SetAttribute(L"style", wsValue); in ParseTagInfo()
305 WideString wsValue; in GetTabInterval() local
306 if (pStyle && pStyle->GetCustomStyle(L"tab-interval", wsValue)) in GetTabInterval()
307 return CXFA_Measurement(wsValue.AsStringView()).ToUnit(XFA_Unit::Pt); in GetTabInterval()
312 WideString wsValue; in CountTabs() local
313 if (pStyle && pStyle->GetCustomStyle(L"xfa-tab-count", wsValue)) in CountTabs()
314 return wsValue.GetInteger(); in CountTabs()
319 WideString wsValue; in IsSpaceRun() local
[all …]
Dcxfa_widgetacc.cpp525 WideString wsValue; in ResetData() local
533 wsValue = image->GetContent(); in ResetData()
537 SetImageEdit(wsContentType, wsHref, wsValue); in ResetData()
549 if (wsValue.IsEmpty()) { in ResetData()
552 wsValue = defValue->GetChildValueContent(); in ResetData()
553 SetValue(XFA_VALUEPICTURE_Raw, wsValue); in ResetData()
554 pAcc->SetValue(XFA_VALUEPICTURE_Raw, wsValue); in ResetData()
582 wsValue = defValue->GetChildValueContent(); in ResetData()
584 SetValue(XFA_VALUEPICTURE_Raw, wsValue); in ResetData()
1619 WideString wsValue = m_pNode->GetRawValue(); in GetCheckState() local
[all …]
Dcxfa_widgetacc.h125 void SetSelectedMemberByValue(const WideStringView& wsValue,
148 const WideString& wsValue,
166 bool SetValue(XFA_VALUEPICTURE eValueType, const WideString& wsValue);
172 WideString GetNormalizeDataValue(const WideString& wsValue);
173 WideString GetFormatDataValue(const WideString& wsValue);
174 WideString NormalizeNumStr(const WideString& wsValue);
181 WideString NumericLimit(const WideString& wsValue,
218 WideString FormatNumStr(const WideString& wsValue, IFX_Locale* pLocale);
219 void GetItemLabel(const WideStringView& wsValue, WideString& wsLabel);
Dcxfa_textparser.h84 WideString& wsValue);
99 void SetAttribute(const WideString& wsAttr, const WideString& wsValue) { in SetAttribute() argument
100 m_Attributes.insert({wsAttr, wsValue}); in SetAttribute()
Dcxfa_textprovider.cpp148 WideString& wsValue) { in GetEmbbedObj() argument
174 wsValue = pEmbAcc->GetValue(XFA_VALUEPICTURE_Display); in GetEmbbedObj()
Dcxfa_ffdocview.cpp754 WideString wsValue; in RunBindItems() local
763 wsValue = refNode->JSObject()->GetContent(false); in RunBindItems()
766 wsValue = nodeValue ? nodeValue->JSObject()->GetContent(false) in RunBindItems()
780 wsLabel = wsValue; in RunBindItems()
782 pAcc->InsertItem(wsLabel, wsValue, false); in RunBindItems()
Dcxfa_textprovider.h40 WideString& wsValue);
/external/pdfium/fxjs/xfa/
Dcjx_object.cpp220 const WideStringView& wsValue, in SetAttribute() argument
225 CXFA_Node::NameToAttributeEnum(wsValue); in SetAttribute()
232 return SetCData(eAttr, WideString(wsValue), bNotify, false); in SetAttribute()
234 return SetBoolean(eAttr, wsValue != L"0", bNotify); in SetAttribute()
237 FXSYS_round(FXSYS_wcstof(wsValue.unterminated_c_str(), in SetAttribute()
238 wsValue.GetLength(), nullptr)), in SetAttribute()
241 return SetMeasure(eAttr, CXFA_Measurement(wsValue), bNotify); in SetAttribute()
248 void CJX_Object::SetMapModuleString(void* pKey, const WideStringView& wsValue) { in SetMapModuleString() argument
249 SetMapModuleBuffer(pKey, (void*)wsValue.unterminated_c_str(), in SetMapModuleString()
250 wsValue.GetLength() * sizeof(wchar_t), nullptr); in SetMapModuleString()
[all …]
Dcjx_object.h78 const WideStringView& wsValue,
81 const WideStringView& wsValue,
110 void SetAttributeValue(const WideString& wsValue,
185 const WideString& wsValue,
223 void SetMapModuleString(void* pKey, const WideStringView& wsValue);
259 bool GetMapModuleString(void* pKey, WideStringView& wsValue);
Dcjx_boolean.cpp27 WideString wsValue = GetContent(true); in defaultValue() local
28 pValue->SetBoolean(wsValue == L"1"); in defaultValue()
Dcjx_eventpseudomodel.cpp20 void StringProperty(CFXJSE_Value* pValue, WideString& wsValue, bool bSetting) { in StringProperty() argument
22 wsValue = pValue->ToWideString(); in StringProperty()
25 pValue->SetString(wsValue.UTF8Encode().AsStringView()); in StringProperty()
Dcjx_exclgroup.cpp123 WideString wsValue = GetContent(true); in defaultValue() local
125 if (wsValue.IsEmpty() && curVersion >= XFA_VERSION_300) { in defaultValue()
129 pValue->SetString(wsValue.UTF8Encode().AsStringView()); in defaultValue()
/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp92 FX_ARGB StringToFXARGB(const WideStringView& wsValue) { in StringToFXARGB() argument
94 if (wsValue.GetLength() == 0) in StringToFXARGB()
98 const wchar_t* str = wsValue.unterminated_c_str(); in StringToFXARGB()
99 int len = wsValue.GetLength(); in StringToFXARGB()
/external/pdfium/xfa/fgas/crt/
Dcfgas_formatstring.h31 WideString* wsValue);
34 WideString* wsValue);
Dcfgas_formatstring.cpp1068 WideString* wsValue) { in ParseText() argument
1069 wsValue->clear(); in ParseText()
1091 *wsValue = wsSrcText; in ParseText()
1100 *wsValue += pStrText[iText]; in ParseText()
1106 *wsValue += pStrText[iText]; in ParseText()
1114 *wsValue += pStrText[iText]; in ParseText()
1121 *wsValue += pStrText[iText]; in ParseText()
1128 *wsValue = wsSrcText; in ParseText()
1141 WideString* wsValue) { in ParseNum() argument
1142 wsValue->clear(); in ParseNum()
[all …]
/external/pdfium/core/fxcrt/css/
Dcfx_csscomputedstyle.cpp18 WideString& wsValue) const { in GetCustomStyle()
22 wsValue = iter->value(); in GetCustomStyle()

12