Home
last modified time | relevance | path

Searched refs:wsName (Results 1 – 25 of 39) sorted by relevance

12

/external/pdfium/xfa/fxfa/parser/
Dxfa_locale.cpp34 CFX_WideString wsName; in GetNumbericSymbol() local
38 wsName = L"decimal"; in GetNumbericSymbol()
42 wsName = L"grouping"; in GetNumbericSymbol()
46 wsName = L"percent"; in GetNumbericSymbol()
50 wsName = L"minus"; in GetNumbericSymbol()
54 wsName = L"zero"; in GetNumbericSymbol()
58 wsName = L"symbol"; in GetNumbericSymbol()
62 wsName = L"isoname"; in GetNumbericSymbol()
73 wsName.AsStringC(), wsNumSymbol); in GetNumbericSymbol()
148 CFX_WideString wsName; in GetDatePattern() local
[all …]
Dcxfa_nodehelper.cpp261 CFX_WideString& wsName, in GetNameExpression() argument
264 wsName.clear(); in GetNameExpression()
266 GetNameExpression(refNode, wsName, false, eLogicType); in GetNameExpression()
273 wsParent += wsName; in GetNameExpression()
274 wsName = wsParent; in GetNameExpression()
285 wsName.Format(L"#%s[%d]", ws.c_str(), in GetNameExpression()
291 wsName.Format(L"%s[%d]", ws.c_str(), in GetNameExpression()
347 CFX_WideString wsName, in ResolveNodes_CreateNode() argument
356 if (wsName.GetAt(0) == '!') { in ResolveNodes_CreateNode()
357 wsName = wsName.Right(wsName.GetLength() - 1); in ResolveNodes_CreateNode()
[all …]
Dcxfa_validate.cpp54 CFX_WideStringC wsName; in GetMessageText() local
55 pItemNode->TryCData(XFA_ATTRIBUTE_Name, wsName); in GetMessageText()
56 if (wsName.IsEmpty() || wsName == wsMessageType) { in GetMessageText()
91 CFX_WideStringC wsName; in SetMessageText() local
92 pItemNode->TryCData(XFA_ATTRIBUTE_Name, wsName); in SetMessageText()
93 if (wsName.IsEmpty() || wsName == wsMessageType) { in SetMessageText()
Dcxfa_resolveprocessor.cpp80 CFX_WideString wsName = rnd.m_wsName; in ResolveAnyChild() local
85 if (wsName.GetAt(0) == '#') { in ResolveAnyChild()
87 wsName = wsName.Right(wsName.GetLength() - 1); in ResolveAnyChild()
90 ToNode(rnd.m_CurNode), wsName.c_str(), bClassName); in ResolveAnyChild()
105 CFX_WideString wsName = rnd.m_wsName; in ResolveDollar() local
107 int32_t iNameLen = wsName.GetLength(); in ResolveDollar()
116 CFX_WideStringC(wsName.c_str() + 1, iNameLen - 1), false)); in ResolveDollar()
156 CFX_WideString wsName = rnd.m_wsName.Right(rnd.m_wsName.GetLength() - 1); in ResolveNumberSign() local
159 if (ResolveForAttributeRs(curNode, rnd, wsName.AsStringC())) { in ResolveNumberSign()
168 rndFind.m_wsName = wsName; in ResolveNumberSign()
[all …]
Dxfa_utils.cpp372 XFA_Element XFA_GetElementTypeForName(const CFX_WideStringC& wsName) { in XFA_GetElementTypeForName() argument
373 if (wsName.IsEmpty()) in XFA_GetElementTypeForName()
376 uint32_t uHash = FX_HashCode_GetW(wsName, false); in XFA_GetElementTypeForName()
423 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const CFX_WideStringC& wsName) { in XFA_GetAttributeByName() argument
424 if (wsName.IsEmpty()) in XFA_GetAttributeByName()
427 uint32_t uHash = FX_HashCode_GetW(wsName, false); in XFA_GetAttributeByName()
449 const CFX_WideStringC& wsName) { in XFA_GetAttributeEnumByName() argument
450 if (wsName.IsEmpty()) in XFA_GetAttributeEnumByName()
453 uint32_t uHash = FX_HashCode_GetW(wsName, false); in XFA_GetAttributeEnumByName()
Dcxfa_nodehelper.h51 CFX_WideString& wsName,
55 bool ResolveNodes_CreateNode(CFX_WideString wsName,
Dxfa_utils.h197 XFA_Element XFA_GetElementTypeForName(const CFX_WideStringC& wsName);
206 const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const CFX_WideStringC& wsName);
209 const CFX_WideStringC& wsName);
Dcxfa_nodelist.cpp26 CXFA_Node* CXFA_NodeList::NamedItem(const CFX_WideStringC& wsName) { in NamedItem() argument
27 uint32_t dwHashCode = FX_HashCode_GetW(wsName, false); in NamedItem()
Dxfa_locale.h47 const CFX_WideStringC& wsName,
88 const CFX_WideStringC& wsName) const;
Dcxfa_simple_parser.cpp234 const XFA_PACKETINFO* GetPacketByName(const CFX_WideStringC& wsName) { in GetPacketByName() argument
235 if (wsName.IsEmpty()) in GetPacketByName()
238 uint32_t uHash = FX_HashCode_GetW(wsName, false); in GetPacketByName()
850 CFX_WideString wsName; in ParseAsXDPPacket_User() local
851 static_cast<CFDE_XMLElement*>(pXMLDocumentNode)->GetLocalTagName(wsName); in ParseAsXDPPacket_User()
852 pNode->SetCData(XFA_ATTRIBUTE_Name, wsName); in ParseAsXDPPacket_User()
1089 CFX_WideString wsName; in ParseDataGroup() local
1093 wsName, wsNS)) { in ParseDataGroup()
1096 if (wsName == L"nil" && wsValue == L"true") { in ParseDataGroup()
1111 pXFAMetaData->SetCData(XFA_ATTRIBUTE_Name, wsName); in ParseDataGroup()
Dcxfa_dataexporter.cpp81 const CFX_WideStringC& wsName, in SaveAttribute() argument
91 wsOutput += wsName; in SaveAttribute()
307 CFX_WideString wsName; in RegenerateFormFile_Changed() local
308 SaveAttribute(pNode, XFA_ATTRIBUTE_Name, L"name", true, wsName); in RegenerateFormFile_Changed()
311 buf << wsName; in RegenerateFormFile_Changed()
Dxfa_document_datamerger_imp.cpp407 CFX_WideStringC wsName, in FindGlobalDataNode() argument
410 if (wsName.IsEmpty()) in FindGlobalDataNode()
413 uint32_t dwNameHash = FX_HashCode_GetW(wsName, false); in FindGlobalDataNode()
425 CFX_WideStringC wsName, in FindOnceDataNode() argument
428 if (wsName.IsEmpty()) in FindOnceDataNode()
431 uint32_t dwNameHash = FX_HashCode_GetW(wsName, false); in FindOnceDataNode()
1017 const CFX_WideString& wsName) { in MaybeCreateDataNode() argument
1025 pDataNode->SetCData(XFA_ATTRIBUTE_Name, wsName); in MaybeCreateDataNode()
1046 CXFA_Node* pDDNode = pDDGroupNode->GetFirstChildByName(wsName.AsStringC()); in MaybeCreateDataNode()
1054 pDataNode->SetCData(XFA_ATTRIBUTE_Name, wsName); in MaybeCreateDataNode()
Dcxfa_node.cpp67 CFX_WideStringC wsName = pNode->GetCData(XFA_ATTRIBUTE_Name); in GetCount() local
70 wsInstName.Mid(1) != wsName) { in GetCount()
202 CFX_WideStringC wsName = pNode->GetCData(XFA_ATTRIBUTE_Name); in GetItem() local
205 wsInstName.Mid(1) != wsName) { in GetItem()
527 CFX_WideString wsName; in Clone() local
528 GetAttribute(XFA_ATTRIBUTE_Name, wsName, false); in Clone()
529 CFDE_XMLElement* pCloneXMLElement = new CFDE_XMLElement(wsName); in Clone()
1098 CFX_WideString wsName; in Script_TreeClass_All() local
1099 GetAttribute(XFA_ATTRIBUTE_Name, wsName); in Script_TreeClass_All()
1100 CFX_WideString wsExpression = wsName + L"[*]"; in Script_TreeClass_All()
[all …]
/external/pdfium/xfa/fde/css/
Dfde_cssdatatable.cpp200 const CFX_WideStringC& wsName) { in FDE_GetCSSPropertyByName() argument
201 ASSERT(!wsName.IsEmpty()); in FDE_GetCSSPropertyByName()
202 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in FDE_GetCSSPropertyByName()
225 const CFX_WideStringC& wsName) { in FDE_GetCSSPropertyValueByName() argument
226 ASSERT(!wsName.IsEmpty()); in FDE_GetCSSPropertyValueByName()
227 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in FDE_GetCSSPropertyValueByName()
246 const CFX_WideStringC& wsName) { in FDE_GetCSSLengthUnitByName() argument
247 ASSERT(!wsName.IsEmpty()); in FDE_GetCSSLengthUnitByName()
248 uint16_t wHash = FX_HashCode_GetW(wsName, true); in FDE_GetCSSLengthUnitByName()
267 const FDE_CSSCOLORTABLE* FDE_GetCSSColorByName(const CFX_WideStringC& wsName) { in FDE_GetCSSColorByName() argument
[all …]
Dfde_cssdatatable.h45 const CFX_WideStringC& wsName);
49 const CFX_WideStringC& wsName);
52 const CFX_WideStringC& wsName);
54 const FDE_CSSCOLORTABLE* FDE_GetCSSColorByName(const CFX_WideStringC& wsName);
Dcfde_cssstylesheet.cpp68 CFX_WideString wsName; in LoadStyleRule() local
82 wsName = CFX_WideString(strValue); in LoadStyleRule()
93 decl->AddProperty(wsName, CFX_WideString(strValue)); in LoadStyleRule()
Dcfde_csscomputedstyle.cpp17 bool CFDE_CSSComputedStyle::GetCustomStyle(const CFX_WideString& wsName, in GetCustomStyle() argument
21 if (wsName == iter->name()) { in GetCustomStyle()
/external/pdfium/xfa/fxfa/app/
Dcxfa_csstagprovider.h21 void SetTagName(const CFX_WideString& wsName) { m_wsTagName = wsName; } in SetTagName() argument
Dcxfa_textparser.cpp261 bool CXFA_TextParser::TagValidate(const CFX_WideString& wsName) const { in TagValidate()
280 FX_HashCode_GetW(wsName.AsStringC(), true)); in TagValidate()
287 CFX_WideString wsName; in ParseTagInfo() local
290 pXMLElement->GetLocalTagName(wsName); in ParseTagInfo()
291 tagProvider->SetTagName(wsName); in ParseTagInfo()
292 tagProvider->m_bTagAvailable = TagValidate(wsName); in ParseTagInfo()
Dxfa_ffbarcode.cpp96 const CFX_WideStringC& wsName) { in XFA_GetBarcodeTypeByName() argument
97 if (wsName.IsEmpty()) in XFA_GetBarcodeTypeByName()
100 uint32_t uHash = FX_HashCode_GetW(wsName, true); in XFA_GetBarcodeTypeByName()
Dxfa_ffdoc.cpp359 CFX_DIBitmap* CXFA_FFDoc::GetPDFNamedImage(const CFX_WideStringC& wsName, in GetPDFNamedImage() argument
365 uint32_t dwHash = FX_HashCode_GetW(wsName, false); in GetPDFNamedImage()
386 CFX_ByteString bsName = PDF_EncodeText(wsName.c_str(), wsName.GetLength()); in GetPDFNamedImage()
Dcxfa_textlayout.cpp718 CFX_WideString wsName; in LoadRichText() local
732 pElement->GetLocalTagName(wsName); in LoadRichText()
734 if (wsName == L"ol") { in LoadRichText()
752 (wsName.IsEmpty() || (wsName != L"body" && wsName != L"html" && in LoadRichText()
753 wsName != L"ol" && wsName != L"ul"))) { in LoadRichText()
761 if (wsName == L"a") { in LoadRichText()
779 } else if (wsName == L"br") { in LoadRichText()
781 } else if (wsName == L"li") { in LoadRichText()
Dxfa_ffwidgetacc.cpp179 bool CXFA_WidgetAcc::GetName(CFX_WideString& wsName, int32_t iNameType) { in GetName() argument
181 m_pNode->TryCData(XFA_ATTRIBUTE_Name, wsName); in GetName()
182 return !wsName.IsEmpty(); in GetName()
184 m_pNode->GetSOMExpression(wsName); in GetName()
185 if (iNameType == 2 && wsName.GetLength() >= 15) { in GetName()
187 if (wsPre == CFX_WideStringC(wsName.c_str(), wsPre.GetLength())) { in GetName()
188 wsName.Delete(0, wsPre.GetLength()); in GetName()
1606 CFX_WideStringC wsName; in GetTextNode() local
1607 pNode->TryCData(XFA_ATTRIBUTE_Name, wsName); in GetTextNode()
1608 if (m_eType == XFA_TEXTPROVIDERTYPE_Rollover && wsName == L"rollover") { in GetTextNode()
[all …]
/external/pdfium/xfa/fxfa/
Dxfa_ffdocview.h62 CXFA_FFWidget* GetWidgetByName(const CFX_WideString& wsName,
64 CXFA_WidgetAcc* GetWidgetAccByName(const CFX_WideString& wsName,
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp233 const CFX_WideString wsName = pFont->GetFaceName().UTF8Decode(); in DrawDeviceText() local
234 int iNameLen = std::min(wsName.GetLength(), LF_FACESIZE - 1); in DrawDeviceText()
235 memcpy(lf.lfFaceName, wsName.c_str(), sizeof(lf.lfFaceName[0]) * iNameLen); in DrawDeviceText()
266 if (wsName != wsSelectedName) in DrawDeviceText()

12