/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmldoc.cpp | 75 WideString wsValue = it.second; in SaveXMLNode() local 76 wsValue.Replace(L"&", L"&"); in SaveXMLNode() 77 wsValue.Replace(L"<", L"<"); in SaveXMLNode() 78 wsValue.Replace(L">", L">"); in SaveXMLNode() 79 wsValue.Replace(L"\'", L"'"); in SaveXMLNode() 80 wsValue.Replace(L"\"", L"""); in SaveXMLNode() 85 ws += wsValue; in SaveXMLNode() 108 WideString wsValue = it.second; in SaveXMLNode() local 109 wsValue.Replace(L"&", L"&"); in SaveXMLNode() 110 wsValue.Replace(L"<", L"<"); in SaveXMLNode() [all …]
|
D | cfx_xmlnode.cpp | 354 WideString wsValue = it.second; in SaveXMLNode() local 355 wsValue.Replace(L"&", L"&"); in SaveXMLNode() 356 wsValue.Replace(L"<", L"<"); in SaveXMLNode() 357 wsValue.Replace(L">", L">"); in SaveXMLNode() 358 wsValue.Replace(L"\'", L"'"); in SaveXMLNode() 359 wsValue.Replace(L"\"", L"""); in SaveXMLNode() 364 ws += wsValue; in SaveXMLNode() 387 WideString wsValue = it.second; in SaveXMLNode() local 388 wsValue.Replace(L"&", L"&"); in SaveXMLNode() 389 wsValue.Replace(L"<", L"<"); in SaveXMLNode() [all …]
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_localevalue.cpp | 80 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 …]
|
D | cxfa_localevalue.h | 34 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,
|
D | cxfa_font.cpp | 76 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()
|
D | xfa_document_datamerger_imp.cpp | 141 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 …]
|
D | cxfa_validate.cpp | 62 void CXFA_Validate::SetNullTest(const WideString& wsValue) { in SetNullTest() argument 64 CXFA_Node::NameToAttributeEnum(wsValue.AsStringView()); in SetNullTest()
|
D | cxfa_simple_parser.cpp | 199 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()
|
D | xfa_utils.cpp | 274 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/ |
D | cxfa_textparser.cpp | 288 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 …]
|
D | cxfa_widgetacc.cpp | 525 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 …]
|
D | cxfa_widgetacc.h | 125 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);
|
D | cxfa_textparser.h | 84 WideString& wsValue); 99 void SetAttribute(const WideString& wsAttr, const WideString& wsValue) { in SetAttribute() argument 100 m_Attributes.insert({wsAttr, wsValue}); in SetAttribute()
|
D | cxfa_textprovider.cpp | 148 WideString& wsValue) { in GetEmbbedObj() argument 174 wsValue = pEmbAcc->GetValue(XFA_VALUEPICTURE_Display); in GetEmbbedObj()
|
D | cxfa_ffdocview.cpp | 754 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()
|
D | cxfa_textprovider.h | 40 WideString& wsValue);
|
/external/pdfium/fxjs/xfa/ |
D | cjx_object.cpp | 220 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 …]
|
D | cjx_object.h | 78 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);
|
D | cjx_boolean.cpp | 27 WideString wsValue = GetContent(true); in defaultValue() local 28 pValue->SetBoolean(wsValue == L"1"); in defaultValue()
|
D | cjx_eventpseudomodel.cpp | 20 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()
|
D | cjx_exclgroup.cpp | 123 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/ |
D | fx_dib_main.cpp | 92 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/ |
D | cfgas_formatstring.h | 31 WideString* wsValue); 34 WideString* wsValue);
|
D | cfgas_formatstring.cpp | 1068 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/ |
D | cfx_csscomputedstyle.cpp | 18 WideString& wsValue) const { in GetCustomStyle() 22 wsValue = iter->value(); in GetCustomStyle()
|