Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffConfigAcc.cpp43 CFX_WideString wsValue; in GetFontInfo() local
44 pFontNode->GetAttribute(XFA_ATTRIBUTE_Weight, wsValue); in GetFontInfo()
45 wsValue.MakeLower(); in GetFontInfo()
46 if (wsValue == FX_WSTRC(L"bold")) { in GetFontInfo()
49 pFontNode->GetAttribute(XFA_ATTRIBUTE_Posture, wsValue); in GetFontInfo()
50 wsValue.MakeLower(); in GetFontInfo()
51 if (wsValue == FX_WSTRC(L"italic")) { in GetFontInfo()
Dxfa_textlayout.cpp30 CFX_WideStringC& wsValue) { in GetNextAttribute() argument
38 wsValue = *pValue; in GetNextAttribute()
41 const CFX_WideString& wsValue) { in SetAttribute() argument
45 *pValue = wsValue; in SetAttribute()
314 CFX_WideString wsValue; in ParseTagInfo() local
315 pXMLElement->GetString(FX_WSTRC(L"style").GetPtr(), wsValue); in ParseTagInfo()
316 if (!wsValue.IsEmpty()) { in ParseTagInfo()
317 tagProvider.SetAttribute(FX_WSTRC(L"style"), wsValue); in ParseTagInfo()
333 CFX_WideString wsValue; in GetTabInterval() local
334 if (pStyle && pStyle->GetCustomStyle(FX_WSTRC(L"tab-interval"), wsValue)) { in GetTabInterval()
[all …]
Dxfa_ffwidgetacc.cpp215 CFX_WideString wsValue; in ResetData() local
223 image.GetContent(wsValue); in ResetData()
227 SetImageEdit(wsContentType, wsHref, wsValue); in ResetData()
239 if (wsValue.IsEmpty() && (defValue = pAcc->GetDefaultValue())) { in ResetData()
240 defValue.GetChildValueContent(wsValue); in ResetData()
241 this->SetValue(wsValue, XFA_VALUEPICTURE_Raw); in ResetData()
242 pAcc->SetValue(wsValue, XFA_VALUEPICTURE_Raw); in ResetData()
262 defValue.GetChildValueContent(wsValue); in ResetData()
264 SetValue(wsValue, XFA_VALUEPICTURE_Raw); in ResetData()
479 CFX_WideString wsValue; in ProcessNullTestValidate() local
[all …]
Dxfa_textlayout.h22 CFX_WideString& wsValue) = 0;
34 CFX_WideStringC& wsValue);
37 const CFX_WideString& wsValue);
114 CFX_WideString& wsValue);
Dxfa_ffwidgetacc.h34 CFX_WideString& wsValue);
Dxfa_ffdocview.cpp794 CFX_WideString wsValue, wsLabel; in RunBindItems() local
804 wsValue = refNode->GetContent(); in RunBindItems()
808 wsValue = refNode->GetContent(); in RunBindItems()
810 wsValue = nodeValue->GetContent(); in RunBindItems()
823 wsLabel = wsValue; in RunBindItems()
825 pAcc->InsertItem(wsLabel, wsValue); in RunBindItems()
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_localevalue.cpp51 const CFX_WideString& wsValue, in CXFA_LocaleValue() argument
53 m_wsValue = wsValue; in CXFA_LocaleValue()
56 m_bValid = ValidateCanonicalValue(wsValue, dwType); in CXFA_LocaleValue()
59 const CFX_WideString& wsValue, in CXFA_LocaleValue() argument
66 m_bValid = ParsePatternValue(wsValue, wsFormat, pLocale); in CXFA_LocaleValue()
97 FX_BOOL CXFA_LocaleValue::ValidateValue(const CFX_WideString& wsValue, in ValidateValue() argument
118 bRet = pFormat->ParseNull(wsValue, wsFormat); in ValidateValue()
120 bRet = wsValue.IsEmpty(); in ValidateValue()
124 bRet = pFormat->ParseZero(wsValue, wsFormat); in ValidateValue()
126 bRet = wsValue == FX_WSTRC(L"0"); in ValidateValue()
[all …]
Dxfa_objectacc_imp.cpp17 static FX_ARGB XFA_WStringToColor(const CFX_WideStringC& wsValue) { in XFA_WStringToColor() argument
19 if (wsValue.GetLength() == 0) { in XFA_WStringToColor()
23 const FX_WCHAR* str = wsValue.GetPtr(); in XFA_WStringToColor()
24 int len = wsValue.GetLength(); in XFA_WStringToColor()
250 CFX_WideString wsValue; in GetHorizontalScale() local
251 m_pNode->TryCData(XFA_ATTRIBUTE_FontHorizontalScale, wsValue); in GetHorizontalScale()
252 int32_t iScale = FXSYS_wtoi((const FX_WCHAR*)wsValue); in GetHorizontalScale()
256 CFX_WideString wsValue; in GetVerticalScale() local
257 m_pNode->TryCData(XFA_ATTRIBUTE_FontVerticalScale, wsValue); in GetVerticalScale()
258 int32_t iScale = FXSYS_wtoi((const FX_WCHAR*)wsValue); in GetVerticalScale()
[all …]
Dxfa_object_imp.cpp128 CFX_WideStringC wsValue = this->GetCData(XFA_ATTRIBUTE_Value); in Clone() local
129 if (!wsValue.IsEmpty()) { in Clone()
130 pCloneXMLElement->SetTextData(wsValue); in Clone()
824 CFX_WideString wsValue; in Script_NodeClass_AssignNode() local
833 wsValue = CFX_WideString::FromUTF8(bsValue, bsValue.GetLength()); in Script_NodeClass_AssignNode()
863 CFX_WideString wsValue; in Script_NodeClass_GetAttribute() local
864 this->GetAttribute(wsExpression, wsValue); in Script_NodeClass_GetAttribute()
867 FXJSE_Value_SetUTF8String(hValue, FX_UTF8Encode(wsValue)); in Script_NodeClass_GetAttribute()
915 CFX_WideString wsValue; in Script_NodeClass_IsPropertySpecified() local
1475 CFX_WideString wsValue = in Script_Attribute_String() local
[all …]
Dxfa_document_datamerger_imp.cpp114 CFX_WideString wsValue; in XFA_DataMerge_CreateDataBinding() local
122 image.GetContent(wsValue); in XFA_DataMerge_CreateDataBinding()
129 pWidgetData->GetFormatDataValue(wsValue, wsFormatedValue); in XFA_DataMerge_CreateDataBinding()
130 pDataNode->SetAttributeValue(wsValue, wsFormatedValue); in XFA_DataMerge_CreateDataBinding()
137 defValue.GetChildValueContent(wsValue); in XFA_DataMerge_CreateDataBinding()
158 } else if (!wsValue.IsEmpty()) { in XFA_DataMerge_CreateDataBinding()
159 pWidgetData->GetFormatDataValue(wsValue, wsFormatedValue); in XFA_DataMerge_CreateDataBinding()
160 pDataNode->SetAttributeValue(wsValue, wsFormatedValue); in XFA_DataMerge_CreateDataBinding()
164 defValue.GetChildValueContent(wsValue); in XFA_DataMerge_CreateDataBinding()
165 if (wsValue.IsEmpty()) { in XFA_DataMerge_CreateDataBinding()
[all …]
Dxfa_utils_imp.cpp313 CFX_WideString wsValue = wsStringVal; in XFA_WideStringToDouble() local
314 wsValue.TrimLeft(); in XFA_WideStringToDouble()
315 wsValue.TrimRight(); in XFA_WideStringToDouble()
321 const FX_WCHAR* str = (const FX_WCHAR*)wsValue; in XFA_WideStringToDouble()
322 int32_t len = wsValue.GetLength(); in XFA_WideStringToDouble()
392 CFX_WideString wsValue = in XFA_ByteStringToDouble() local
394 return XFA_WideStringToDouble(wsValue); in XFA_ByteStringToDouble()
Dxfa_document_serialize.cpp133 CFX_WideString wsValue; in XFA_SaveAttribute() local
135 !pNode->GetAttribute((XFA_ATTRIBUTE)eName, wsValue, FALSE)) { in XFA_SaveAttribute()
138 wsValue = XFA_ExportEncodeAttribute(wsValue); in XFA_SaveAttribute()
142 wsOutput += wsValue; in XFA_SaveAttribute()
308 CFX_WideStringC wsValue = pRawValueNode->GetCData(XFA_ATTRIBUTE_Value); in XFA_DataExporter_RegenerateFormFile_Changed() local
309 wsChildren += XFA_ExportEncodeContent(wsValue); in XFA_DataExporter_RegenerateFormFile_Changed()
315 CFX_WideStringC wsValue = pNode->GetCData(XFA_ATTRIBUTE_Value); in XFA_DataExporter_RegenerateFormFile_Changed() local
316 wsChildren += XFA_ExportEncodeContent(wsValue); in XFA_DataExporter_RegenerateFormFile_Changed()
Dxfa_script_eventpseudomodel.cpp24 CFX_WideString& wsValue, in Script_EventPseudoModel_StringProperty() argument
29 wsValue = CFX_WideString::FromUTF8(bsValue, bsValue.GetLength()); in Script_EventPseudoModel_StringProperty()
31 FXJSE_Value_SetUTF8String(hValue, FX_UTF8Encode(wsValue)); in Script_EventPseudoModel_StringProperty()
Dxfa_script_hostpseudomodel.cpp27 CFX_WideString wsValue; in Script_HostPseudoModel_LoadString() local
28 pNotify->GetAppProvider()->LoadString(dwFlag, wsValue); in Script_HostPseudoModel_LoadString()
29 FXJSE_Value_SetUTF8String(hValue, FX_UTF8Encode(wsValue)); in Script_HostPseudoModel_LoadString()
605 CFX_WideString& wsValue) { in Script_HostPseudoModel_ValidateArgsForMsg() argument
621 wsValue = FX_WSTRC(L""); in Script_HostPseudoModel_ValidateArgsForMsg()
625 wsValue = CFX_WideString::FromUTF8(byMessage, byMessage.GetLength()); in Script_HostPseudoModel_ValidateArgsForMsg()
Dxfa_parser_imp.cpp313 CFX_WideString& wsValue, in XFA_FDEExtension_FindAttributeWithNS() argument
351 wsValue = wsAttrValue; in XFA_FDEExtension_FindAttributeWithNS()
1021 CFX_WideString wsValue; in ParseContentNode() local
1036 XFA_GetPlainTextFromRichText((IFDE_XMLElement*)pXMLChild, wsValue); in ParseContentNode()
1038 XFA_ConvertRichTextToPlainText((IFDE_XMLElement*)pXMLChild, wsValue); in ParseContentNode()
1045 XFA_ConvertXMLToPlainText((IFDE_XMLElement*)pXMLChild, wsValue); in ParseContentNode()
1051 ((IFDE_XMLText*)pXMLChild)->GetText(wsValue); in ParseContentNode()
1053 ((IFDE_XMLCharData*)pXMLChild)->GetCharData(wsValue); in ParseContentNode()
1058 if (!wsValue.IsEmpty()) { in ParseContentNode()
1063 pContentRawDataNode->SetCData(XFA_ATTRIBUTE_Value, wsValue); in ParseContentNode()
[all …]
/external/pdfium/xfa/src/fxfa/src/common/
Dfxfa_localevalue.h27 const CFX_WideString& wsValue,
30 const CFX_WideString& wsValue,
37 FX_BOOL ValidateValue(const CFX_WideString& wsValue,
49 FX_BOOL ValidateCanonicalValue(const CFX_WideString& wsValue,
66 void SetValue(const CFX_WideString& wsValue, FX_DWORD dwType);
98 FX_BOOL ParsePatternValue(const CFX_WideString& wsValue,
Dxfa_object.h135 const CFX_WideStringC& wsValue,
138 CFX_WideString& wsValue,
141 const CFX_WideStringC& wsValue,
144 CFX_WideString& wsValue,
199 const CFX_WideString& wsValue,
202 FX_BOOL SetAttributeValue(const CFX_WideString& wsValue,
207 CFX_WideString& wsValue,
211 CFX_WideStringC& wsValue,
215 CFX_WideStringC wsValue; in GetCData() local
216 return TryCData(eAttr, wsValue) ? wsValue : CFX_WideStringC(); in GetCData()
[all …]
/external/pdfium/xfa/src/fdp/src/css/
Dfde_csscache.cpp107 CFX_WideStringC wsValue, wsName = pTag->GetTagName(); in _FDE_CSSTAGCACHE() local
112 pTag->GetNextAttribute(pos, wsName, wsValue); in _FDE_CSSTAGCACHE()
120 FX_HashCode_String_GetW(wsValue.GetPtr(), wsValue.GetLength()); in _FDE_CSSTAGCACHE()
123 dwIDHash = FX_HashCode_String_GetW(wsValue.GetPtr(), wsValue.GetLength()); in _FDE_CSSTAGCACHE()
Dfde_cssstyleselector.cpp439 CFX_WideStringC wsAttri, wsValue; in ComputeStyle() local
442 pTag->GetNextAttribute(pos, wsAttri, wsValue); in ComputeStyle()
453 AppendInlineStyle(pDecl, wsValue.GetPtr(), wsValue.GetLength()); in ComputeStyle()
462 pDecl->AddProperty(&args, wsValue.GetPtr(), wsValue.GetLength()); in ComputeStyle()
542 CFX_WideString wsName, wsValue; in ApplyDeclarations() local
545 pDecl->GetNextCustom(pos, wsName, wsValue); in ApplyDeclarations()
546 pComputedStyle->AddCustomStyle(wsName, wsValue); in ApplyDeclarations()
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp404 CFX_WideString wsValue; in SaveXMLNode() local
409 wsValue = attributes[i + 1]; in SaveXMLNode()
410 wsValue.Replace(L"&", L"&"); in SaveXMLNode()
411 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
412 wsValue.Replace(L">", L"&gt;"); in SaveXMLNode()
413 wsValue.Replace(L"\'", L"&apos;"); in SaveXMLNode()
414 wsValue.Replace(L"\"", L"&quot;"); in SaveXMLNode()
415 ws += wsValue; in SaveXMLNode()
438 CFX_WideString wsValue; in SaveXMLNode() local
443 wsValue = attributes[i + 1]; in SaveXMLNode()
[all …]
/external/pdfium/xfa/include/fxfa/
Dfxfa_objectacc.h391 FX_BOOL SetFormatTest(CFX_WideString wsValue);
393 FX_BOOL SetNullTest(CFX_WideString wsValue);
410 CFX_WideString& wsValue,
654 void SetSelectedMemberByValue(const CFX_WideStringC& wsValue,
686 const CFX_WideString& wsValue,
689 void GetItemLabel(const CFX_WideStringC& wsValue, CFX_WideString& wsLabel);
690 void GetItemValue(const CFX_WideStringC& wsLabel, CFX_WideString& wsValue);
698 FX_BOOL SetValue(const CFX_WideString& wsValue, XFA_VALUEPICTURE eValueType);
702 FX_BOOL GetValue(CFX_WideString& wsValue, XFA_VALUEPICTURE eValueType);
703 FX_BOOL GetNormalizeDataValue(const CFX_WideStringC& wsValue,
[all …]
/external/pdfium/xfa/src/fgas/src/localization/
Dfx_localeimp.h54 CFX_WideString& wsValue);
60 CFX_WideString& wsValue);
Dfx_locale.cpp299 static FX_BOOL FX_WStringToNumeric(const CFX_WideString& wsValue, in FX_WStringToNumeric() argument
310 if (wsValue.IsEmpty()) { in FX_WStringToNumeric()
316 const FX_WCHAR* str = (const FX_WCHAR*)wsValue; in FX_WStringToNumeric()
317 int32_t len = wsValue.GetLength(); in FX_WStringToNumeric()
396 lcnum.m_wsValue = wsValue; in FX_WStringToNumeric()
933 CFX_WideString& wsValue) { in ParseText() argument
934 wsValue.Empty(); in ParseText()
957 wsValue = wsSrcText; in ParseText()
966 wsValue += pStrText[iText]; in ParseText()
972 wsValue += pStrText[iText]; in ParseText()
[all …]
/external/pdfium/xfa/src/fgas/include/
Dfx_locale.h114 CFX_WideString& wsValue) = 0;
120 CFX_WideString& wsValue) = 0;
/external/pdfium/xfa/src/fdp/include/
Dfde_xml.h167 const CFX_WideString& wsValue);
170 const CFX_WideString& wsValue);

12