/aoo41x/main/vcl/source/control/ |
H A D | lstbox.cxx | 1365 Size aSz; in CalcMinimumSize() local 1395 aSz = CalcWindowSize( aSz ); in CalcMinimumSize() 1410 return aSz; in CalcMinimumSize() 1429 Size aSz = rPrefSize; in CalcAdjustedSize() local 1443 aSz.Height() = mnDDHeight; in CalcAdjustedSize() 1447 aSz = CalcWindowSize( aSz ); in CalcAdjustedSize() 1448 return aSz; in CalcAdjustedSize() 1459 Size aSz; in CalcSize() local 1467 aSz.Height() = mnDDHeight; in CalcSize() 1489 aSz = CalcWindowSize( aSz ); in CalcSize() [all …]
|
H A D | combobox.cxx | 1124 Size aSz; in CalcMinimumSize() local 1128 aSz.Height() += mnDDHeight; in CalcMinimumSize() 1137 aSz = CalcWindowSize( aSz ); in CalcMinimumSize() 1138 return aSz; in CalcMinimumSize() 1145 Size aSz = rPrefSize; in CalcAdjustedSize() local 1160 aSz.Height() = mnDDHeight; in CalcAdjustedSize() 1164 aSz = CalcWindowSize( aSz ); in CalcAdjustedSize() 1165 return aSz; in CalcAdjustedSize() 1174 Size aSz; in CalcSize() local 1204 aSz = CalcWindowSize( aSz ); in CalcSize() [all …]
|
/aoo41x/main/vcl/source/app/ |
H A D | help.cxx | 305 Size aSz = pHelpWin->CalcOutSize(); in UpdateTip() local 493 aSz.Width() -= 2; in Paint() 494 aSz.Height() -= 2; in Paint() 558 Size aSz = maTextRect.GetSize(); in CalcOutSize() local 561 return aSz; in CalcOutSize() 720 aPos.Y() -= aSz.Height()+4; in ImplSetHelpWindowPos() 763 aPos.X() -= aSz.Width(); in ImplSetHelpWindowPos() 765 aPos.X() -= aSz.Width()/2; in ImplSetHelpWindowPos() 770 aPos.Y() -= aSz.Height(); in ImplSetHelpWindowPos() 772 aPos.Y() -= aSz.Height()/2; in ImplSetHelpWindowPos() [all …]
|
/aoo41x/main/sd/source/ui/func/ |
H A D | fuinsert.cxx | 326 awt::Size aSz; in DoExecute() local 327 aSz.Width = aRect.GetWidth(); in DoExecute() 328 aSz.Height = aRect.GetHeight(); in DoExecute() 333 awt::Size aSz; in DoExecute() local 343 Size aSize( aSz.Width, aSz.Height ); in DoExecute() 351 aSz.Width = aTmp.Width(); in DoExecute() 352 aSz.Height = aTmp.Height(); in DoExecute() 353 xObj->setVisualAreaSize( nAspect, aSz ); in DoExecute() 558 awt::Size aSz; in DoExecute() local 568 aSize =Size( aSz.Width, aSz.Height ); in DoExecute() [all …]
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | swbaslnk.cxx | 178 ( !aSz.Width() || !aSz.Height() ) ) in DataChanged() 199 aSz.Height() && aSz.Width() && in DataChanged() 200 aGrfSz != aSz ) in DataChanged() 311 Size aSz = pGrfNd->GetTwipSize(); in SetGrfFlySize() local 312 if ( !(aSz.Width() && aSz.Height()) && in SetGrfFlySize() 319 Size aCalcSz( aSz ); in SetGrfFlySize() 320 if ( !aSz.Height() && aSz.Width() ) in SetGrfFlySize() 323 aSz.Width() / rFrmSz.Width(); in SetGrfFlySize() 324 else if ( !aSz.Width() && aSz.Height() ) in SetGrfFlySize() 327 aSz.Height() / rFrmSz.Height(); in SetGrfFlySize() [all …]
|
/aoo41x/main/sw/source/core/view/ |
H A D | vprint.cxx | 276 if( bNewOri ? aSz.GetHeight() > aSz.GetWidth() in ChgAllPageOrientation() 277 : aSz.GetHeight() < aSz.GetWidth() ) in ChgAllPageOrientation() 280 aSz.SetHeight( aSz.GetWidth() ); in ChgAllPageOrientation() 281 aSz.SetWidth( aTmp ); in ChgAllPageOrientation() 313 Size aSz( rSz ); in ChgAllPageSize() local 315 if( bOri ? aSz.Height() > aSz.Width() in ChgAllPageSize() 316 : aSz.Height() < aSz.Width() ) in ChgAllPageSize() 318 SwTwips aTmp = aSz.Height(); in ChgAllPageSize() 319 aSz.Height() = aSz.Width(); in ChgAllPageSize() 320 aSz.Width() = aTmp; in ChgAllPageSize() [all …]
|
H A D | vdraw.cxx | 353 Size aSz; in NotifySizeChg() local 355 aSz.Width() = (aRect.Right() - aBound.Left()) - MINFLY; in NotifySizeChg() 357 aSz.Height() = (aRect.Bottom() - aBound.Top()) - MINFLY; in NotifySizeChg() 358 if ( aSz.Width() || aSz.Height() ) in NotifySizeChg() 359 pObj->Move( aSz ); in NotifySizeChg() 362 aSz.Width() = aSz.Height() = 0; in NotifySizeChg() 364 aSz.Width() = (aBound.Bottom() - aRect.Top()) - MINFLY; in NotifySizeChg() 366 aSz.Height() = (aBound.Right() - aRect.Left()) - MINFLY; in NotifySizeChg() 367 if ( aSz.Width() || aSz.Height() ) in NotifySizeChg() 368 pObj->Move( aSz ); in NotifySizeChg()
|
/aoo41x/main/svtools/source/edit/ |
H A D | svmedit.cxx | 456 Size aEditSize = aSz; in Resize() 483 mpScrollBox->SetPosSizePixel( aSz.Width(), aSz.Height(), nSBWidth, nSBWidth ); in Resize() 687 return aSz; in CalcMinimumSize() 694 Size aSz; in CalcSize() local 714 return aSz; in CalcSize() 1280 aSz.Width() += nLeft+nRight; in CalcMinimumSize() 1283 return aSz; in CalcMinimumSize() 1288 Size aSz = rPrefSize; in CalcAdjustedSize() local 1303 return aSz; in CalcAdjustedSize() 1312 aSz.Width() += nLeft+nRight; in CalcSize() [all …]
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmlform.cxx | 815 rShape->setSize( aSz ); in SetControlSize() 1788 aSz.Width() = nWidth; in InsertInput() 1790 if( (aSz.Width() || aSz.Height()) && Application::GetDefaultDevice() ) in InsertInput() 1923 if( !aSz.Width() ) in InsertInput() 1930 if( !aSz.Height() ) in InsertInput() 1937 aSz.Width() = MINFLY; in InsertInput() 1939 aSz.Height() = MINFLY; in InsertInput() 2190 aSz.Width() = MINFLY; in NewTextArea() 2192 aSz.Height() = MINFLY; in NewTextArea() 2475 aSz.Width() = MINFLY; in NewSelect() [all …]
|
/aoo41x/main/basctl/source/basicide/ |
H A D | baside2.cxx | 110 Size aSz = pPrinter->GetOutputSize(); in lcl_PrintHeader() local 1522 Size aSz( aFont.GetSize() ); in ModulWindowLayout() local 1523 aSz.Height() *= 3; in ModulWindowLayout() 1524 aSz.Height() /= 2; in ModulWindowLayout() 1525 aFont.SetSize( aSz ); in ModulWindowLayout() 1551 Size aSz = GetOutputSizePixel(); in ArrangeWindows() local 1568 nHSplitPos = aSz.Width() * 2 / 3; in ArrangeWindows() 1575 aXEWSz.Width() = aSz.Width(); in ArrangeWindows() 1583 aVSplitter.SetDragRectPixel( Rectangle( Point( 0, 0 ), Size( aSz.Width(), aSz.Height() ) ) ); in ArrangeWindows() 1637 Size aSz = GetOutputSizePixel(); in IsToBeDocked() local [all …]
|
H A D | baside2b.cxx | 121 pWin->DrawLine( Point( 0, aSz.Height() - 1 ), Point( aSz.Width(), aSz.Height() - 1 ) ); in lcl_DrawIDEWindowFrame() 1249 aSz.Width() += 6; in WatchWindow() 1250 aSz.Height() += 6; in WatchWindow() 1282 Size aBoxSz( aSz.Width() - 2*DWBORDER, aSz.Height() - nVirtToolBoxHeight - DWBORDER ); in Resize() 1554 aSz.Width() += 6; in StackWindow() 1555 aSz.Height() += 6; in StackWindow() 1584 Size aBoxSz( aSz.Width() - 2*DWBORDER, aSz.Height() - nVirtToolBoxHeight - DWBORDER ); in Resize() 1707 Size aSz( aOutSz ); in Resize() local 1708 aSz.Width() -= 2*DWBORDER; in Resize() 1709 aSz.Height() -= 2*DWBORDER; in Resize() [all …]
|
H A D | basides1.cxx | 1313 Size aSz( rSize ); in AdjustPosSizePixel() local 1316 aSz.Height() -= aScrollBarBoxSz.Height(); in AdjustPosSizePixel() 1318 Size aOutSz( aSz ); in AdjustPosSizePixel() 1319 aSz.Width() -= aScrollBarBoxSz.Width(); in AdjustPosSizePixel() 1321 …aVScrollBar.SetPosSizePixel( Point( rPos.X()+aSz.Width(), rPos.Y() ), Size( aScrollBarBoxSz.Width(… in AdjustPosSizePixel() 1326 if ( nSplitPos > aSz.Width() ) in AdjustPosSizePixel() 1327 nSplitPos = aSz.Width(); in AdjustPosSizePixel() 1330 …aHScrollBar.SetPosSizePixel( Point( nScrlStart, rPos.Y()+aSz.Height() ), Size( aSz.Width() - nScrl… in AdjustPosSizePixel() 1335 …aHScrollBar.SetPosSizePixel( Point( rPos.X()+ aSz.Width()/2 - 1, rPos.Y()+aSz.Height() ), Size( aS… in AdjustPosSizePixel() 1336 …pTabBar->SetPosSizePixel( Point( rPos.X(), rPos.Y()+aSz.Height() ), Size( aSz.Width()/2, aScrollBa… in AdjustPosSizePixel() [all …]
|
/aoo41x/main/svx/workben/ |
H A D | edittest.cxx | 1265 Point aOffset( aSz.Width()/8, aSz.Height()/8 ); in CreatePolygon() 1266 aSz.Width() *= 3; in CreatePolygon() 1267 aSz.Width() /= 4; in CreatePolygon() 1268 aSz.Height() *= 3; in CreatePolygon() 1269 aSz.Height() /= 4; in CreatePolygon() 1272 aPoly.SetPoint( Point( aSz.Width(), aSz.Height()/3 ), 1 ); in CreatePolygon() 1273 aPoly.SetPoint( Point( aSz.Width()/2, aSz.Height() ), 2 ); in CreatePolygon() 1324 Size aOrgSz( aSz ); in SetScrollBars() 1327 aSz.Height() += 2; in SetScrollBars() 1333 aSz = aOrgSz; in SetScrollBars() [all …]
|
/aoo41x/main/toolkit/source/awt/ |
H A D | vclxwindows.cxx | 444 Size aSz; in getMinimumSize() local 456 return aSz; in getPreferredSize() 669 aSz = ImplCalcWindowSize( aSz ); in getMinimumSize() 922 Size aSz; in getMinimumSize() local 1264 Size aSz; in getMinimumSize() local 1995 Size aSz; in getMinimumSize() local 2006 Size aSz; in getPreferredSize() local 2024 aSz = pListBox->CalcAdjustedSize( aSz ); in calcAdjustedSize() 2032 Size aSz; in getMinimumSize() local 2753 Size aSz; in getMinimumSize() local [all …]
|
/aoo41x/main/toolkit/source/controls/ |
H A D | unocontrolbase.cxx | 208 ::com::sun::star::awt::Size aSz; in Impl_getMinimumSize() 215 aSz = xL->getMinimumSize(); in Impl_getMinimumSize() 220 return aSz; in Impl_getMinimumSize() 225 ::com::sun::star::awt::Size aSz; in Impl_getPreferredSize() 232 aSz = xL->getPreferredSize(); in Impl_getPreferredSize() 237 return aSz; in Impl_getPreferredSize() 242 ::com::sun::star::awt::Size aSz; in Impl_calcAdjustedSize() 249 aSz = xL->calcAdjustedSize( rNewSize ); in Impl_calcAdjustedSize() 254 return aSz; in Impl_calcAdjustedSize() 259 ::com::sun::star::awt::Size aSz; in Impl_getMinimumSize() [all …]
|
/aoo41x/main/vcl/source/window/ |
H A D | menu.cxx | 2388 Size aSz; in ImplCalcSize() local 2421 pData->aSz.Height() = 0; in ImplCalcSize() 2422 pData->aSz.Width() = 0; in ImplCalcSize() 2476 aSz.Width() += pData->aSz.Width(); in ImplCalcSize() 2479 pData->aSz.Height() = Max( Max( nTextHeight, pData->aSz.Height() ), nMinMenuItemHeight ); in ImplCalcSize() 2499 pData->aSz.Height() = Max( Max( nFontHeight, pData->aSz.Height() ), nMinMenuItemHeight ); in ImplCalcSize() 2505 aSz.Height() += (long)pData->aSz.Height(); in ImplCalcSize() 2591 return aSz; in ImplCalcSize() 2710 Size aSz( pData->aSz ); in ImplPaint() local 4848 aRect = Rectangle( Point( nX, nY ), Size( aSz.Width(), pData->aSz.Height() ) ); in ImplGetItemRect() [all …]
|
/aoo41x/main/sfx2/source/view/ |
H A D | frame2.cxx | 439 Size aSz( rWinArea.GetSize() ); in PositionWindow_Impl() local 440 if ( aSz.Width() && aSz.Height() ) in PositionWindow_Impl() 443 long(aAppWindow.Width() - aSz.Width() + aSz.Width() / 2) ); in PositionWindow_Impl() 445 long( aAppWindow.Height() - aSz.Height() + aSz.Height() / 2) ); in PositionWindow_Impl() 446 if ( aPos.X() + aSz.Width() < in PositionWindow_Impl() 447 aAppWindow.Width() + aSz.Width() / 2 && in PositionWindow_Impl() 448 aPos.Y() + aSz.Height() < in PositionWindow_Impl() 449 aAppWindow.Height() + aSz.Height() / 2 ) in PositionWindow_Impl() 452 pWin->SetOutputSizePixel( aSz ); in PositionWindow_Impl()
|
/aoo41x/main/sc/source/ui/drawfunc/ |
H A D | fuins2.cxx | 344 awt::Size aSz; in FuInsertOLE() local 347 aSz = xObj->getVisualAreaSize( nAspect ); in FuInsertOLE() 354 aSize = Size( aSz.Width, aSz.Height ); in FuInsertOLE() 363 aSz.Width = aTmp.Width(); in FuInsertOLE() 364 aSz.Height = aTmp.Height(); in FuInsertOLE() 365 xObj->setVisualAreaSize( nAspect, aSz ); in FuInsertOLE() 400 Size aNewSize( aSz.Width, aSz.Height ); in FuInsertOLE() 561 Size aSize( aSz.Width, aSz.Height ); in FuInsertChart() 580 aSz.Width = aSize.Width(); in FuInsertChart() 581 aSz.Height = aSize.Height(); in FuInsertChart() [all …]
|
/aoo41x/main/svtools/source/graphic/ |
H A D | grfmgr.cxx | 637 Size aSz( rSz ); in IsCached() local 681 Size aSz( rSz ); in Draw() local 694 if( aSz.Width() < 0L ) in Draw() 696 aPt.X() += aSz.Width() + 1; in Draw() 697 aSz.Width() = -aSz.Width(); in Draw() 702 if( aSz.Height() < 0L ) in Draw() 704 aPt.Y() += aSz.Height() + 1; in Draw() 705 aSz.Height() = -aSz.Height(); in Draw() 764 Size aSz( rSz ); in DrawWithPDFHandling() local 807 Rectangle( aPt, aSz ), in DrawWithPDFHandling() [all …]
|
/aoo41x/main/sw/source/ui/wrtsh/ |
H A D | wrtsh1.cxx | 327 Size aSz( pFrmMgr->GetSize() ); in Insert() local 328 if ( !aSz.Width() || !aSz.Height() ) in Insert() 330 aSz.Width() = aSz.Height() = 567; in Insert() 331 pFrmMgr->SetSize( aSz ); in Insert() 333 else if ( aSz.Width() != DFLT_WIDTH && aSz.Height() != DFLT_HEIGHT ) in Insert() 563 Size aSz = xRef.GetSize( &aMapMode ); in InsertOleObject() local 566 if ( aSz.Width() > aBound.Width() ) in InsertOleObject() 569 aSz.Height() = aSz.Height() * aBound.Width() / aSz.Width(); in InsertOleObject() 570 aSz.Width() = aBound.Width(); in InsertOleObject() 572 aFrmMgr.SetSize( aSz ); in InsertOleObject() [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | viewfun7.cxx | 324 awt::Size aSz; in PasteObject() local 325 aSz.Width = aSize.Width(); in PasteObject() 326 aSz.Height = aSize.Height(); in PasteObject() 327 xObj->setVisualAreaSize( nAspect, aSz ); in PasteObject() 330 awt::Size aSz; in PasteObject() local 333 aSz = xObj->getVisualAreaSize( nAspect ); in PasteObject() 340 aSize = Size( aSz.Width, aSz.Height ); in PasteObject() 349 aSz.Width = aSize.Width(); in PasteObject() 350 aSz.Height = aSize.Height(); in PasteObject() 351 xObj->setVisualAreaSize( nAspect, aSz ); in PasteObject()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | sdview3.cxx | 967 awt::Size aSz; in InsertData() local 972 aSz.Width = aTmp.Width(); in InsertData() 986 aSize = Size( aSz.Width, aSz.Height ); in InsertData() 993 aSz.Width = aSize.Width(); in InsertData() 1139 awt::Size aSz; in InsertData() local 1151 if ( aSz.Width != aTmp.Width() || aSz.Height != aTmp.Height() ) in InsertData() 1153 aSz.Width = aTmp.Width(); in InsertData() 1154 aSz.Height = aTmp.Height(); in InsertData() 1159 aSize = Size( aSz.Width, aSz.Height ); in InsertData() 1164 aSz.Width = aSize.Width(); in InsertData() [all …]
|
/aoo41x/main/filter/source/svg/ |
H A D | svgwriter.cxx | 415 Size aSz( nVal, nVal ); in ImplMap() local 417 return( ImplMap( aSz, aSz ).Width() ); in ImplMap() 439 Size aSz( rRect.GetSize() ); in ImplMap() local 441 return( rDstRect = Rectangle( ImplMap( aTL, aTL ), ImplMap( aSz, aSz ) ) ); in ImplMap() 1015 Size aSz; in ImplWriteBmp() local 1033 aSz = rSz; in ImplWriteBmp() 1035 const Rectangle aRect( aPt, aSz ); in ImplWriteBmp() 1787 Size aSz; in ImplWriteActions() local 1809 Size aSz; in ImplWriteActions() local 1832 Size aSz; in ImplWriteActions() local [all …]
|
/aoo41x/main/sw/source/filter/rtf/ |
H A D | rtftbl.cxx | 577 SwFmtFrmSize aSz( rTblSz ); in ReadTable() local 578 aSz.SetWidth( nTblSz ); in ReadTable() 579 ((SfxItemSet&)pFmt->GetAttrSet()).Put( aSz ); in ReadTable() 615 SwFmtFrmSize aSz( rTblSz ); in ReadTable() local 616 aSz.SetWidth( nTblSz ); in ReadTable() 617 ((SfxItemSet&)pFmt->GetAttrSet()).Put( aSz ); in ReadTable() 693 SwFmtFrmSize aSz( rTblSz ); in ReadTable() local 694 aSz.SetWidth( nTblSz ); in ReadTable() 738 SwFmtFrmSize aSz( pFmt->GetFrmSize() ); in ReadTable() local 739 aSz.SetWidth( nTblSz ); in ReadTable() [all …]
|
/aoo41x/main/svx/source/accessibility/ |
H A D | AccessibleFrameSelector.cxx | 364 Size aSz; in getBounds() local 369 aSz = mpFrameSel->GetSizePixel(); in getBounds() 375 aSz = aSpot.GetSize(); in getBounds() 380 aRet.Width = aSz.Width(); in getBounds() 381 aRet.Height = aSz.Height(); in getBounds() 432 Size aSz; in getSize() local 436 aSz = mpFrameSel->GetSizePixel(); in getSize() 440 aSz = aSpot.GetSize(); in getSize() 442 AwtSize aRet(aSz.Width(), aSz.Height()); in getSize()
|