/trunk/main/cui/source/dialogs/ |
H A D | about.cxx | 164 void Adjust(const Size &aSz, const Size &a6Size); 182 void ReadmeTabPage::Adjust(const Size &aSz, const Size &a6Size) in Adjust() argument 187 maText.SetSizePixel( Size(aSz.Width() - nDlgMargin, aSz.Height() - nCtrlMargin) ); in Adjust()
|
/trunk/main/vcl/source/window/ |
H A D | toolbox.cxx | 353 Size aSz ( pThis->GetOutputSizePixel() ); in ImplDrawGrip() local 357 int height = (int) (0.6 * aSz.Height() + 0.5); in ImplDrawGrip() 358 int i = (aSz.Height() - height) / 2; in ImplDrawGrip() 374 int width = (int) (0.6 * aSz.Width() + 0.5); in ImplDrawGrip() 375 int i = (aSz.Width() - width) / 2; in ImplDrawGrip() 2334 Size aSz( aCurrentSize ); in ImplGetOptimalFloatingSize() local 2341 aSz.Height() = nBorderY + nLineHeight * nLines; in ImplGetOptimalFloatingSize() 2344 aSz.Height() += (nLines-1)*TB_LINESPACING; in ImplGetOptimalFloatingSize() 2346 aSz.Width() = nBorderX + maxX; in ImplGetOptimalFloatingSize() 2349 if( aSz.Width() < aMinimalFloatSize.Width() ) in ImplGetOptimalFloatingSize() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par.cxx | 2056 SwFmtFrmSize aSz(ATT_MIN_SIZE, nPageWidth, MINLAY); in Read_HdFtTextAsHackedFrame() local 2058 if( eFrmSize != aSz.GetWidthSizeType() ) in Read_HdFtTextAsHackedFrame() 2059 aSz.SetWidthSizeType( eFrmSize ); in Read_HdFtTextAsHackedFrame() 2060 pFrame->SetFmtAttr(aSz); in Read_HdFtTextAsHackedFrame()
|
H A D | ww8par3.cxx | 2260 awt::Size aSz; in InsertFormula() local 2263 if (sal_True == (bRet = rFormula.Import(rServiceFactory, xFComp, aSz))) in InsertFormula() 2266 if (sal_True == (bRet = InsertControl(xFComp, aSz, &xShapeRef, false))) in InsertFormula()
|
H A D | wrtw8esh.cxx | 1773 const Size aSz( rNd.GetTwipSize() ); in WriteGrfAttr() local 1776 rPropOpt.AddOpt( ESCHER_Prop_cropFromLeft, ToFract16( nVal, aSz.Width()) ); in WriteGrfAttr() 1778 rPropOpt.AddOpt( ESCHER_Prop_cropFromRight, ToFract16( nVal, aSz.Width())); in WriteGrfAttr() 1780 rPropOpt.AddOpt( ESCHER_Prop_cropFromTop, ToFract16( nVal, aSz.Height())); in WriteGrfAttr() 1782 rPropOpt.AddOpt( ESCHER_Prop_cropFromBottom, ToFract16( nVal, aSz.Height())); in WriteGrfAttr()
|
H A D | ww8graf.cxx | 2124 Size aSz(pGrfNd->GetTwipSize()); in SetAttributesAtGrfNode() local 2127 sal_uInt64 rHeight = aSz.Height(); in SetAttributesAtGrfNode() 2128 sal_uInt64 rWidth = aSz.Width(); in SetAttributesAtGrfNode()
|
/trunk/main/sw/source/core/layout/ |
H A D | paintfrm.cxx | 267 Size aSz( pOut->PixelToLogic( Size( 1,1 )) ); in SwCalcPixStatics() local 269 nPixelSzW = aSz.Width(); in SwCalcPixStatics() 272 nPixelSzH = aSz.Height(); in SwCalcPixStatics()
|
/trunk/main/sw/source/core/text/ |
H A D | txtfly.cxx | 1909 Size aSz( nRadius, nRadius ); in ShowContour() local 1919 Rectangle aTmp( aPt, aSz ); in ShowContour()
|
/trunk/main/sw/source/ui/app/ |
H A D | docsh.cxx | 917 Size aSz( mpView->GetDocSz() ); in SetVisArea() local 918 aSz.Width() += DOCUMENTBORDER; aSz.Height() += DOCUMENTBORDER; in SetVisArea() 920 if ( aRect.Right() > aSz.Width() ) in SetVisArea() 921 nMoveX = aSz.Width() - aRect.Right(); in SetVisArea() 922 if ( aRect.Bottom() > aSz.Height() ) in SetVisArea() 923 nMoveY = aSz.Height() - aRect.Bottom(); in SetVisArea()
|
/trunk/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() 282 rFmt.SetFmtAttr( aSz ); 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() 319 aSz.Height() = aSz.Width(); in ChgAllPageSize() 320 aSz.Width() = aTmp; in ChgAllPageSize() [all …]
|
/trunk/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 …]
|
/trunk/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 2042 awt::Size aSz; in ImportOLE() local 2043 aSz.Width = aSize.Width(); in ImportOLE() 2044 aSz.Height = aSize.Height(); in ImportOLE() 2045 xObj->setVisualAreaSize( pOe->nAspect, aSz ); in ImportOLE()
|
H A D | msdffimp.cxx | 7314 Size aSz; in CheckForConvertToSOObj() local 7316 aSz = lcl_GetPrefSize(rGrf, aMapMode ); in CheckForConvertToSOObj() 7319 aSz = rVisArea.GetSize(); in CheckForConvertToSOObj() 7320 aSz = OutputDevice::LogicToLogic( aSz, MapMode( MAP_100TH_MM ), aMapMode ); in CheckForConvertToSOObj() 7327 aSize.Width = aSz.Width(); in CheckForConvertToSOObj() 7328 aSize.Height = aSz.Height(); in CheckForConvertToSOObj() 7492 Size aSz(lcl_GetPrefSize(rGrf, MapMode(aMapUnit))); in CreateSdrOLEFromStorage() local 7493 aAwtSz.Width = aSz.Width(); in CreateSdrOLEFromStorage() 7494 aAwtSz.Height = aSz.Height(); in CreateSdrOLEFromStorage()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdoole2.cxx | 259 awt::Size aSz; in notifyEvent() local 267 aSz.Width = 5000; in notifyEvent() 268 aSz.Height = 5000; in notifyEvent() 273 aSz.Width = 5000; in notifyEvent() 274 aSz.Height = 5000; in notifyEvent() 277 aVisArea.SetSize( Size( aSz.Width, aSz.Height ) ); in notifyEvent() 1845 awt::Size aSz; in ImpSetVisAreaSize() local 1846 aSz.Width = aVisSize.Width(); in ImpSetVisAreaSize() 1847 aSz.Height = aVisSize.Height(); in ImpSetVisAreaSize() 1848 xObjRef->setVisualAreaSize( GetAspect(), aSz ); in ImpSetVisAreaSize() [all …]
|
/trunk/main/sw/source/ui/config/ |
H A D | optpage.cxx | 1748 const Size aSz(GetOutputSizePixel()); in SwMarkPreview() local 1751 aPage.SetSize(Size(aSz.Width() - 3, aSz.Height() - 3)); in SwMarkPreview()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | srcview.cxx | 144 Size aSz = rOutDev.GetOutputSize(); in TYPEINIT1() local 163 long nXRight = aSz.Width()-RMARGPRN+nBorder; in TYPEINIT1() 167 Size( nXRight-nXLeft, aSz.Height() - nYTop - BMARGPRN + nBorder ) ) ); in TYPEINIT1()
|
/trunk/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 …]
|
/trunk/main/starmath/source/ |
H A D | accessibility.cxx | 207 Size aSz( pWin->GetSizePixel() ); in containsPoint() local 209 aPoint.X < aSz.Width() && aPoint.Y < aSz.Height(); in containsPoint() 266 Size aSz( pWin->GetSizePixel() ); in getSize() local 270 DBG_ASSERT( aSz == aSz2, "mismatch in width" ); in getSize() 272 return awt::Size( aSz.Width(), aSz.Height() ); in getSize() 1795 Size aSz( pWin->GetSizePixel() ); in containsPoint() local 1797 aPoint.X < aSz.Width() && aPoint.Y < aSz.Height(); in containsPoint() 1852 Size aSz( pWin->GetSizePixel() ); in getSize() local 1856 DBG_ASSERT( aSz == aSz2, "mismatch in width" ); in getSize() 1858 return awt::Size( aSz.Width(), aSz.Height() ); in getSize()
|
/trunk/main/sd/source/ui/view/ |
H A D | sdview.cxx | 939 awt::Size aSz = xObj->getVisualAreaSize( nAspect ); in SetMarkedOriginalSize() local 940 … aOleSize = OutputDevice::LogicToLogic( Size( aSz.Width, aSz.Height ), aUnit, MAP_100TH_MM ); in SetMarkedOriginalSize() 1012 awt::Size aSz; in DoConnect() local
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit3.cxx | 483 if ( aSz.Height() > aMaxAutoPaperSize.Height() ) in FormatDoc() 484 aSz.Height() = aMaxAutoPaperSize.Height(); in FormatDoc() 485 else if ( aSz.Height() < aMinAutoPaperSize.Height() ) in FormatDoc() 486 aSz.Height() = aMinAutoPaperSize.Height(); in FormatDoc() 488 pImpView->GetOutputArea().TopLeft(), aSz ) ); in FormatDoc() 571 Size aSz( aInvSize ); in CheckAutoPageSize() local 574 aSz.Width() = aInvSize.Height(); in CheckAutoPageSize() 575 aSz.Height() = aInvSize.Width(); in CheckAutoPageSize() 577 aInvalidRec = Rectangle( Point(), aSz ); in CheckAutoPageSize() 2580 Size aSz( rFont.GetSize() ); in SeekCursor() local [all …]
|
H A D | impedit4.cxx | 3244 Size aSz( n, 0 ); in LogicToTwips() local 3246 aSz = pRefDev->LogicToLogic( aSz, NULL, &aTwipsMode ); in LogicToTwips() 3247 return aSz.Width(); in LogicToTwips()
|
H A D | eertfpar.cxx | 166 Size aSz( 12, 0 ); in AddRTFDefaultValues() local 169 aSz = pImpEditEngine->GetRefDevice()->LogicToLogic( aSz, &aPntMode, &_aEditMapMode ); in AddRTFDefaultValues() 170 SvxFontHeightItem aFontHeightItem( aSz.Width(), 100, EE_CHAR_FONTHEIGHT ); in AddRTFDefaultValues()
|
H A D | impedit.cxx | 414 Size aSz = rDocRect.GetSize(); in GetWindowPos() local 418 aRect = Rectangle( aPos, aSz ); in GetWindowPos() 422 Point aNewPos( aPos.X()-aSz.Height(), aPos.Y() ); in GetWindowPos() 423 aRect = Rectangle( aNewPos, Size( aSz.Height(), aSz.Width() ) ); in GetWindowPos() 1618 Size aSz( 5, 0 ); in dragGestureRecognized() local 1619 aSz = GetWindow()->PixelToLogic( aSz ); in dragGestureRecognized() 1620 pDragAndDropInfo->nSensibleRange = (sal_uInt16) aSz.Width(); in dragGestureRecognized() 1621 pDragAndDropInfo->nCursorWidth = (sal_uInt16) aSz.Width() / 2; in dragGestureRecognized()
|
H A D | editdoc.cxx | 498 Size aSz; in CalcTextSize() local 516 aSz.Width() += aTmpSz.Width(); in CalcTextSize() 517 if ( aSz.Height() < aTmpSz.Height() ) in CalcTextSize() 518 aSz.Height() = aTmpSz.Height(); in CalcTextSize() 524 aSz.Width() += pPortion->GetSize().Width(); in CalcTextSize() 531 SetHeight( (sal_uInt16)aSz.Height() ); in CalcTextSize() 532 return aSz; in CalcTextSize()
|
/trunk/main/editeng/source/outliner/ |
H A D | outliner.cxx | 1750 Size aSz( aBulletSize ); in ImpCalcBulletArea() local 1751 aBulletSize.Width() = aSz.Height(); in ImpCalcBulletArea() 1752 aBulletSize.Height() = aSz.Width(); in ImpCalcBulletArea()
|