/aoo42x/main/svx/source/svdraw/ |
H A D | impgrfll.cxx | 54 if( !rBmpSize.Width() && !rBmpSize.Height() ) in ImpCalcBmpFillSizes() 93 if( !rBmpSize.Width() ) in ImpCalcBmpFillSizes() 94 …rBmpOutputSize.Width() = basegfx::fround( (double) rBmpSize.Height() * aBmpPrefSize.Width() / aBmp… in ImpCalcBmpFillSizes() 96 …ize.Height() = basegfx::fround( (double) rBmpSize.Width() * aBmpPrefSize.Height() / aBmpPrefSize.W… in ImpCalcBmpFillSizes() 100 if( !rBmpPerCent.Width() ) in ImpCalcBmpFillSizes() 103 …rBmpOutputSize.Width() = basegfx::fround( (double) rBmpOutputSize.Height() * aBmpPrefSize.Width() … in ImpCalcBmpFillSizes() 107 …rBmpOutputSize.Width() = basegfx::fround( (double) rOutputRect.GetWidth() * rBmpPerCent.Width() / … in ImpCalcBmpFillSizes() 108 …ight() = basegfx::fround( (double) rBmpOutputSize.Width() * aBmpPrefSize.Height() / aBmpPrefSize.W… in ImpCalcBmpFillSizes() 120 …rBmpOutputSize.Width() = basegfx::fround( (double) rOutputRect.GetWidth() * rBmpPerCent.Width() / … in ImpCalcBmpFillSizes() 198 if( rBmpOffPerCent.Width() ) in ImpCalcBmpFillSizes() [all …]
|
/aoo42x/main/chart2/source/view/main/ |
H A D | LabelPositionHelper.cxx | 145 rfXCorrection = -aSize.Width *rtl::math::sin( beta ) in lcl_correctRotation_Left() 155 rfXCorrection = -aSize.Width *rtl::math::cos( beta ) in lcl_correctRotation_Left() 188 rfXCorrection = aSize.Width *rtl::math::cos( beta ) in lcl_correctRotation_Right() 198 rfXCorrection = aSize.Width *rtl::math::sin( beta ) in lcl_correctRotation_Right() 313 rfXCorrection = -aSize.Width*rtl::math::sin( beta ); in lcl_correctRotation_Left_Top() 345 rfXCorrection = -aSize.Width*rtl::math::sin( beta ) in lcl_correctRotation_Left_Bottom() 353 rfYCorrection = aSize.Width*rtl::math::cos( beta ) in lcl_correctRotation_Left_Bottom() 377 rfXCorrection = aSize.Width*rtl::math::sin( beta ) in lcl_correctRotation_Right_Top() 384 rfXCorrection = aSize.Width*rtl::math::sin( beta ); in lcl_correctRotation_Right_Top() 385 rfYCorrection = -aSize.Width*rtl::math::cos( beta ) in lcl_correctRotation_Right_Top() [all …]
|
H A D | VLegend.cxx | 219 aResult.Width = ::std::max( aResult.Width, aCurrSize.Width ); in lcl_createTextShapes() 336 nMaxTextWidth = rAvailableSpace.Width * 3 / 10; in lcl_placeLegendEntries() 481 nRemainingSpace = rAvailableSpace.Width - nSumWidth; in lcl_placeLegendEntries() 625 aResultingLegendSize.Width = nLegendWidth; in lcl_placeLegendEntries() 632 sal_Int32 nLegendWidth = aResultingLegendSize.Width; in lcl_placeLegendEntries() 743 sal_Int32 nExtent = aLegendSize.Width; in lcl_calculatePositionAndRemainingSpace() 750 rRemainingSpace.Width -= ( aLegendSize.Width + nXDistance ); in lcl_calculatePositionAndRemainingSpace() 773 if( aResult.X + aLegendSize.Width > rPageSize.Width ) in lcl_calculatePositionAndRemainingSpace() 775 sal_Int32 nNewX( (rPageSize.Width - aLegendSize.Width) - nEdgeDistance ); in lcl_calculatePositionAndRemainingSpace() 776 if( nNewX > rPageSize.Width / 4 ) in lcl_calculatePositionAndRemainingSpace() [all …]
|
/aoo42x/main/svtools/source/control/ |
H A D | scrwin.cxx | 196 if ( aOutPixSz.Width() < aTotPixSz.Width() && !bHVisible ) in Resize() 219 aPixOffset.X() + aTotPixSz.Width() < aOutPixSz.Width() ) in Resize() 220 aPixDelta.Width() = in Resize() 221 aOutPixSz.Width() - ( aPixOffset.X() + aTotPixSz.Width() ); in Resize() 239 ? (aOutPixSz.Width()-aTotPixSz.Width()) / 2 in Resize() 356 if ( aWill.Width() < aWish.GetSize().Width() ) in SetVisibleSize() 362 aWill.Width() = in SetVisibleSize() 363 Min( aWill.Width()+nScrSize, aMax.GetSize().Width() ); in SetVisibleSize() 364 if ( !bHScroll && (aWill.Width() < aWish.GetSize().Width()) ) in SetVisibleSize() 491 aNewPixOffset.X() = - ( aTotPixSz.Width() - aOutPixSz.Width() ); in Scroll() [all …]
|
/aoo42x/main/svtools/source/filter/ |
H A D | exportdialog.cxx | 675 maResolution.Width = aResolution.Width(); in ExportDialog() 750 aLbMax.Width() = Max( aLbMax.Width(), maLbResolution.GetSizePixel().Width() ); in createSizeControls() 1109 rLayout.setBorders( nIndex, aBorder.Width(), 0, aBorder.Width(), aBorder.Width() ); in createButtons() 1239 …aSize.Width() = maSize.Width > aFixedBitmapSize.Width() ? maSize.Width : aFixedBitmapSize.Width(); in updatePreview() 1244 …aSize.Width() = maSize.Width < aFixedBitmapSize.Width() ? maSize.Width : aFixedBitmapSize.Width(); in updatePreview() 1259 if ( aSize.Width() < maSize.Width ) in updatePreview() 1276 if ( aSize.Width() > aFixedBitmapSize.Width() ) in updatePreview() 1277 aSize.Width() = aFixedBitmapSize.Width(); in updatePreview() 1281 if ( aSize.Width() < aFixedBitmapSize.Width() ) in updatePreview() 1450 maSize.Width = aDest.Width(); in IMPL_LINK() [all …]
|
/aoo42x/main/vcl/source/window/ |
H A D | arrange.cxx | 191 if( aResult.Width() < m_aMinSize.Width() ) in getOptimalSize() 192 aResult.Width() = m_aMinSize.Width(); in getOptimalSize() 304 if( aRet.Width() < aElementSize.Width() ) in getOptimalSize() 305 aRet.Width() = aElementSize.Width(); in getOptimalSize() 315 aRet.Width() += aElementSize.Width(); in getOptimalSize() 568 if( aRet.Width() != 0 ) in getOptimalSize() 576 aRet.Width() += aElementSize.Width(); in getOptimalSize() 606 aSize.Width() = aElementSize.Width(); in resize() 707 aElementSize.Width() += aSize.Width(); in getOptimalSize() 723 if( aElementSize.Width() > aColumnSize.Width() ) in getOptimalSize() [all …]
|
H A D | tabdlg.cxx | 65 if ( nTxtWidth > aCtrlSize.Width() ) in ImplPosControls() 66 aCtrlSize.Width() = nTxtWidth; in ImplPosControls() 110 nViewWidth = aTabSize.Width(); in ImplPosControls() 119 nViewWidth = aTabSize.Width(); in ImplPosControls() 129 aDlgSize.Width() += aViewSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls() 139 aDlgSize.Width() += aViewSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls() 161 if ( nCtrlBarWidth <= (aTabSize.Width()+nBtnEx) ) in ImplPosControls() 176 if ( nX+aCtrlSize.Width()-IMPL_DIALOG_OFFSET > (aTabSize.Width()+nBtnEx) ) in ImplPosControls() 184 nX += aCtrlSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls() 190 nTopX += aChildSize.Width()+2; in ImplPosControls() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | porfld.cxx | 343 Width(0); in Format() 506 if( Width() ) in Paint() 845 nFixWidth = Width(); in SwGrfNumPortion() 878 const sal_Bool bFull = rInf.Width() < rInf.X() + Width(); in Format() 887 Width( rInf.Width() - (KSHORT)rInf.X() ); in Format() 1148 if( Width() ) in Paint() 1208 Width( 0 ); in Format() 1299 Width( 2*Width() ); in Format() 1347 const sal_Bool bFull = rInf.Width() < rInf.X() + Width(); in Format() 1352 Width( (sal_uInt16)( rInf.Width() - rInf.X() ) ); in Format() [all …]
|
H A D | portxt.cxx | 266 Width( Width() + nItalic ); in BreakCut() 283 Width( 0 ); in BreakCut() 295 Width( 0 ); in BreakUnderflow() 360 if( nKern > 0 && rInf.Width() < rInf.X() + Width() + nKern ) in _Format() 362 nKern = (short)(rInf.Width() - rInf.X() - Width() - 1); in _Format() 432 Width( KSHORT(rInf.Width() - rInf.X()) ); in _Format() 534 Width( Width() - nBlankSize ); in FormatEOL() 784 if ( Width() ) in Paint() 827 if( !Width() in GetViewWidth() 930 Width(0); in Format() [all …]
|
/aoo42x/main/toolkit/source/awt/ |
H A D | vclxtabpage.cxx | 78 requestedSize.Height = getHeightForWidth( area.Width ); in allocateArea() 80 if ( currentSize.Width > 0 && currentSize.Height > 0 in allocateArea() 81 && requestedSize.Width > currentSize.Width ) in allocateArea() 82 requestedSize.Width = currentSize.Width; in allocateArea() 83 if ( currentSize.Width > 0 && currentSize.Height > 0 in allocateArea() 101 OSL_TRACE ("%s: area: %d, %d", __FUNCTION__, area.Width, area.Height ); in allocateArea() 108 if (requestedSize.Width > parentSize.Width () in allocateArea() 114 parent->SetSizePixel ( Size (requestedSize.Width, requestedSize.Height) ); in allocateArea() 128 if ( requestedSize.Width > currentSize.Width + 10) in allocateArea() 129 setPosSize( 0, 0, requestedSize.Width, 0, awt::PosSize::WIDTH ); in allocateArea() [all …]
|
H A D | vclxtabcontrol.cxx | 320 awt::Size requestedSize (area.Width, area.Height); in allocateArea() 324 if (requestedSize.Width < minimumSize.Width) in allocateArea() 325 requestedSize.Width = minimumSize.Width; in allocateArea() 331 pageBasedSize.Width = pageSize.Width (); in allocateArea() 339 if (requestedSize.Width < pageBasedSize.Width) in allocateArea() 340 requestedSize.Width = pageBasedSize.Width + wc; in allocateArea() 370 if ( requestedSize.Width > currentSize.Width + 10) in allocateArea() 377 if (pageBasedSize.Width > parentSize.Width () in allocateArea() 414 childRect.Width = page_rect.Right() - page_rect.Left(); in allocateArea() 445 childrenSize.Width = SAL_MAX( childSize.Width, childrenSize.Width ); in getMinimumSize() [all …]
|
/aoo42x/main/svtools/source/graphic/ |
H A D | grfmgr.cxx | 369 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams() 694 if( aSz.Width() < 0L ) in Draw() 696 aPt.X() += aSz.Width() + 1; in Draw() 697 aSz.Width() = -aSz.Width(); in Draw() 1009 …aMtf.Scale( (double)rDestSize.Width() / (aSrcSize.Width() - aCropLeftTop.Width() - aCropRightBotto… in GetTransformedGraphic() 1015 …e( Size( (long)((double)rDestSize.Width() * (1.0 + (aCropLeftTop.Width() + aCropRightBottom.Width… in GetTransformedGraphic() 1020 …etOrigin().X() + rDestSize.Width() * aCropLeftTop.Width() / (aSrcSize.Width() - aCropLeftTop.Width… in GetTransformedGraphic() 1095 aSrcSizePixel.Width() - aCropRightBottom.Width(), in GetTransformedGraphic() 1134 aNewSize.Width() += aCropRightBottom.Width() < 0 ? -aCropRightBottom.Width() : 0; in GetTransformedGraphic() 1135 aNewSize.Width() += aCropLeftTop.Width() < 0 ? -aCropLeftTop.Width() : 0; in GetTransformedGraphic() [all …]
|
/aoo42x/main/vcl/source/gdi/ |
H A D | pngread.cxx | 464 … maPhysSize.Width() = (sal_Int32)( (100000.0 * maOrigSize.Width()) / nXPixelPerMeter ); in GetBitmapEx() 505 if ( mbpHYs && maPhysSize.Width() && maPhysSize.Height() ) in GetBitmapEx() 528 maOrigSize.Width() = ImplReadsal_uInt32(); in ImplReadHeader() 531 if ( !maOrigSize.Width() || !maOrigSize.Height() ) in ImplReadHeader() 686 if( aPreviewSize.Width() == 0 ) { in ImplReadHeader() 688 if( aPreviewSize.Width() <= 0 ) in ImplReadHeader() 691 aPreviewSize.setHeight( ( maOrigSize.Height()*aPreviewSize.Width() )/maOrigSize.Width() ); in ImplReadHeader() 696 if( aPreviewSize.Width() < maOrigSize.Width() && aPreviewSize.Height() < maOrigSize.Height() ) { in ImplReadHeader() 701 if( (maTargetSize.Width() >> i) < aPreviewSize.Width() ) in ImplReadHeader() 711 maTargetSize.Width() = (maOrigSize.Width() + mnPreviewMask) >> mnPreviewShift; in ImplReadHeader() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | paraprev.cxx | 58 aWinSize.Width() -= aTmp.Width() /2; in SvxParaPrevWindow() 110 long nLeft = nLeftMargin * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 111 long nFirst = nFirstLineOfst * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 117 aSiz.Width() -= nTmp; in DrawParagraph() 122 aSiz.Width() -= nLeft; in DrawParagraph() 124 long nRight = nRightMargin * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 125 aSiz.Width() -= nRight; in DrawParagraph() 155 if ( nLW > aSiz.Width() ) in DrawParagraph() 156 nLW = aSiz.Width(); in DrawParagraph() 191 nLW = aSiz.Width(); in DrawParagraph() [all …]
|
/aoo42x/main/migrationanalysis/src/wizard/ |
H A D | Wizard.frm | 49 Width = 8235 63 Width = 2565 72 Width = 30 202 Width = 5925 289 Width = 8235 303 Width = 2565 613 Width = 8235 622 Width = 705 1263 Width = 8175 1316 Width = 2085 [all …]
|
/aoo42x/main/sd/source/ui/dlg/ |
H A D | animobjs.cxx | 113 if( aBmpSize.Width() < aSize.Width() ) in Paint() 114 aPt.X() = ( aSize.Width() - aBmpSize.Width() ) / 2; in Paint() 731 aBmpSize.Width() = Max( aBmpSize.Width(), aTempSize.Width() ); in GetScale() 757 aDiffSize.Width() = aWinSize.Width() - aSize.Width(); in Resize() 761 aDisplaySize.Width() += aDiffSize.Width(); in Resize() 1081 aMaxSizeLog.Width() = Max( aMaxSizeLog.Width(), aTmpSizeLog.Width() ); in CreateAnimObj() 1084 aMaxSizePix.Width() = Max( aMaxSizePix.Width(), aTmpSizePix.Width() ); in CreateAnimObj() 1135 aPt.X() = aMaxSizePix.Width() - aBitmapSize.Width(); in CreateAnimObj() 1139 aPt.X() = aMaxSizePix.Width() - aBitmapSize.Width(); in CreateAnimObj() 1144 aPt.X() = aMaxSizePix.Width() - aBitmapSize.Width(); in CreateAnimObj() [all …]
|
/aoo42x/main/vcl/source/control/ |
H A D | button.cxx | 395 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in ImplDrawAlignedImage() 501 aTSSize.Width() += aTextSize.Width(); in ImplDrawAlignedImage() 514 aMax.Width() = aTSSize.Width() > aImageSize.Width() ? aTSSize.Width() : aImageSize.Width(); in ImplDrawAlignedImage() 1856 aSize.Width() += int( textSize.Width () * 1.15 ); in CalcMinimumSize() 2438 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in ImplDrawRadioButton() 3208 aSize.Width() += aTextSize.Width(); in CalcMinimumSize() 3411 aSize.Width() -= rImageSize.Width() + nImageSep; in ImplDraw() 3498 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in ImplDrawCheckBox() 3694 aBrd1Size.Width() = CalcZoom( aBrd1Size.Width() ); in Draw() 3696 aBrd2Size.Width() = CalcZoom( aBrd2Size.Width() ); in Draw() [all …]
|
/aoo42x/main/svtools/source/brwbox/ |
H A D | brwbox2.cxx | 724 if ( pCol->Width() > 4 ) in Paint() 744 nX += pCol->Width(); in Paint() 824 long nWidthLogic = PixelToLogic(Size(pCurrent->Width(), 0), MAP_10TH_MM).Width(); in Draw() 835 aRealSize.Width() -= 2; in Draw() 903 long nForeignWidthLogic = pDev->PixelToLogic(Size(pCurrent->Width(), 0), MAP_10TH_MM).Width(); in Draw() 1027 if (pCol->Width()) in ImplPaintData() 1062 aPos.X() += pCol->Width(); in ImplPaintData() 1141 aVertPos.X() += pCol->Width(); in ImplPaintData() 1214 aNewSize.Width() = GetOutputSizePixel().Width(); in UpdateScrollbars() 1221 aNewSize.Width() = GetOutputSizePixel().Width() - nCornerSize; in UpdateScrollbars() [all …]
|
/aoo42x/main/reportdesign/source/ui/dlg/ |
H A D | Condition.cxx | 91 const Point aButtonPos(aSize.Width() - aButtonSize.Width(), 0); in Resize() 177 aSize.Width() += 4; in OColorPopup() 192 aSize.Width() -= 4; in Resize() 298 … m_aPreview.SetPosSizePixel( aToolbarPos.X() + aToolbarSize.Width() + 2 * aRelatedControls.Width(), in Condition() 402 if ( _rDiff.Width() || _rDiff.Height() ) in resizeControls() 497 …m_aHeader.SetPosSizePixel( 0, 0, aSize.Width() - 2 * aRelatedControls.Width(), 0, WINDOW_POSSIZE_W… in impl_layoutAll() 501 Point aButtonPos( aSize.Width() - aUnrelatedControls.Width() - aButtonSize.Width(), aRow1.Y() ); in impl_layoutAll() 516 aButtonPos.Move( -( aButtonSize.Width() + aRelatedControls.Width() ), 0 ); in impl_layoutAll() 562 … Point aLHSPos( aOpListPos.X() + aOpListSize.Width() + aRelatedControls.Width(), aOpListPos.Y() ); in impl_layoutOperands() 573 … const Point aOpGluePos( aLHSPos.X() + aLHSSize.Width() + aRelatedControls.Width(), aLHSPos.Y() ); in impl_layoutOperands() [all …]
|
/aoo42x/main/sdext/source/presenter/ |
H A D | PresenterUIPainter.cxx | 83 ::std::min(aLeftBitmapSize.Width, rBoundingBox.Width), in PaintHorizontalBitmapComposite() 99 rBoundingBox.X + rBoundingBox.Width - aRightBitmapSize.Width, in PaintHorizontalBitmapComposite() 101 ::std::min(aRightBitmapSize.Width, rBoundingBox.Width), in PaintHorizontalBitmapComposite() 108 = aRightBoundingBox.X + aRightBoundingBox.Width - aRightBitmapSize.Width; in PaintHorizontalBitmapComposite() 120 rBoundingBox.Width - aLeftBitmapSize.Width - aRightBitmapSize.Width, in PaintHorizontalBitmapComposite() 188 rBoundingBox.Width, in PaintVerticalBitmapComposite() 195 = aTopBoundingBox.X + (aTopBoundingBox.Width - aTopBitmapSize.Width) / 2; in PaintVerticalBitmapComposite() 207 rBoundingBox.Width, in PaintVerticalBitmapComposite() 214 = aBottomBoundingBox.X + (aBottomBoundingBox.Width - aBottomBitmapSize.Width) / 2; in PaintVerticalBitmapComposite() 226 rBoundingBox.Width, in PaintVerticalBitmapComposite() [all …]
|
/aoo42x/main/sc/source/ui/formdlg/ |
H A D | dwfunctr.cxx | 351 aDiffSize.Width()-=aNewSize.Width(); in SetLeftRightSize() 365 if(aOldSize.Width()!=aNewSize.Width()) in SetLeftRightSize() 372 aNewSize.Width()+=aDiffSize.Width(); in SetLeftRightSize() 402 aDiffSize.Width()-=aNewSize.Width(); in SetTopBottonSize() 408 aNewSize.Width()+=aDiffSize.Width(); in SetTopBottonSize() 445 aCDSize.Width()=aNewSize.Width()-aCDTopLeft.X()-aFLTopLeft.X(); in SetMyWidthLeRi() 446 aFLSize.Width()=aNewSize.Width()-2*aFLTopLeft.X(); in SetMyWidthLeRi() 447 aFDSize.Width()=aFLSize.Width(); in SetMyWidthLeRi() 448 aSplitterSize.Width()=aFLSize.Width(); in SetMyWidthLeRi() 535 aDdFLSize.Width()=aNewSize.Width()-aDdFLTopLeft.X()-aFDTopLeft.X(); in SetMyWidthToBo() [all …]
|
/aoo42x/main/sd/source/core/ |
H A D | sdpage.cxx | 995 aTitleSize.Width() = long( aTitleSize.Width() * 0.9 ); in GetTitleRect() 1033 aPos.X() += (aPartArea.Width() - aSize.Width()) / 2; in GetTitleRect() 1068 aLayoutSize.Width() = long( aLayoutSize.Width() * 0.9 ); in GetLayoutRect() 1077 aLayoutSize.Width() = long( aLayoutSize.Width() * 0.8 ); in GetLayoutRect() 1213 aLayoutSize.Width() = long (aLayoutSize.Width() * 0.488); in CalcAutoLayoutRectangles() 1226 aLayoutSize.Width() = long (aLayoutSize.Width() * 0.488); in CalcAutoLayoutRectangles() 1235 aLayoutSize.Width() = long (aLayoutSize.Width() * 0.488); in CalcAutoLayoutRectangles() 1315 aSize.Width() = long( aPageSize.Width() * 0.7 ); in CalcAutoLayoutRectangles() 1336 aSize.Width() = long( aPageSize.Width() * 0.7 ); in CalcAutoLayoutRectangles() 3074 aSize.Width() = aPartArea.Width(); in CalculateHandoutAreas() [all …]
|
/aoo42x/main/sc/source/ui/drawfunc/ |
H A D | fuins1.cxx | 110 aPageSize.Width() = -aPageSize.Width(); in ScLimitSizeOnDrawPage() 111 rPos.X() = -rPos.X() - rSize.Width(); in ScLimitSizeOnDrawPage() 114 if ( rSize.Width() > aPageSize.Width() || rSize.Height() > aPageSize.Height() ) in ScLimitSizeOnDrawPage() 116 double fX = aPageSize.Width() / (double) rSize.Width(); in ScLimitSizeOnDrawPage() 121 rSize.Width() = aPageSize.Width(); in ScLimitSizeOnDrawPage() 127 rSize.Width() = (long) ( rSize.Width() * fY ); in ScLimitSizeOnDrawPage() 130 if (!rSize.Width()) in ScLimitSizeOnDrawPage() 131 rSize.Width() = 1; in ScLimitSizeOnDrawPage() 136 if ( rPos.X() + rSize.Width() > aPageSize.Width() ) in ScLimitSizeOnDrawPage() 137 rPos.X() = aPageSize.Width() - rSize.Width(); in ScLimitSizeOnDrawPage() [all …]
|
/aoo42x/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 629 …aWinSize.Width() = (long) ((double) aWinSize.Width() * (double) ZOOM_MULTIPLICATOR / (double) nFac… in SetZoomRect() 671 if ( maWinPos.X() > maViewSize.Width() - aWinSize.Width() ) in UpdateMapOrigin() 673 maWinPos.X() = maViewSize.Width() - aWinSize.Width(); in UpdateMapOrigin() 681 if ( aWinSize.Width() > maViewSize.Width() || maWinPos.X() < 0 ) in UpdateMapOrigin() 683 maWinPos.X() = maViewSize.Width() / 2 - aWinSize.Width() / 2; in UpdateMapOrigin() 720 if (aPix.Width() == 0) in UpdateMapMode() 725 aPix.Width() -= 8; in UpdateMapMode() 737 maWinPos.X() = aPix.Width(); in UpdateMapMode() 808 if ( aWinSize.Width() > maViewSize.Width() ) in GetVisibleWidth() 809 aWinSize.Width() = maViewSize.Width(); in GetVisibleWidth() [all …]
|
/aoo42x/main/sc/source/ui/miscdlgs/ |
H A D | tabbgcolordlg.cxx | 129 const Size aNewSizeBorderWin(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd); in FillColorValueSets_Impl() 134 const long nOffsetX(aCurrentSizeDialog.Width() - aCurrentSizeBorderWin.Width()); in FillColorValueSets_Impl() 136 …const Size aNewSizeDialog(aNewSizeBorderWin.Width() + nOffsetX, aNewSizeBorderWin.Height() + nOffs… in FillColorValueSets_Impl() 145 …nst long aNewWidthOkay((aBtnOk.GetSizePixel().Width() * aNewSizeDialog.Width()) / aCurrentSizeDial… in FillColorValueSets_Impl() 146 …long aNewPosOkay((aBtnOk.GetPosPixel().X() * aNewSizeDialog.Width()) / aCurrentSizeDialog.Width()); in FillColorValueSets_Impl() 152 …ng aNewWidthCancel((aBtnCancel.GetSizePixel().Width() * aNewSizeDialog.Width()) / aCurrentSizeDial… in FillColorValueSets_Impl() 153 …NewPosCancel((aBtnCancel.GetPosPixel().X() * aNewSizeDialog.Width()) / aCurrentSizeDialog.Width()); in FillColorValueSets_Impl() 159 …t long aNewWidthHelp((aBtnHelp.GetSizePixel().Width() * aNewSizeDialog.Width()) / aCurrentSizeDial… in FillColorValueSets_Impl() 160 …ng aNewPosHelp((aBtnHelp.GetPosPixel().X() * aNewSizeDialog.Width()) / aCurrentSizeDialog.Width()); in FillColorValueSets_Impl()
|