Lines Matching refs:iItem
119 IterateLayoutItems(iItem,rLayoutItems) in LayoutPanels()
121 nTotalMinimumHeight += iItem->maLayoutSize.Minimum; in LayoutPanels()
122 nTotalPreferredHeight += iItem->maLayoutSize.Preferred; in LayoutPanels()
213 IterateLayoutItems(iItem,rLayoutItems) in PlacePanels()
215 if( !bool(iItem->mpPanel)) in PlacePanels()
218 Panel& rPanel (*iItem->mpPanel); in PlacePanels()
228 if (iItem->mbShowTitleBar) in PlacePanels()
250 nPanelHeight = iItem->maLayoutSize.Minimum + iItem->mnDistributedHeight; in PlacePanels()
253 nPanelHeight = iItem->maLayoutSize.Preferred + iItem->mnDistributedHeight; in PlacePanels()
256 nPanelHeight = iItem->maLayoutSize.Preferred; in PlacePanels()
275 if (iItem == rLayoutItems.end()-1) in PlacePanels()
305 IterateLayoutItems(iItem,rLayoutItems) in GetRequestedSizes()
308 if( bool(iItem->mpPanel)) in GetRequestedSizes()
311 && iItem->mpPanel->IsTitleBarOptional()) in GetRequestedSizes()
316 iItem->mbShowTitleBar = false; in GetRequestedSizes()
326 if (iItem->mpPanel->IsExpanded()) in GetRequestedSizes()
328 Reference<ui::XSidebarPanel> xPanel (iItem->mpPanel->GetPanelComponent()); in GetRequestedSizes()
335 iItem->maLayoutSize = aLayoutSize; in GetRequestedSizes()
357 IterateLayoutItems(iItem,rLayoutItems) in DistributeHeights()
359 if (iItem->maLayoutSize.Maximum == 0) in DistributeHeights()
361 if (iItem->maLayoutSize.Maximum < 0) in DistributeHeights()
366 ? iItem->maLayoutSize.Minimum in DistributeHeights()
367 : iItem->maLayoutSize.Preferred); in DistributeHeights()
370 iItem->mnWeight = nContainerHeight - nBaseHeight; in DistributeHeights()
371 nTotalWeight += iItem->mnWeight; in DistributeHeights()
379 IterateLayoutItems(iItem,rLayoutItems) in DistributeHeights()
383 ? iItem->maLayoutSize.Minimum in DistributeHeights()
384 : iItem->maLayoutSize.Preferred); in DistributeHeights()
385 sal_Int32 nDistributedHeight (iItem->mnWeight * nHeightToDistribute / nTotalWeight); in DistributeHeights()
386 if (nBaseHeight+nDistributedHeight > iItem->maLayoutSize.Maximum in DistributeHeights()
387 && iItem->maLayoutSize.Maximum >= 0) in DistributeHeights()
389 nDistributedHeight = ::std::max<sal_Int32>(0,iItem->maLayoutSize.Maximum - nBaseHeight); in DistributeHeights()
391 iItem->mnDistributedHeight = nDistributedHeight; in DistributeHeights()
412 IterateLayoutItems(iItem,rLayoutItems) in DistributeHeights()
414 if (iItem->maLayoutSize.Maximum < 0) in DistributeHeights()
416 … iItem->mnDistributedHeight += nAdditionalHeightPerPanel + nAdditionalHeightForFirstPanel; in DistributeHeights()