• Home
  • Raw
  • Download

Lines Matching refs:pProcessor

987     auto pProcessor =  in DoLayoutPageArea()  local
989 pProcessor->DoLayout(false, FLT_MAX, FLT_MAX); in DoLayoutPageArea()
990 if (!pProcessor->HasLayoutItem()) in DoLayoutPageArea()
993 pProcessor->SetCurrentComponentPos(CalculatePositionedContainerPos( in DoLayoutPageArea()
994 pCurChildNode, pProcessor->GetCurrentComponentSize())); in DoLayoutPageArea()
995 RetainPtr<CXFA_LayoutItem> pProcessItem = pProcessor->ExtractLayoutItem(); in DoLayoutPageArea()
1055 auto pProcessor = pdfium::MakeUnique<CXFA_ContentLayoutProcessor>( in DoLayoutPositionedContainer() local
1079 pProcessor->DoLayoutInternal(false, FLT_MAX, FLT_MAX, pContext); in DoLayoutPositionedContainer()
1080 if (!pProcessor->HasLayoutItem()) in DoLayoutPositionedContainer()
1083 CFX_SizeF size = pProcessor->GetCurrentComponentSize(); in DoLayoutPositionedContainer()
1092 pProcessor->SetCurrentComponentPos(absolutePos); in DoLayoutPositionedContainer()
1118 m_pLayoutItem->AppendLastChild(pProcessor->ExtractLayoutItem()); in DoLayoutPositionedContainer()
1190 auto pProcessor = pdfium::MakeUnique<CXFA_ContentLayoutProcessor>( in DoLayoutTableContainer() local
1192 pProcessor->DoLayoutInternal(false, FLT_MAX, FLT_MAX, pLayoutContext); in DoLayoutTableContainer()
1193 if (!pProcessor->HasLayoutItem()) in DoLayoutTableContainer()
1196 m_pLayoutItem->AppendLastChild(pProcessor->ExtractLayoutItem()); in DoLayoutTableContainer()
1610 std::unique_ptr<CXFA_ContentLayoutProcessor> pProcessor; in DoLayoutFlowedContainer() local
1722 pProcessor = std::move(m_pCurChildPreprocessor); in DoLayoutFlowedContainer()
1727 pProcessor = pdfium::MakeUnique<CXFA_ContentLayoutProcessor>( in DoLayoutFlowedContainer()
1732 if (pProcessor) { in DoLayoutFlowedContainer()
1734 pProcessor.get(), bContainerWidthAutoSize, in DoLayoutFlowedContainer()
1744 pProcessor.reset(); in DoLayoutFlowedContainer()
1750 pProcessor = std::move(m_pCurChildPreprocessor); in DoLayoutFlowedContainer()
1755 pProcessor = pdfium::MakeUnique<CXFA_ContentLayoutProcessor>( in DoLayoutFlowedContainer()
1759 if (pProcessor) { in DoLayoutFlowedContainer()
1761 pProcessor.get(), bContainerWidthAutoSize, in DoLayoutFlowedContainer()
1771 pProcessor.reset(); in DoLayoutFlowedContainer()
1789 pProcessor = std::move(m_pCurChildPreprocessor); in DoLayoutFlowedContainer()
1792 pProcessor = pdfium::MakeUnique<CXFA_ContentLayoutProcessor>( in DoLayoutFlowedContainer()
1796 pProcessor->InsertPendingItems(m_pCurChildNode); in DoLayoutFlowedContainer()
1798 pProcessor.get(), bContainerWidthAutoSize, in DoLayoutFlowedContainer()
1816 pProcessor->InsertPendingItems(m_pCurChildNode); in DoLayoutFlowedContainer()
1817 pProcessor.reset(); in DoLayoutFlowedContainer()
1832 if (pProcessor) in DoLayoutFlowedContainer()
1833 m_pCurChildPreprocessor = std::move(pProcessor); in DoLayoutFlowedContainer()
2294 CXFA_ContentLayoutProcessor* pProcessor, in InsertFlowedItem() argument
2312 bool bTakeSpace = pProcessor->GetFormNode()->PresenceRequiresSpace(); in InsertFlowedItem()
2327 pProcessor->GetFormNode()->GetIntact() == XFA_AttributeValue::None; in InsertFlowedItem()
2329 pProcessor->GetFormNode()->GetParent()->GetIntact() == in InsertFlowedItem()
2335 GetLayout(pProcessor->GetFormNode(), &bRootForceTb); in InsertFlowedItem()
2355 if (!bNewRow || pProcessor->m_ePreProcessRs == Result::kDone) { in InsertFlowedItem()
2356 eRetValue = pProcessor->DoLayoutInternal( in InsertFlowedItem()
2361 pProcessor->m_ePreProcessRs = eRetValue; in InsertFlowedItem()
2363 eRetValue = pProcessor->m_ePreProcessRs; in InsertFlowedItem()
2364 pProcessor->m_ePreProcessRs = Result::kDone; in InsertFlowedItem()
2366 if (!pProcessor->HasLayoutItem()) in InsertFlowedItem()
2369 CFX_SizeF childSize = pProcessor->GetCurrentComponentSize(); in InsertFlowedItem()
2386 pProcessor->GetFormNode()->GetIntact() == XFA_AttributeValue::None) { in InsertFlowedItem()
2388 m_pViewLayoutProcessor->QueryOverflow(pProcessor->GetFormNode()); in InsertFlowedItem()
2398 if (pProcessor->JudgeLeaderOrTrailerForOccur(pOverflowTrailerNode)) { in InsertFlowedItem()
2413 : pProcessor->IsAddNewRowForTrailer(pTrailerLayoutItem.Get()); in InsertFlowedItem()
2428 if (pProcessor->m_bUseInherited) { in InsertFlowedItem()
2430 pProcessor->AddTrailerBeforeSplit(childSize.height, in InsertFlowedItem()
2432 if (pProcessor->JudgeLeaderOrTrailerForOccur(pOverflowLeaderNode)) in InsertFlowedItem()
2433 pProcessor->AddPendingNode(pOverflowLeaderNode, false); in InsertFlowedItem()
2435 pProcessor->m_bUseInherited = false; in InsertFlowedItem()
2440 pProcessor->ProcessUnUseOverFlow(pOverflowLeaderNode, in InsertFlowedItem()
2446 pProcessor->ExtractLayoutItem(); in InsertFlowedItem()
2447 if (ExistContainerKeep(pProcessor->GetFormNode(), false) && in InsertFlowedItem()
2448 pProcessor->GetFormNode()->GetIntact() == XFA_AttributeValue::None) { in InsertFlowedItem()
2464 if (pProcessor->m_bUseInherited) { in InsertFlowedItem()
2466 pProcessor->AddTrailerBeforeSplit(childSize.height, in InsertFlowedItem()
2469 if (pProcessor->JudgeLeaderOrTrailerForOccur(pOverflowLeaderNode)) in InsertFlowedItem()
2470 pProcessor->AddPendingNode(pOverflowLeaderNode, false); in InsertFlowedItem()
2472 pProcessor->m_bUseInherited = false; in InsertFlowedItem()
2477 pProcessor->ProcessUnUseOverFlow(pOverflowLeaderNode, in InsertFlowedItem()
2482 rgCurLineLayoutItems[uHAlign].push_back(pProcessor->ExtractLayoutItem()); in InsertFlowedItem()
2490 if (ProcessKeepForSplit(pProcessor, eRetValue, &rgCurLineLayoutItems[uHAlign], in InsertFlowedItem()
2498 float fSplitPos = pProcessor->FindSplitPos(fAvailHeight - *fContentCurRowY); in InsertFlowedItem()
2501 pProcessor->GetFormNode()->JSObject()->GetEnum(XFA_Attribute::Layout); in InsertFlowedItem()
2503 pProcessor->ProcessUnUseOverFlow(pOverflowLeaderNode, in InsertFlowedItem()
2506 rgCurLineLayoutItems[uHAlign].push_back(pProcessor->ExtractLayoutItem()); in InsertFlowedItem()
2516 if (m_pViewLayoutProcessor && !pProcessor->m_bUseInherited && in InsertFlowedItem()
2521 pProcessor->AddTrailerBeforeSplit(fSplitPos, pTrailerLayoutItem, in InsertFlowedItem()
2524 pProcessor->SplitLayoutItem(fSplitPos); in InsertFlowedItem()
2528 pProcessor->ProcessUnUseOverFlow(pOverflowLeaderNode, in InsertFlowedItem()
2533 CXFA_LayoutItem* firstChild = pProcessor->m_pLayoutItem->GetFirstChild(); in InsertFlowedItem()
2536 pProcessor->ProcessUnUseOverFlow(pOverflowLeaderNode, in InsertFlowedItem()
2539 } else if (pProcessor->JudgeLeaderOrTrailerForOccur( in InsertFlowedItem()
2541 pProcessor->AddPendingNode(pOverflowLeaderNode, false); in InsertFlowedItem()
2545 if (pProcessor->m_pLayoutItem->GetNextSibling()) { in InsertFlowedItem()
2546 childSize = pProcessor->GetCurrentComponentSize(); in InsertFlowedItem()
2547 rgCurLineLayoutItems[uHAlign].push_back(pProcessor->ExtractLayoutItem()); in InsertFlowedItem()
2559 childSize = pProcessor->GetCurrentComponentSize(); in InsertFlowedItem()
2560 if (pProcessor->m_pViewLayoutProcessor->GetNextAvailContentHeight( in InsertFlowedItem()
2569 pProcessor->ProcessUnUseOverFlow(pOverflowLeaderNode, in InsertFlowedItem()
2577 rgCurLineLayoutItems[uHAlign].push_back(pProcessor->ExtractLayoutItem()); in InsertFlowedItem()
2590 pProcessor->GetFormNode()->JSObject()->GetEnum(XFA_Attribute::Layout); in InsertFlowedItem()
2591 if (pProcessor->GetFormNode()->GetIntact() == XFA_AttributeValue::None && in InsertFlowedItem()
2602 pProcessor->AddTrailerBeforeSplit(fSplitPos, pTrailerLayoutItem, false); in InsertFlowedItem()
2603 if (pProcessor->JudgeLeaderOrTrailerForOccur(pOverflowLeaderNode)) in InsertFlowedItem()
2604 pProcessor->AddPendingNode(pOverflowLeaderNode, false); in InsertFlowedItem()
2623 pProcessor->ProcessUnUseOverFlow(pOverflowLeaderNode, pOverflowTrailerNode, in InsertFlowedItem()