Lines Matching refs:pFormNode
85 CFX_SizeF CalculateContainerSpecifiedSize(CXFA_Node* pFormNode, in CalculateContainerSpecifiedSize() argument
91 XFA_Element eType = pFormNode->GetElementType(); in CalculateContainerSpecifiedSize()
96 pFormNode->JSObject()->TryMeasure(XFA_Attribute::W, false); in CalculateContainerSpecifiedSize()
103 pFormNode->JSObject()->TryMeasure(XFA_Attribute::H, false); in CalculateContainerSpecifiedSize()
112 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxW, false); in CalculateContainerSpecifiedSize()
119 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxH, false); in CalculateContainerSpecifiedSize()
129 CXFA_Node* pFormNode, in CalculateContainerComponentSizeFromContentSize() argument
137 pFormNode->GetFirstChildByClass<CXFA_Margin>(XFA_Element::Margin); in CalculateContainerComponentSizeFromContentSize()
332 XFA_AttributeValue GetLayout(CXFA_Node* pFormNode, bool* bRootForceTb) { in GetLayout() argument
335 pFormNode->JSObject()->TryEnum(XFA_Attribute::Layout, false); in GetLayout()
339 CXFA_Node* pParentNode = pFormNode->GetParent(); in GetLayout()
467 CXFA_Node* pFormNode = pLayoutItem->GetFormNode(); in FindLayoutItemSplitPos() local
474 switch (pFormNode->GetIntact()) { in FindLayoutItemSplitPos()
477 CXFA_Document* pDocument = pFormNode->GetDocument(); in FindLayoutItemSplitPos()
481 pFormNode->GetFirstChildByClass<CXFA_Margin>(XFA_Element::Margin); in FindLayoutItemSplitPos()
492 Optional<float> fRelSplitPos = pFormNode->FindSplitPos( in FindLayoutItemSplitPos()
633 CXFA_ContentLayoutProcessor::CreateContentLayoutItem(CXFA_Node* pFormNode) { in CreateContentLayoutItem() argument
634 if (!pFormNode) in CreateContentLayoutItem()
642 CXFA_FFNotify* pNotify = pFormNode->GetDocument()->GetNotify(); in CreateContentLayoutItem()
644 pFormNode, pNotify->OnCreateContentLayoutItem(pFormNode)); in CreateContentLayoutItem()
647 ToContentLayoutItem(pFormNode->JSObject()->GetLayoutItem()); in CreateContentLayoutItem()
651 pFormNode->JSObject()->SetLayoutItem(pNewLayoutItem.Get()); in CreateContentLayoutItem()
974 CXFA_Node* pFormNode = pPageAreaLayoutItem->GetFormNode(); in DoLayoutPageArea() local
978 Stage::kNone, false, pFormNode, &pCurChildNode); in DoLayoutPageArea()
981 pFormNode, &pCurChildNode)) { in DoLayoutPageArea()
1461 void CXFA_ContentLayoutProcessor::ProcessUnUseBinds(CXFA_Node* pFormNode) { in ProcessUnUseBinds() argument
1462 if (!pFormNode) in ProcessUnUseBinds()
1465 CXFA_NodeIterator sIterator(pFormNode); in ProcessUnUseBinds()
1483 CXFA_Node* pFormNode) { in ProcessUnUseOverFlow() argument
1486 if (!pFormNode) in ProcessUnUseOverFlow()
1489 if (pFormNode->GetElementType() == XFA_Element::Overflow || in ProcessUnUseOverFlow()
1490 pFormNode->GetElementType() == XFA_Element::Break) { in ProcessUnUseOverFlow()
1491 pFormNode = pFormNode->GetParent(); in ProcessUnUseOverFlow()
1493 if (pLeaderNode && pFormNode) in ProcessUnUseOverFlow()
1494 pFormNode->RemoveChildAndNotify(pLeaderNode, true); in ProcessUnUseOverFlow()
1495 if (pTrailerNode && pFormNode) in ProcessUnUseOverFlow()
1496 pFormNode->RemoveChildAndNotify(pTrailerNode, true); in ProcessUnUseOverFlow()
2110 CXFA_Node* pFormNode) { in JudgeLeaderOrTrailerForOccur() argument
2111 if (!pFormNode) in JudgeLeaderOrTrailerForOccur()
2114 CXFA_Node* pTemplate = pFormNode->GetTemplateNodeIfExists(); in JudgeLeaderOrTrailerForOccur()
2116 pTemplate = pFormNode; in JudgeLeaderOrTrailerForOccur()
2382 CXFA_Node* pFormNode = nullptr; in InsertFlowedItem() local
2387 pFormNode = in InsertFlowedItem()
2389 if (!pFormNode && pLayoutContext && pLayoutContext->m_pOverflowProcessor) { in InsertFlowedItem()
2390 pFormNode = pLayoutContext->m_pOverflowNode.Get(); in InsertFlowedItem()
2394 m_pViewLayoutProcessor->ProcessOverflow(pFormNode, false); in InsertFlowedItem()
2442 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
2479 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
2505 pFormNode); in InsertFlowedItem()
2518 m_pViewLayoutProcessor->ProcessOverflow(pFormNode, true); in InsertFlowedItem()
2530 pFormNode); in InsertFlowedItem()
2538 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
2563 if (!pFormNode && pLayoutContext) in InsertFlowedItem()
2564 pFormNode = pLayoutContext->m_pOverflowProcessor->GetFormNode(); in InsertFlowedItem()
2566 m_pViewLayoutProcessor->ProcessOverflow(pFormNode, true); in InsertFlowedItem()
2571 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()
2595 m_pViewLayoutProcessor->ProcessOverflow(pFormNode, true); in InsertFlowedItem()
2612 if (!pFormNode && pLayoutContext) in InsertFlowedItem()
2613 pFormNode = pLayoutContext->m_pOverflowProcessor->GetFormNode(); in InsertFlowedItem()
2616 m_pViewLayoutProcessor->ProcessOverflow(pFormNode, true); in InsertFlowedItem()
2624 pTrailerLayoutItem, pFormNode); in InsertFlowedItem()