Home
last modified time | relevance | path

Searched refs:pChildItem (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/xfa/fxfa/parser/
Dcxfa_layoutitem.cpp163 void CXFA_LayoutItem::AddChild(CXFA_LayoutItem* pChildItem) { in AddChild() argument
164 if (pChildItem->m_pParent) in AddChild()
165 pChildItem->m_pParent->RemoveChild(pChildItem); in AddChild()
167 pChildItem->m_pParent = this; in AddChild()
169 m_pFirstChild = pChildItem; in AddChild()
177 pExistingChildItem->m_pNextSibling = pChildItem; in AddChild()
180 void CXFA_LayoutItem::AddHeadChild(CXFA_LayoutItem* pChildItem) { in AddHeadChild() argument
181 if (pChildItem->m_pParent) in AddHeadChild()
182 pChildItem->m_pParent->RemoveChild(pChildItem); in AddHeadChild()
184 pChildItem->m_pParent = this; in AddHeadChild()
[all …]
Dcxfa_traversestrategy_contentareacontainerlayoutitem.h16 for (CXFA_LayoutItem* pChildItem = pLayoutItem->m_pFirstChild; pChildItem; in GetFirstChild() local
17 pChildItem = pChildItem->m_pNextSibling) { in GetFirstChild()
19 pChildItem->AsContainerLayoutItem()) { in GetFirstChild()
28 for (CXFA_LayoutItem* pChildItem = pLayoutItem->m_pNextSibling; pChildItem; in GetNextSibling() local
29 pChildItem = pChildItem->m_pNextSibling) { in GetNextSibling()
31 pChildItem->AsContainerLayoutItem()) { in GetNextSibling()
Dcxfa_layoutitem.h40 void AddChild(CXFA_LayoutItem* pChildItem);
41 void AddHeadChild(CXFA_LayoutItem* pChildItem);
42 void RemoveChild(CXFA_LayoutItem* pChildItem);
43 void InsertChild(CXFA_LayoutItem* pBeforeItem, CXFA_LayoutItem* pChildItem);
Dcxfa_itemlayoutprocessor.cpp439 for (CXFA_ContentLayoutItem* pChildItem = in AddLeaderAfterSplit() local
441 pChildItem; in AddLeaderAfterSplit()
442 pChildItem = (CXFA_ContentLayoutItem*)pChildItem->m_pNextSibling) { in AddLeaderAfterSplit()
443 pChildItem->m_sPos.y += fHeight; in AddLeaderAfterSplit()
1031 for (CXFA_ContentLayoutItem* pChildItem = in FindLayoutItemSplitPos() local
1033 pChildItem; in FindLayoutItemSplitPos()
1034 pChildItem = (CXFA_ContentLayoutItem*)pChildItem->m_pNextSibling) { in FindLayoutItemSplitPos()
1036 fCurVerticalOffset + fCurTopMargin + pChildItem->m_sPos.y; in FindLayoutItemSplitPos()
1038 if (FindLayoutItemSplitPos(pChildItem, fChildOffset, &fRelSplitPos, in FindLayoutItemSplitPos()
1280 for (CXFA_ContentLayoutItem *pChildItem = pChildren, *pChildNext = nullptr; in SplitLayoutItem() local
[all …]
Dcxfa_simple_parser.cpp533 for (CFX_XMLNode* pChildItem = in ParseAsXDPPacket_XDP() local
535 pChildItem; in ParseAsXDPPacket_XDP()
536 pChildItem = pChildItem->GetNodeItem(CFX_XMLNode::NextSibling)) { in ParseAsXDPPacket_XDP()
538 if (!MatchNodeName(pChildItem, pPacketInfo->name, pPacketInfo->uri, in ParseAsXDPPacket_XDP()
545 pXMLConfigDOMRoot = pChildItem; in ParseAsXDPPacket_XDP()
554 for (CFX_XMLNode* pChildItem = in ParseAsXDPPacket_XDP() local
556 pChildItem; in ParseAsXDPPacket_XDP()
557 pChildItem = pChildItem->GetNodeItem(CFX_XMLNode::NextSibling)) { in ParseAsXDPPacket_XDP()
558 if (!pChildItem || pChildItem->GetType() != FX_XMLNODE_Element) in ParseAsXDPPacket_XDP()
560 if (pChildItem == pXMLConfigDOMRoot) in ParseAsXDPPacket_XDP()
[all …]
Dcxfa_layoutpagemgr.cpp44 CXFA_ContainerLayoutItem* pChildItem = in GetFirstChild() local
46 while (pChildItem && in GetFirstChild()
47 pChildItem->m_pFormNode->GetElementType() != XFA_Element::PageSet) { in GetFirstChild()
48 pChildItem = in GetFirstChild()
49 static_cast<CXFA_ContainerLayoutItem*>(pChildItem->m_pNextSibling); in GetFirstChild()
51 return pChildItem; in GetFirstChild()
56 CXFA_ContainerLayoutItem* pChildItem = in GetNextSibling() local
58 while (pChildItem && in GetNextSibling()
59 pChildItem->m_pFormNode->GetElementType() != XFA_Element::PageSet) { in GetNextSibling()
60 pChildItem = in GetNextSibling()
[all …]
/external/pdfium/xfa/fxfa/
Dcxfa_widgetacc.cpp2164 for (CXFA_Node* pChildItem = pSaveItems->GetFirstChild(); pChildItem; in GetItemLabel() local
2165 pChildItem = pChildItem->GetNextSibling()) { in GetItemLabel()
2166 if (pChildItem->JSObject()->GetContent(false) == wsValue) { in GetItemLabel()
2207 CXFA_Node* pChildItem = pLabelItems->GetFirstChild(); in GetItemValue() local
2208 for (; pChildItem; pChildItem = pChildItem->GetNextSibling()) { in GetItemValue()
2209 if (pChildItem->JSObject()->GetContent(false) == wsLabel) { in GetItemValue()