/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_localevalue.cpp | 100 const WideString& wsValue, in CXFA_LocaleValue() argument 103 m_wsValue(wsValue), in CXFA_LocaleValue() 105 m_bValid(ValidateCanonicalValue(wsValue, dwType)) {} in CXFA_LocaleValue() 108 const WideString& wsValue, in CXFA_LocaleValue() argument 114 m_bValid(ParsePatternValue(wsValue, wsFormat, pLocale)) {} in CXFA_LocaleValue() 123 bool CXFA_LocaleValue::ValidateValue(const WideString& wsValue, in ValidateValue() argument 143 bRet = pFormat->ParseNull(wsValue); in ValidateValue() 145 bRet = wsValue.IsEmpty(); in ValidateValue() 148 bRet = pFormat->ParseZero(wsValue); in ValidateValue() 150 bRet = wsValue.EqualsASCII("0"); in ValidateValue() [all …]
|
D | cxfa_localevalue.h | 34 const WideString& wsValue, 37 const WideString& wsValue, 46 bool ValidateValue(const WideString& wsValue, 74 bool ValidateCanonicalValue(const WideString& wsValue, uint32_t dwVType); 81 bool ParsePatternValue(const WideString& wsValue,
|
D | cxfa_font.cpp | 74 WideString wsValue = JSObject()->GetCData(XFA_Attribute::FontHorizontalScale); in GetHorizontalScale() local 75 int32_t iScale = FXSYS_wtoi(wsValue.c_str()); in GetHorizontalScale() 80 WideString wsValue = JSObject()->GetCData(XFA_Attribute::FontVerticalScale); in GetVerticalScale() local 81 int32_t iScale = FXSYS_wtoi(wsValue.c_str()); in GetVerticalScale() 86 WideString wsValue = JSObject()->GetCData(XFA_Attribute::LetterSpacing); in GetLetterSpacing() local 87 CXFA_Measurement ms(wsValue.AsStringView()); in GetLetterSpacing()
|
D | cxfa_node.cpp | 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 [all …]
|
D | cxfa_document.cpp | 500 WideString wsValue; in CreateDataBinding() local 507 wsValue = image->GetContent(); in CreateDataBinding() 515 wsValue, pFormNode->GetFormatDataValue(wsValue), false, false); in CreateDataBinding() 524 wsValue = defValue ? defValue->GetChildValueContent() : WideString(); in CreateDataBinding() 544 } else if (!wsValue.IsEmpty()) { in CreateDataBinding() 546 wsValue, pFormNode->GetFormatDataValue(wsValue), false, false); in CreateDataBinding() 550 wsValue = defValue ? defValue->GetChildValueContent() : WideString(); in CreateDataBinding() 551 if (wsValue.IsEmpty()) in CreateDataBinding() 555 wsValue, pFormNode->GetFormatDataValue(wsValue), false, false); in CreateDataBinding() 569 wsValue = pValue->GetChildValueContent(); in CreateDataBinding() [all …]
|
D | cxfa_node.h | 327 void SetSelectedMemberByValue(WideStringView wsValue, 351 const WideString& wsValue, 369 bool SetValue(XFA_VALUEPICTURE eValueType, const WideString& wsValue); 373 WideString GetNormalizeDataValue(const WideString& wsValue); 374 WideString GetFormatDataValue(const WideString& wsValue); 375 WideString NormalizeNumStr(const WideString& wsValue); 381 WideString NumericLimit(const WideString& wsValue); 451 WideString GetItemLabel(WideStringView wsValue) const; 467 void SyncValue(const WideString& wsValue, bool bNotify);
|
D | cxfa_validate.cpp | 62 void CXFA_Validate::SetNullTest(const WideString& wsValue) { in SetNullTest() argument 64 XFA_GetAttributeValueByName(wsValue.AsStringView()); in SetNullTest()
|
D | xfa_utils.cpp | 240 WideString wsValue = in RegenerateFormFile_Changed() local 242 wsChildren += ExportEncodeContent(wsValue); in RegenerateFormFile_Changed() 249 WideString wsValue = pNode->JSObject()->GetCData(XFA_Attribute::Value); in RegenerateFormFile_Changed() local 250 wsChildren += ExportEncodeContent(wsValue); in RegenerateFormFile_Changed()
|
D | cxfa_validate.h | 24 void SetNullTest(const WideString& wsValue);
|
D | cxfa_document_parser.cpp | 756 WideString wsValue; in ParseContentNode() local 768 wsValue += GetPlainTextFromRichText(pElement); in ParseContentNode() 772 ConvertXMLToPlainText(pElement, wsValue); in ParseContentNode() 778 wsValue = pText->GetText(); in ParseContentNode() 782 if (!wsValue.IsEmpty()) { in ParseContentNode() 787 pContentRawDataNode->JSObject()->SetCData(XFA_Attribute::Value, wsValue, in ParseContentNode() 791 pXFANode->JSObject()->SetCData(XFA_Attribute::Value, wsValue, false, in ParseContentNode()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textparser.cpp | 299 WideString wsValue = pXMLElement->GetAttribute(L"style"); in ParseTagInfo() local 300 if (!wsValue.IsEmpty()) in ParseTagInfo() 301 tagProvider->SetAttribute(L"style", wsValue); in ParseTagInfo() 319 WideString wsValue; in GetTabInterval() local 320 if (pStyle && pStyle->GetCustomStyle(L"tab-interval", &wsValue)) in GetTabInterval() 321 return CXFA_Measurement(wsValue.AsStringView()).ToUnit(XFA_Unit::Pt); in GetTabInterval() 326 WideString wsValue; in CountTabs() local 327 if (pStyle && pStyle->GetCustomStyle(L"xfa-tab-count", &wsValue)) in CountTabs() 328 return wsValue.GetInteger(); in CountTabs() 333 WideString wsValue; in IsSpaceRun() local [all …]
|
D | cxfa_textparser.h | 100 void SetAttribute(const WideString& wsAttr, const WideString& wsValue) { in SetAttribute() argument 101 m_Attributes.insert({wsAttr, wsValue}); in SetAttribute()
|
D | cxfa_ffdocview.cpp | 657 WideString wsValue; in RunBindItems() local 666 wsValue = refNode->JSObject()->GetContent(false); in RunBindItems() 669 wsValue = nodeValue ? nodeValue->JSObject()->GetContent(false) in RunBindItems() 683 wsLabel = wsValue; in RunBindItems() 685 pWidgetNode->InsertItem(wsLabel, wsValue, false); in RunBindItems()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_object.cpp | 218 WideStringView wsValue, in SetAttribute() argument 222 Optional<XFA_AttributeValue> item = XFA_GetAttributeValueByName(wsValue); in SetAttribute() 229 SetCData(eAttr, WideString(wsValue), bNotify, false); in SetAttribute() 232 SetBoolean(eAttr, !wsValue.EqualsASCII("0"), bNotify); in SetAttribute() 236 FXSYS_roundf(FXSYS_wcstof(wsValue.unterminated_c_str(), in SetAttribute() 237 wsValue.GetLength(), nullptr)), in SetAttribute() 241 SetMeasure(eAttr, CXFA_Measurement(wsValue), bNotify); in SetAttribute() 248 void CJX_Object::SetMapModuleString(void* pKey, WideStringView wsValue) { in SetMapModuleString() argument 249 SetMapModuleBuffer(pKey, const_cast<wchar_t*>(wsValue.unterminated_c_str()), in SetMapModuleString() 250 wsValue.GetLength() * sizeof(wchar_t), nullptr); in SetMapModuleString() [all …]
|
D | cjx_object.h | 120 void SetAttribute(XFA_Attribute eAttr, WideStringView wsValue, bool bNotify); 122 WideStringView wsValue, 150 void SetAttributeValue(const WideString& wsValue, 185 const WideString& wsValue, 224 void SetMapModuleString(void* pKey, WideStringView wsValue);
|
D | cjx_exclgroup.cpp | 131 WideString wsValue = GetContent(true); in defaultValue() local 133 if (wsValue.IsEmpty() && curVersion >= XFA_VERSION_300) { in defaultValue() 137 pValue->SetString(wsValue.ToUTF8().AsStringView()); in defaultValue()
|
D | cjx_eventpseudomodel.cpp | 21 void StringProperty(CFXJSE_Value* pReturn, WideString* wsValue, bool bSetting) { in StringProperty() argument 23 *wsValue = pReturn->ToWideString(); in StringProperty() 26 pReturn->SetString(wsValue->ToUTF8().AsStringView()); in StringProperty()
|
D | cfxjse_formcalc_context.cpp | 3677 WideString wsValue = WideString::FromUTF8(bsValue.AsStringView()); in Format() local 3712 CXFA_LocaleValue tempLocaleValue(XFA_VT_FLOAT, wsValue, wsTestPattern, in Format() 3724 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Format() 3853 WideString wsValue = WideString::FromUTF8(bsValue.AsStringView()); in Parse() local 3859 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Parse() 3883 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Parse() 3895 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Parse() 3907 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Parse() 3919 CXFA_LocaleValue localeValue(XFA_VT_TEXT, wsValue, wsPattern, pLocale, in Parse() 3931 CXFA_LocaleValue localeValue(XFA_VT_FLOAT, wsValue, wsPattern, pLocale, in Parse() [all …]
|
/external/pdfium/xfa/fgas/crt/ |
D | cfgas_stringformatter.h | 34 WideString* wsValue) const; 36 WideString* wsValue) const;
|
D | cfgas_stringformatter.cpp | 1052 WideString* wsValue) const { in ParseText() 1053 wsValue->clear(); in ParseText() 1074 *wsValue = wsSrcText; in ParseText() 1083 *wsValue += spSrcText[iText]; in ParseText() 1089 *wsValue += spSrcText[iText]; in ParseText() 1097 *wsValue += spSrcText[iText]; in ParseText() 1104 *wsValue += spSrcText[iText]; in ParseText() 1111 *wsValue = wsSrcText; in ParseText() 1123 WideString* wsValue) const { in ParseNum() 1124 wsValue->clear(); in ParseNum() [all …]
|