/trunk/main/sd/source/ui/sidebar/ |
H A D | LayoutMenu.cxx | 267 Size aItemSize = CalcItemSizePixel (Size()); in GetPreferredSize() local 269 aItemSize, in GetPreferredSize() 285 if (nHeight>0 && aItemSize.Height()>0) in GetPreferredWidth() 287 int nRowCount = nHeight / aItemSize.Height(); in GetPreferredWidth() 308 if (nWidth>0 && aItemSize.Width()>0) in GetHeightForWidth() 310 aItemSize.Width() += 8; in GetHeightForWidth() 311 aItemSize.Height() += 8; in GetHeightForWidth() 334 nMinimumWidth = aItemSize.Width(); in GetMinimumWidth() 364 Size aItemSize = CalcItemSizePixel ( in Resize() local 366 aItemSize.Width() += 8; in Resize() [all …]
|
/trunk/main/svx/source/tbxctrls/ |
H A D | colrctrl.cxx | 302 aItemSize.Width() = aItemSize.Width() + aColorSet.getEntryEdgeLength(); in SvxColorDockingWindow() 303 aItemSize.Width() /= 2; in SvxColorDockingWindow() 304 aItemSize.Height() = aItemSize.Height() + aColorSet.getEntryEdgeLength(); in SvxColorDockingWindow() 305 aItemSize.Height() /= 2; in SvxColorDockingWindow() 388 nCols = (sal_uInt16) ( aSize.Width() / aItemSize.Width() ); in SetSize() 406 nCols = (sal_uInt16) ( ( aSize.Width() - nScrollWidth ) / aItemSize.Width() ); in SetSize() 415 aColorSet.SetItemHeight( aItemSize.Height() ); in SetSize() 551 nCols = (sal_uInt16) ( (float) rNewSize.Width() / (float) aItemSize.Width() + 0.5 ); in Resizing() 570 / (float) aItemSize.Width() + 0.5 ); in Resizing() 584 rNewSize.Width() = nCols * aItemSize.Width() + nScrollWidth + 4; in Resizing() [all …]
|
H A D | SvxColorValueSet.cxx | 91 const Size aItemSize(getEntryEdgeLength() - 2, getEntryEdgeLength() - 2); in layoutAllVisible() local 105 SetItemWidth(aItemSize.Width()); in layoutAllVisible() 106 SetItemHeight(aItemSize.Height()); in layoutAllVisible() 108 return CalcWindowSizePixel(aItemSize); in layoutAllVisible() 118 const Size aItemSize(getEntryEdgeLength(), getEntryEdgeLength()); in layoutToGivenHeight() local 124 const Size aSizeNoScrollNoFields(CalcWindowSizePixel(aItemSize, getColumnCount())); in layoutToGivenHeight() 128 Size aNewSize(CalcWindowSizePixel(aItemSize, getColumnCount())); in layoutToGivenHeight() 136 aNewSize = CalcWindowSizePixel(aItemSize, getColumnCount()); in layoutToGivenHeight() 144 const Size aItemSizePixel(CalcItemSizePixel(aItemSize)); in layoutToGivenHeight() 150 SetItemWidth(aItemSize.Width()); in layoutToGivenHeight() [all …]
|
H A D | linectrl.cxx | 604 Size aItemSize = aLineEndSet.CalcItemSizePixel( aBitmapSize ); // -> Member in Resizing() local 610 long nItemW = aItemSize.Width(); in Resizing() 617 long nItemH = aItemSize.Height(); in Resizing()
|
H A D | tbcontrl.cxx | 105 void lcl_CalcSizeValueSet( Window &rWin, ValueSet &rValueSet, const Size &aItemSize ); 2790 void lcl_CalcSizeValueSet( Window &rWin, ValueSet &rValueSet, const Size &aItemSize ) in lcl_CalcSizeValueSet() argument 2792 Size aSize = rValueSet.CalcWindowSizePixel( aItemSize ); in lcl_CalcSizeValueSet()
|
/trunk/main/sd/source/ui/table/ |
H A D | TableDesignPane.cxx | 218 Size aItemSize = pValueSet->CalcItemSizePixel(aImage.GetSizePixel()); in GetHeightForWidth() local 219 aItemSize.Width() += 10; in GetHeightForWidth() 220 aItemSize.Height() += 10; in GetHeightForWidth() 230 nHeight += nRowCount * aItemSize.Height(); in GetHeightForWidth() 466 Size aItemSize = pValueSet->CalcItemSizePixel(aImage.GetSizePixel()); in updateLayout() local 467 pValueSet->SetItemWidth( aItemSize.Width() ); in updateLayout() 468 pValueSet->SetItemHeight( aItemSize.Height() ); in updateLayout() 470 aItemSize.Width() += 10; in updateLayout() 471 aItemSize.Height() += 10; in updateLayout() 480 int nVisibleRowCount = (aValueSetSize.Height()+2) / aItemSize.Height(); in updateLayout() [all …]
|
/trunk/main/svx/source/sidebar/ |
H A D | ColorPanel.cxx | 66 Size aItemSize = CalcItemSizePixel (aImage.GetSizePixel()); in GetPreferredHeight() local 67 if (nWidth>0 && aItemSize.Width()>0) in GetPreferredHeight() 69 int nColumnCount = nWidth / aItemSize.Width(); in GetPreferredHeight() 76 nPreferredHeight = nRowCount * aItemSize.Height(); in GetPreferredHeight() 96 Size aItemSize = CalcItemSizePixel ( in Resize() local 104 sal_uInt16 nRowCount = (sal_uInt16)CalculateRowCount(aItemSize, nColumnCount); in Resize()
|
/trunk/main/svx/source/sidebar/debug/ |
H A D | ColorPanel.cxx | 66 Size aItemSize = CalcItemSizePixel (aImage.GetSizePixel()); in GetPreferredHeight() local 67 if (nWidth>0 && aItemSize.Width()>0) in GetPreferredHeight() 69 int nColumnCount = nWidth / aItemSize.Width(); in GetPreferredHeight() 76 nPreferredHeight = nRowCount * aItemSize.Height(); in GetPreferredHeight() 96 Size aItemSize = CalcItemSizePixel ( in Resize() local 104 sal_uInt16 nRowCount = (sal_uInt16)CalculateRowCount(aItemSize, nColumnCount); in Resize()
|
/trunk/main/extensions/source/abpilot/ |
H A D | typeselectionpage.cxx | 63 Size aItemSize( LogicToPixel( Size( 0, 8 ), MAP_APPFONT ) ); in TypeSelectionPage() local 64 aItemSize.Width() = GetOutputSizePixel().Width() - 30; in TypeSelectionPage() 122 aTopLeft.Y() += aItemSize.Height() + aSpacing.Height(); in TypeSelectionPage()
|
/trunk/main/cui/source/tabpages/ |
H A D | align.cxx | 246 Size aItemSize( aImageList.GetImage( IID_BOTTOMLOCK ).GetSizePixel() ); in InitVsRefEgde() local 256 maVsRefEdge.SetSizePixel( maVsRefEdge.CalcWindowSizePixel( aItemSize ) ); in InitVsRefEgde()
|
/trunk/main/svtools/source/contnr/ |
H A D | svtreebx.cxx | 1422 Size aItemSize( pItem->GetSize(this, pEntry) ); in EditItemText() local 1424 aPos.Y() += ( nEntryHeight - aItemSize.Height() ) / 2; in EditItemText() 1427 Size aSize( nOutputWidth - aPos.X(), aItemSize.Height() ); in EditItemText() 2111 Size aItemSize( pItem->GetSize(this, pEntry)); in GetItem_Impl() local 2112 nStart += pTab->CalcOffset( aItemSize.Width(), nNextTabPos - nStart ); in GetItem_Impl() 2113 long nLen = aItemSize.Width(); in GetItem_Impl()
|
/trunk/main/svx/inc/svx/ |
H A D | colrctrl.hxx | 88 Size aItemSize; member in SvxColorDockingWindow
|