Lines Matching refs:pFormNode
86 CFX_SizeF CalculateContainerSpecifiedSize(CXFA_Node* pFormNode, in CalculateContainerSpecifiedSize() argument
92 XFA_Element eType = pFormNode->GetElementType(); in CalculateContainerSpecifiedSize()
97 pFormNode->JSObject()->TryMeasure(XFA_Attribute::W, false); in CalculateContainerSpecifiedSize()
104 pFormNode->JSObject()->TryMeasure(XFA_Attribute::H, false); in CalculateContainerSpecifiedSize()
113 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxW, false); in CalculateContainerSpecifiedSize()
120 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxH, false); in CalculateContainerSpecifiedSize()
130 CXFA_Node* pFormNode, in CalculateContainerComponentSizeFromContentSize() argument
138 pFormNode->GetFirstChildByClass<CXFA_Margin>(XFA_Element::Margin); in CalculateContainerComponentSizeFromContentSize()
506 XFA_AttributeEnum GetLayout(CXFA_Node* pFormNode, bool* bRootForceTb) { in GetLayout() argument
509 pFormNode->JSObject()->TryEnum(XFA_Attribute::Layout, false); in GetLayout()
513 CXFA_Node* pParentNode = pFormNode->GetParent(); in GetLayout()
741 CXFA_Node* pFormNode = nullptr; in InsertFlowedItem() local
746 pFormNode = pThis->m_pPageMgr->QueryOverflow(pProcessor->m_pFormNode); in InsertFlowedItem()
747 if (!pFormNode && pLayoutContext && pLayoutContext->m_pOverflowProcessor) { in InsertFlowedItem()
748 pFormNode = pLayoutContext->m_pOverflowNode; in InsertFlowedItem()
751 if (pThis->m_pPageMgr->ProcessOverflow(pFormNode, pOverflowLeaderNode, in InsertFlowedItem()
799 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
836 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
863 pFormNode); in InsertFlowedItem()
878 pThis->m_pPageMgr->ProcessOverflow(pFormNode, pTempLeaderNode, in InsertFlowedItem()
891 pFormNode); in InsertFlowedItem()
899 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
925 if (!pFormNode && pLayoutContext) in InsertFlowedItem()
926 pFormNode = pLayoutContext->m_pOverflowProcessor->m_pFormNode; in InsertFlowedItem()
928 pThis->m_pPageMgr->ProcessOverflow(pFormNode, pTempLeaderNode, in InsertFlowedItem()
934 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
957 pThis->m_pPageMgr->ProcessOverflow(pFormNode, pOverflowLeaderNode, in InsertFlowedItem()
971 if (!pFormNode && pLayoutContext) in InsertFlowedItem()
972 pFormNode = pLayoutContext->m_pOverflowProcessor->m_pFormNode; in InsertFlowedItem()
974 pThis->m_pPageMgr->ProcessOverflow(pFormNode, pOverflowLeaderNode, in InsertFlowedItem()
979 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
990 CXFA_Node* pFormNode = pLayoutItem->m_pFormNode; in FindLayoutItemSplitPos() local
997 switch (pFormNode->GetIntact()) { in FindLayoutItemSplitPos()
1000 CXFA_Document* pDocument = pFormNode->GetDocument(); in FindLayoutItemSplitPos()
1004 pFormNode->GetFirstChildByClass<CXFA_Margin>(XFA_Element::Margin); in FindLayoutItemSplitPos()
1018 if (pNotify->FindSplitPos(pFormNode, pLayoutItem->GetIndex(), in FindLayoutItemSplitPos()
1172 CXFA_Node* pFormNode) { in CreateContentLayoutItem() argument
1173 if (!pFormNode) in CreateContentLayoutItem()
1183 pFormNode->GetDocument()->GetNotify()->OnCreateContentLayoutItem( in CreateContentLayoutItem()
1184 pFormNode); in CreateContentLayoutItem()
1187 pFormNode->JSObject()->GetLayoutItem()); in CreateContentLayoutItem()
1195 pFormNode->JSObject()->SetLayoutItem(pLayoutItem); in CreateContentLayoutItem()
1599 CXFA_Node* pFormNode = pPageAreaLayoutItem->m_pFormNode; in DoLayoutPageArea() local
1604 for (GotoNextContainerNode(pCurChildNode, nCurChildNodeStage, pFormNode, in DoLayoutPageArea()
1607 pFormNode, false)) { in DoLayoutPageArea()
2095 void CXFA_ItemLayoutProcessor::ProcessUnUseBinds(CXFA_Node* pFormNode) { in ProcessUnUseBinds() argument
2096 if (!pFormNode) in ProcessUnUseBinds()
2100 pFormNode); in ProcessUnUseBinds()
2118 CXFA_Node* pFormNode) { in ProcessUnUseOverFlow() argument
2121 if (!pFormNode) in ProcessUnUseOverFlow()
2124 if (pFormNode->GetElementType() == XFA_Element::Overflow || in ProcessUnUseOverFlow()
2125 pFormNode->GetElementType() == XFA_Element::Break) { in ProcessUnUseOverFlow()
2126 pFormNode = pFormNode->GetParent(); in ProcessUnUseOverFlow()
2128 if (pLeaderNode && pFormNode) in ProcessUnUseOverFlow()
2129 pFormNode->RemoveChild(pLeaderNode, true); in ProcessUnUseOverFlow()
2130 if (pTrailerNode && pFormNode) in ProcessUnUseOverFlow()
2131 pFormNode->RemoveChild(pTrailerNode, true); in ProcessUnUseOverFlow()
2824 CXFA_Node* pFormNode) { in JudgeLeaderOrTrailerForOccur() argument
2825 if (!pFormNode) in JudgeLeaderOrTrailerForOccur()
2828 CXFA_Node* pTemplate = pFormNode->GetTemplateNodeIfExists(); in JudgeLeaderOrTrailerForOccur()
2830 pTemplate = pFormNode; in JudgeLeaderOrTrailerForOccur()