Lines Matching refs:pLayoutItem
40 CXFA_ContainerLayoutItem* pLayoutItem) { in GetFirstChild() argument
41 if (pLayoutItem->m_pFormNode->GetElementType() != XFA_Element::PageSet) in GetFirstChild()
45 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pFirstChild); in GetFirstChild()
55 CXFA_ContainerLayoutItem* pLayoutItem) { in GetNextSibling() argument
57 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pNextSibling); in GetNextSibling()
67 CXFA_ContainerLayoutItem* pLayoutItem) { in GetParent() argument
68 return static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pParent); in GetParent()
126 void ReorderLayoutItemToTail(CXFA_ContainerLayoutItem* pLayoutItem) { in ReorderLayoutItemToTail() argument
128 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pParent); in ReorderLayoutItemToTail()
132 pParentLayoutItem->RemoveChild(pLayoutItem); in ReorderLayoutItemToTail()
133 pParentLayoutItem->AddChild(pLayoutItem); in ReorderLayoutItemToTail()
136 void RemoveLayoutItem(CXFA_ContainerLayoutItem* pLayoutItem) { in RemoveLayoutItem() argument
138 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pParent); in RemoveLayoutItem()
142 pParentLayoutItem->RemoveChild(pLayoutItem); in RemoveLayoutItem()
209 for (CXFA_ContainerLayoutItem* pLayoutItem = in CheckContentAreaNotUsed() local
212 pLayoutItem; pLayoutItem = static_cast<CXFA_ContainerLayoutItem*>( in CheckContentAreaNotUsed()
213 pLayoutItem->m_pNextSibling)) { in CheckContentAreaNotUsed()
214 if (pLayoutItem->m_pFormNode == pContentArea) { in CheckContentAreaNotUsed()
215 if (!pLayoutItem->m_pFirstChild) { in CheckContentAreaNotUsed()
216 pContentAreaLayoutItem = pLayoutItem; in CheckContentAreaNotUsed()
279 CXFA_LayoutItem* pLayoutItem = GetRootLayoutItem(); in ~CXFA_LayoutPageMgr() local
281 for (; pLayoutItem; pLayoutItem = pNextLayout) { in ~CXFA_LayoutPageMgr()
282 pNextLayout = pLayoutItem->m_pNextSibling; in ~CXFA_LayoutPageMgr()
283 XFA_ReleaseLayoutItem(pLayoutItem); in ~CXFA_LayoutPageMgr()
489 CXFA_ContainerLayoutItem* pLayoutItem = in GetAvailHeight() local
491 if (!pLayoutItem || !pLayoutItem->m_pFormNode) in GetAvailHeight()
494 float fAvailHeight = pLayoutItem->m_pFormNode->JSObject() in GetAvailHeight()
1784 CXFA_LayoutItem* pLayoutItem = in MergePageSetContents() local
1786 if (pLayoutItem) { in MergePageSetContents()
1787 pNotify->OnLayoutItemRemoving(pDocLayout, pLayoutItem); in MergePageSetContents()
1788 delete pLayoutItem; in MergePageSetContents()
1847 CXFA_LayoutItem* pLayoutItem = in MergePageSetContents() local
1849 if (pLayoutItem) { in MergePageSetContents()
1850 pNotify->OnLayoutItemRemoving(pDocLayout, pLayoutItem); in MergePageSetContents()
1851 delete pLayoutItem; in MergePageSetContents()
1855 CXFA_LayoutItem* pLayoutItem = pNode->JSObject()->GetLayoutItem(); in MergePageSetContents() local
1856 if (pLayoutItem) { in MergePageSetContents()
1857 pNotify->OnLayoutItemRemoving(pDocLayout, pLayoutItem); in MergePageSetContents()
1858 delete pLayoutItem; in MergePageSetContents()
1963 void XFA_ReleaseLayoutItem_NoPageArea(CXFA_LayoutItem* pLayoutItem) { in XFA_ReleaseLayoutItem_NoPageArea() argument
1964 CXFA_LayoutItem *pNext, *pNode = pLayoutItem->m_pFirstChild; in XFA_ReleaseLayoutItem_NoPageArea()
1971 if (pLayoutItem->m_pFormNode->GetElementType() != XFA_Element::PageArea) in XFA_ReleaseLayoutItem_NoPageArea()
1972 delete pLayoutItem; in XFA_ReleaseLayoutItem_NoPageArea()