Lines Matching refs:iItem

121     IterateLayoutItems(iItem,rLayoutItems)  in LayoutPanels()
123 nTotalMinimumHeight += iItem->maLayoutSize.Minimum; in LayoutPanels()
124 nTotalPreferredHeight += iItem->maLayoutSize.Preferred; in LayoutPanels()
215 IterateLayoutItems(iItem,rLayoutItems) in PlacePanels()
217 if( !bool(iItem->mpPanel)) in PlacePanels()
220 Panel& rPanel (*iItem->mpPanel); in PlacePanels()
230 if (iItem->mbShowTitleBar) in PlacePanels()
252 nPanelHeight = iItem->maLayoutSize.Minimum + iItem->mnDistributedHeight; in PlacePanels()
255 nPanelHeight = iItem->maLayoutSize.Preferred + iItem->mnDistributedHeight; in PlacePanels()
258 nPanelHeight = iItem->maLayoutSize.Preferred; in PlacePanels()
277 if (iItem == rLayoutItems.end()-1) in PlacePanels()
307 IterateLayoutItems(iItem,rLayoutItems) in GetRequestedSizes()
310 if( bool(iItem->mpPanel)) in GetRequestedSizes()
313 && iItem->mpPanel->IsTitleBarOptional()) in GetRequestedSizes()
318 iItem->mbShowTitleBar = false; in GetRequestedSizes()
328 if (iItem->mpPanel->IsExpanded()) in GetRequestedSizes()
330 Reference<ui::XSidebarPanel> xPanel (iItem->mpPanel->GetPanelComponent()); in GetRequestedSizes()
337 iItem->maLayoutSize = aLayoutSize; in GetRequestedSizes()
359 IterateLayoutItems(iItem,rLayoutItems) in DistributeHeights()
361 if (iItem->maLayoutSize.Maximum == 0) in DistributeHeights()
363 if (iItem->maLayoutSize.Maximum < 0) in DistributeHeights()
368 ? iItem->maLayoutSize.Minimum in DistributeHeights()
369 : iItem->maLayoutSize.Preferred); in DistributeHeights()
372 iItem->mnWeight = nContainerHeight - nBaseHeight; in DistributeHeights()
373 nTotalWeight += iItem->mnWeight; in DistributeHeights()
381 IterateLayoutItems(iItem,rLayoutItems) in DistributeHeights()
385 ? iItem->maLayoutSize.Minimum in DistributeHeights()
386 : iItem->maLayoutSize.Preferred); in DistributeHeights()
387 sal_Int32 nDistributedHeight (iItem->mnWeight * nHeightToDistribute / nTotalWeight); in DistributeHeights()
388 if (nBaseHeight+nDistributedHeight > iItem->maLayoutSize.Maximum in DistributeHeights()
389 && iItem->maLayoutSize.Maximum >= 0) in DistributeHeights()
391 nDistributedHeight = ::std::max<sal_Int32>(0,iItem->maLayoutSize.Maximum - nBaseHeight); in DistributeHeights()
393 iItem->mnDistributedHeight = nDistributedHeight; in DistributeHeights()
414 IterateLayoutItems(iItem,rLayoutItems) in DistributeHeights()
416 if (iItem->maLayoutSize.Maximum < 0) in DistributeHeights()
418iItem->mnDistributedHeight += nAdditionalHeightPerPanel + nAdditionalHeightForFirstPanel; in DistributeHeights()