• Home
  • Raw
  • Download

Lines Matching refs:pLayoutItem

60 void UpdateWidgetSize(CXFA_ContentLayoutItem* pLayoutItem,  in UpdateWidgetSize()  argument
63 CXFA_Node* pNode = pLayoutItem->m_pFormNode; in UpdateWidgetSize()
70 *fWidth = pLayoutItem->m_sSize.width; in UpdateWidgetSize()
72 *fHeight = pLayoutItem->m_sSize.height; in UpdateWidgetSize()
324 CXFA_ContentLayoutItem* pLayoutItem) { in UpdatePendingItemLayout() argument
326 pLayoutItem->m_pFormNode->JSObject()->GetEnum(XFA_Attribute::Layout); in UpdatePendingItemLayout()
330 RelocateTableRowCells(pLayoutItem, pProcessor->m_rgSpecifiedColumnWidths, in UpdatePendingItemLayout()
985 bool FindLayoutItemSplitPos(CXFA_ContentLayoutItem* pLayoutItem, in FindLayoutItemSplitPos() argument
990 CXFA_Node* pFormNode = pLayoutItem->m_pFormNode; in FindLayoutItemSplitPos()
992 *fProposedSplitPos > fCurVerticalOffset + pLayoutItem->m_sSize.height - in FindLayoutItemSplitPos()
1018 if (pNotify->FindSplitPos(pFormNode, pLayoutItem->GetIndex(), in FindLayoutItemSplitPos()
1032 (CXFA_ContentLayoutItem*)pLayoutItem->m_pFirstChild; in FindLayoutItemSplitPos()
1176 CXFA_ContentLayoutItem* pLayoutItem = nullptr; in CreateContentLayoutItem() local
1178 pLayoutItem = m_pOldLayoutItem; in CreateContentLayoutItem()
1180 return pLayoutItem; in CreateContentLayoutItem()
1182 pLayoutItem = in CreateContentLayoutItem()
1192 pPrevLayoutItem->m_pNext = pLayoutItem; in CreateContentLayoutItem()
1193 pLayoutItem->m_pPrev = pPrevLayoutItem; in CreateContentLayoutItem()
1195 pFormNode->JSObject()->SetLayoutItem(pLayoutItem); in CreateContentLayoutItem()
1197 return pLayoutItem; in CreateContentLayoutItem()
1217 CXFA_ContentLayoutItem* pLayoutItem, in SplitLayoutItem() argument
1229 pLayoutItem->m_pFormNode->GetFirstChildByClass<CXFA_Margin>( in SplitLayoutItem()
1242 m_pCurChildPreprocessor->m_pFormNode == pLayoutItem->m_pFormNode) { in SplitLayoutItem()
1244 pLayoutItem->m_pFormNode); in SplitLayoutItem()
1246 pSecondLayoutItem = CreateContentLayoutItem(pLayoutItem->m_pFormNode); in SplitLayoutItem()
1248 pSecondLayoutItem->m_sPos.x = pLayoutItem->m_sPos.x; in SplitLayoutItem()
1249 pSecondLayoutItem->m_sSize.width = pLayoutItem->m_sSize.width; in SplitLayoutItem()
1251 pSecondLayoutItem->m_sSize.height = pLayoutItem->m_sSize.height - fSplitPos; in SplitLayoutItem()
1252 pLayoutItem->m_sSize.height -= pSecondLayoutItem->m_sSize.height; in SplitLayoutItem()
1253 if (pLayoutItem->m_pFirstChild) in SplitLayoutItem()
1258 if (fCurTopMargin > 0 && pLayoutItem->m_pFirstChild) { in SplitLayoutItem()
1268 pSecondLayoutItem->m_pParent = pLayoutItem->m_pParent; in SplitLayoutItem()
1269 pSecondLayoutItem->m_pNextSibling = pLayoutItem->m_pNextSibling; in SplitLayoutItem()
1270 pLayoutItem->m_pNextSibling = pSecondLayoutItem; in SplitLayoutItem()
1274 (CXFA_ContentLayoutItem*)pLayoutItem->m_pFirstChild; in SplitLayoutItem()
1275 pLayoutItem->m_pFirstChild = nullptr; in SplitLayoutItem()
1295 pLayoutItem->RemoveChild(pPreItem); in SplitLayoutItem()
1318 pLayoutItem->AddChild(pChildItem); in SplitLayoutItem()
1331 pLayoutItem->AddChild(pChildItem); in SplitLayoutItem()
1341 CXFA_ContentLayoutItem* pLayoutItem = m_pLayoutItem; in ExtractLayoutItem() local
1342 if (pLayoutItem) { in ExtractLayoutItem()
1344 static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pNextSibling); in ExtractLayoutItem()
1345 pLayoutItem->m_pNextSibling = nullptr; in ExtractLayoutItem()
1350 return pLayoutItem; in ExtractLayoutItem()
1371 return pLayoutItem; in ExtractLayoutItem()
1631 CXFA_LayoutItem* pLayoutItem = pPageAreaLayoutItem->m_pFirstChild; in DoLayoutPageArea() local
1632 while (pLayoutItem) { in DoLayoutPageArea()
1633 if (!pLayoutItem->IsContentLayoutItem() || in DoLayoutPageArea()
1634 pLayoutItem->m_pFormNode->GetElementType() != XFA_Element::Draw) { in DoLayoutPageArea()
1635 pLayoutItem = pLayoutItem->m_pNextSibling; in DoLayoutPageArea()
1638 if (pLayoutItem->m_pFormNode->GetElementType() != XFA_Element::Draw) in DoLayoutPageArea()
1641 CXFA_LayoutItem* pNextLayoutItem = pLayoutItem->m_pNextSibling; in DoLayoutPageArea()
1642 pPageAreaLayoutItem->RemoveChild(pLayoutItem); in DoLayoutPageArea()
1644 pPageAreaLayoutItem->AddHeadChild(pLayoutItem); in DoLayoutPageArea()
1646 pPageAreaLayoutItem->InsertChild(pBeforeItem, pLayoutItem); in DoLayoutPageArea()
1648 pBeforeItem = pLayoutItem; in DoLayoutPageArea()
1649 pLayoutItem = pNextLayoutItem; in DoLayoutPageArea()