Home
last modified time | relevance | path

Searched refs:Width (Results 1 – 25 of 1656) sorted by relevance

12345678910>>...67

/trunk/main/svx/source/svdraw/
H A Dimpgrfll.cxx54 if( !rBmpSize.Width() && !rBmpSize.Height() ) in ImpCalcBmpFillSizes()
56 else if( !rBmpSize.Width() || !rBmpSize.Height() ) in ImpCalcBmpFillSizes()
61 if( !rBmpPerCent.Width() && !rBmpPerCent.Height() ) in ImpCalcBmpFillSizes()
63 else if( !rBmpPerCent.Width() || !rBmpPerCent.Height() ) in ImpCalcBmpFillSizes()
74 if( !aBmpPrefSize.Width() || !aBmpPrefSize.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()
[all …]
/trunk/main/chart2/source/view/main/
H A DLabelPositionHelper.cxx140 rfYCorrection = -aSize.Width*rtl::math::sin( fAnglePi )/2.0; in lcl_correctRotation_Left()
145 rfXCorrection = -aSize.Width *rtl::math::sin( beta ) in lcl_correctRotation_Left()
148 rfYCorrection = -aSize.Width *rtl::math::cos( beta )/2.0; in lcl_correctRotation_Left()
150 rfYCorrection = -aSize.Width *rtl::math::cos( beta ); in lcl_correctRotation_Left()
155 rfXCorrection = -aSize.Width *rtl::math::cos( beta ) in lcl_correctRotation_Left()
158 rfYCorrection = aSize.Width *rtl::math::sin( beta )/2.0; in lcl_correctRotation_Left()
160 rfYCorrection = aSize.Width *rtl::math::sin( beta ); in lcl_correctRotation_Left()
167 rfYCorrection = aSize.Width*rtl::math::sin( beta )/2.0; in lcl_correctRotation_Left()
183 rfYCorrection = aSize.Width*rtl::math::sin( fAnglePi )/2.0; in lcl_correctRotation_Right()
188 rfXCorrection = aSize.Width *rtl::math::cos( beta ) in lcl_correctRotation_Right()
[all …]
H A DVLegend.cxx145 …aTextValueMap[ C2U("TextMaximumFrameWidth") ] = uno::makeAny( rReferenceSize.Width ); //needs to b… in lcl_getProperties()
219 aResult.Width = ::std::max( aResult.Width, aCurrSize.Width ); in lcl_createTextShapes()
249 sal_Int32 nWidth = nSymbolPlusDistanceWidth + aTextSize.Width; in lcl_collectColumnWidths()
326 const sal_Int32 nSymbolPlusDistanceWidth = rMaxSymbolExtent.Width + nSymbolToTextDistance; in lcl_placeLegendEntries()
327 sal_Int32 nMaxTextWidth = rAvailableSpace.Width - (2 * nXPadding) - nSymbolPlusDistanceWidth; in lcl_placeLegendEntries()
336 nMaxTextWidth = rAvailableSpace.Width * 3 / 10; in lcl_placeLegendEntries()
345 sal_Int32 nMaxEntryWidth = nXOffset + nSymbolPlusDistanceWidth + aMaxEntryExtent.Width; in lcl_placeLegendEntries()
368 sal_Int32 nNewWidth = aSize.Width + nSymbolPlusDistanceWidth; in lcl_placeLegendEntries()
396 if( nSumWidth <= rAvailableSpace.Width || nCurrentColumnCount==1 ) in lcl_placeLegendEntries()
481 nRemainingSpace = rAvailableSpace.Width - nSumWidth; in lcl_placeLegendEntries()
[all …]
/trunk/main/svtools/source/control/
H A Dscrwin.cxx121 aSz.Width() -= nTmp; in GetOutputSizePixel()
147 Scroll( aDelta.Width(), 0 ); in IMPL_LINK()
154 EndScroll( aDelta.Width(), aDelta.Height() ); in IMPL_LINK()
172 Scroll( aDelta.Width(), 0 ); in IMPL_LINK()
196 if ( aOutPixSz.Width() < aTotPixSz.Width() && !bHVisible ) in Resize()
205 aOutPixSz.Width() -= nScrSize; 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()
226 if ( aPixDelta.Width() || aPixDelta.Height() ) in Resize()
[all …]
/trunk/main/svtools/source/filter/
H A Dexportdialog.cxx232 … String( RTL_CONSTASCII_USTRINGPARAM( "PixelWidth" ) ), static_cast< sal_Int32 >( maSize.Width ) ); in GetFilterData()
234 if ( maResolution.Width && maResolution.Height ) in GetFilterData()
236 const double f100thmmPerPixelX = 100000.0 / maResolution.Width; in GetFilterData()
238 sal_Int32 nLogicalWidth = static_cast< sal_Int32 >( f100thmmPerPixelX * maSize.Width ); in GetFilterData()
249 pFilterOptions->WriteInt32( sLogicalWidth, static_cast< sal_Int32 >( maSize.Width ) ); in GetFilterData()
555 nRawFileSize = ( maSize.Width * nBitsPerPixel + 7 ) &~ 7; // rounding up to 8 bits in GetRawFileSize()
675 maResolution.Width = aResolution.Width(); in ExportDialog()
680 double fPixelsPer100thmm = static_cast< double >( maResolution.Width ) / 100000.0; in ExportDialog()
681 …maSize = awt::Size( static_cast< sal_Int32 >( ( fPixelsPer100thmm * maOriginalSize.Width ) + 0.5 ), in ExportDialog()
744 long nIndent = aBorder.Width(); in createSizeControls()
[all …]
/trunk/main/vcl/source/window/
H A Darrange.cxx191 if( aResult.Width() < m_aMinSize.Width() ) in getOptimalSize()
192 aResult.Width() = m_aMinSize.Width(); in getOptimalSize()
195 aResult.Width() += getBorderValue( m_nLeftBorder ) + getBorderValue( m_nRightBorder ); in getOptimalSize()
209 aSize.Width() -= getBorderValue( m_nLeftBorder ) + getBorderValue( m_nRightBorder ); in setPosSize()
255 m_aManagedArea.setWidth( aArea.Width ); in setProperties()
304 if( aRet.Width() < aElementSize.Width() ) in getOptimalSize()
305 aRet.Width() = aElementSize.Width(); in getOptimalSize()
311 aRet.Width() += nDistance; in getOptimalSize()
315 aRet.Width() += aElementSize.Width(); in getOptimalSize()
320 if( aRet.Width() != 0 || aRet.Height() != 0 ) in getOptimalSize()
[all …]
H A Dtabdlg.cxx65 if ( nTxtWidth > aCtrlSize.Width() ) in ImplPosControls()
66 aCtrlSize.Width() = nTxtWidth; in ImplPosControls()
93 Size aDlgSize( aTabSize.Width() + IMPL_DIALOG_OFFSET*2, in ImplPosControls()
110 nViewWidth = aTabSize.Width(); in ImplPosControls()
119 nViewWidth = aTabSize.Width(); in ImplPosControls()
125 nViewOffX = aTabOffset.X()+aTabSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls()
129 aDlgSize.Width() += aViewSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls()
130 nBtnEx = aViewSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls()
138 aTabOffset.X() += aViewSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls()
139 aDlgSize.Width() += aViewSize.Width()+IMPL_DIALOG_OFFSET; in ImplPosControls()
[all …]
/trunk/main/sw/source/core/text/
H A Dporfld.cxx130 if( !Width() && rInf.OnWin() && !rInf.GetOpt().IsPagePreview() && in GetViewWidth()
134 pThis->nViewWidth = rInf.GetTxtSize( ' ' ).Width(); in GetViewWidth()
343 Width(0); in Format()
344 bFull = rInf.Width() <= rInf.GetPos().X(); in Format()
441 if( Width() && ( !bPlaceHolder || rInf.GetOpt().IsShowPlaceHolderFields() ) ) in Paint()
506 if( Width() ) in Paint()
579 nFixWidth = rInf.IsMulti() ? Height() : Width(); in Format()
625 if( nDiff > rInf.Width() ) in Format()
627 nDiff = rInf.Width(); in Format()
639 else if( Width() < nDiff ) in Format()
[all …]
H A Dportxt.cxx247 const KSHORT nLineWidth = (KSHORT)(rInf.Width() - rInf.X()); in BreakCut()
266 Width( Width() + nItalic ); in BreakCut()
270 Width( rGuess.BreakWidth() ); in BreakCut()
278 Width( nLineWidth ); in BreakCut()
283 Width( 0 ); in BreakCut()
295 Width( 0 ); in BreakUnderflow()
354 Width( aGuess.BreakWidth() ); in _Format()
360 if( nKern > 0 && rInf.Width() < rInf.X() + Width() + nKern ) in _Format()
362 nKern = (short)(rInf.Width() - rInf.X() - Width() - 1); in _Format()
372 Width( aGuess.BreakWidth() ); in _Format()
[all …]
/trunk/main/toolkit/source/awt/
H A Dvclxtabpage.cxx78 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()
100 OSL_TRACE ("%s: cursize: %d ,%d", __FUNCTION__, currentSize.Width, currentSize.Height ); in allocateArea()
101 OSL_TRACE ("%s: area: %d, %d", __FUNCTION__, area.Width, area.Height ); in allocateArea()
102 … OSL_TRACE ("%s: requestedSize: %d, %d", __FUNCTION__, requestedSize.Width, requestedSize.Height ); in allocateArea()
103 OSL_TRACE ("%s: parent: %d, %d", __FUNCTION__, parentSize.Width(), parentSize.Height() ); in allocateArea()
104 OSL_TRACE ("%s: window: %d, %d", __FUNCTION__, windowSize.Width(), windowSize.Height() ); in allocateArea()
[all …]
H A Dvclxtabcontrol.cxx317 setPosSize( area.X, area.Y, area.Width, area.Height, awt::PosSize::POSSIZE ); in allocateArea()
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()
352 OSL_TRACE ("%s: cursize: %d ,%d", __FUNCTION__, currentSize.Width, currentSize.Height ); in allocateArea()
353 OSL_TRACE ("%s: area: %d, %d", __FUNCTION__, area.Width, area.Height ); in allocateArea()
354 OSL_TRACE ("%s: minimum: %d, %d", __FUNCTION__, minimumSize.Width, minimumSize.Height ); in allocateArea()
[all …]
/trunk/main/svtools/source/graphic/
H A Dgrfmgr.cxx367 nTotalWidth = aSize100.Width() - pAttr->GetLeftCrop() - pAttr->GetRightCrop(); in ImplGetCropParams()
370 if( aSize100.Width() > 0 && aSize100.Height() > 0 && nTotalWidth > 0 && nTotalHeight > 0 ) in ImplGetCropParams()
372 fScale = (double) aSize100.Width() / nTotalWidth; in ImplGetCropParams()
374 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
376 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
378 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams()
701 if( aSz.Width() < 0L ) in Draw()
703 aPt.X() += aSz.Width() + 1; in Draw()
704 aSz.Width() = -aSz.Width(); in Draw()
779 rSz.Width() > 0L && in DrawWithPDFHandling()
[all …]
/trunk/main/vcl/source/gdi/
H A Dpngread.cxx462 … maPhysSize.Width() = (sal_Int32)( (100000.0 * maOrigSize.Width()) / nXPixelPerMeter ); in GetBitmapEx()
503 if ( mbpHYs && maPhysSize.Width() && maPhysSize.Height() ) in GetBitmapEx()
526 maOrigSize.Width() = ImplReadsal_uInt32(); in ImplReadHeader()
529 if ( !maOrigSize.Width() || !maOrigSize.Height() ) in ImplReadHeader()
560 …sal_uInt64 nScansize64 = ( ( static_cast< sal_uInt64 >( maOrigSize.Width() ) * mnPngDepth ) + 7 ) … in ImplReadHeader()
659 mnBPP = static_cast< sal_uInt32 >( nScansize64 / maOrigSize.Width() ); in ImplReadHeader()
679 if( rPreviewSizeHint.Width() || rPreviewSizeHint.Height() ) in ImplReadHeader()
681 Size aPreviewSize( rPreviewSizeHint.Width(), rPreviewSizeHint.Height() ); in ImplReadHeader()
684 if( aPreviewSize.Width() == 0 ) { in ImplReadHeader()
685 … aPreviewSize.setWidth( ( maOrigSize.Width()*aPreviewSize.Height() )/maOrigSize.Height() ); in ImplReadHeader()
[all …]
/trunk/main/migrationanalysis/src/wizard/
H A DWizard.frm49 Width = 8235
63 Width = 2565
72 Width = 30
86 Width = 2355
102 Width = 1980
115 Width = 2140
142 Width = 2140
155 Width = 2140
168 Width = 2140
188 Width = 2115
[all …]
/trunk/main/svx/source/dialog/
H A Dparaprev.cxx58 aWinSize.Width() -= aTmp.Width() /2; in SvxParaPrevWindow()
90 Size aLineSiz( aWinSize.Width() - DEF_MARGIN, nH ), in DrawParagraph()
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()
150 case 3: nLW = aLineSiz.Width() * 8 / 10; break; in DrawParagraph()
151 case 4: nLW = aLineSiz.Width() * 9 / 10; break; in DrawParagraph()
[all …]
/trunk/main/sd/source/ui/dlg/
H A Danimobjs.cxx110 aBmpSize.Width() = (long) ( (double) aBmpSize.Width() * (double) aScale ); in Paint()
113 if( aBmpSize.Width() < aSize.Width() ) in Paint()
114 aPt.X() = ( aSize.Width() - aBmpSize.Width() ) / 2; in Paint()
725 aBmpSize.Width() = 0; in GetScale()
731 aBmpSize.Width() = Max( aBmpSize.Width(), aTempSize.Width() ); in GetScale()
735 aBmpSize.Width() += 10; in GetScale()
738 aFrac = Fraction( std::min( (double)aDisplaySize.Width() / (double)aBmpSize.Width(), in GetScale()
757 aDiffSize.Width() = aWinSize.Width() - aSize.Width(); in Resize()
761 aDisplaySize.Width() += aDiffSize.Width(); in Resize()
1062 …const Point aWindowCenter( pOutWin->PixelToLogic( Point( aTemp.Width() >> 1, aTemp.Height(… in CreateAnimObj()
[all …]
/trunk/main/vcl/source/control/
H A Dbutton.cxx393 aImageSize.Width() = CalcZoom( aImageSize.Width() ); in ImplDrawAlignedImage()
463 aTSSize.Width() = 3 * nSymbolHeight / 2; in ImplDrawAlignedImage()
469 aTSSize.Width() = aSymbol.GetWidth(); in ImplDrawAlignedImage()
484 aRect.Right() -= ( aImageSize.Width() + nImageSep ); in ImplDrawAlignedImage()
499 aTSSize.Width() += aTextSize.Width(); in ImplDrawAlignedImage()
512 aMax.Width() = aTSSize.Width() > aImageSize.Width() ? aTSSize.Width() : aImageSize.Width(); in ImplDrawAlignedImage()
532 aImagePos.X() = rPos.X() + ( aMax.Width() - aImageSize.Width() ) / 2; in ImplDrawAlignedImage()
533 aTextPos.X() = rPos.X() + ( aMax.Width() - aTSSize.Width() ) / 2; in ImplDrawAlignedImage()
538 aImagePos.X() = rPos.X() + aMax.Width() - aImageSize.Width(); in ImplDrawAlignedImage()
539 aTextPos.X() = rPos.X() + aMax.Width() - aTSSize.Width(); in ImplDrawAlignedImage()
[all …]
/trunk/main/svtools/source/brwbox/
H A Dbrwbox2.cxx208 … pHeaderBar->SetItemSize( pCols->GetObject(nPos)->GetId(), pCols->GetObject(nPos)->Width() ); in StateChanged()
228 … Invalidate(Rectangle(Point(0, 0), Size(GetOutputSizePixel().Width(), GetTitleHeight() - 1))); in StateChanged()
351 long nOfsX = (!pFirstCol || pFirstCol->GetId()) ? 0 : pFirstCol->Width(); in ToggleSelection()
367 Size( pDataWin->GetSizePixel().Width(), GetDataRowHeight() ) ); in ToggleSelection()
444 pCols->GetObject(0)->Width() : 0, in DrawCursor()
446 Size( pDataWin->GetOutputSizePixel().Width() + 1, in DrawCursor()
487 return pCols->GetObject(nItemPos)->Width(); in GetColumnWidth()
628 long nDataWidth = GetOutputSizePixel().Width(); in Resize()
649 aInvalidArea.Right() = GetOutputSizePixel().Width(); in Resize()
659 long nOfsX = pFirstCol->GetId() ? 0 : pFirstCol->Width(); in Resize()
[all …]
/trunk/main/reportdesign/source/ui/dlg/
H A DCondition.cxx90 const Size aButtonSize( LogicToPixel( Size( 12, 0 ), MAP_APPFONT ).Width(),aSize.Height()); in Resize()
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()
473 aBorderRect.Left() -= aRelatedControls.Width(); in impl_getToolBarBorderRect()
475 aBorderRect.Right() += aRelatedControls.Width(); in impl_getToolBarBorderRect()
486 if ( aSize.Width() == m_nLastKnownWindowWidth ) in impl_layoutAll()
489 m_nLastKnownWindowWidth = aSize.Width(); in impl_layoutAll()
[all …]
/trunk/main/sdext/source/presenter/
H A DPresenterUIPainter.cxx83 ::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()
118 rBoundingBox.X + aLeftBitmapSize.Width, in PaintHorizontalBitmapComposite()
120 rBoundingBox.Width - aLeftBitmapSize.Width - aRightBitmapSize.Width, in PaintHorizontalBitmapComposite()
122 if (aCenterBoundingBox.Width > 0) in PaintHorizontalBitmapComposite()
129 const sal_Int32 nRight (aCenterBoundingBox.X + aCenterBoundingBox.Width - 1); in PaintHorizontalBitmapComposite()
136 nX += aCenterBitmapSize.Width; in PaintHorizontalBitmapComposite()
188 rBoundingBox.Width, in PaintVerticalBitmapComposite()
[all …]
/trunk/main/sc/source/ui/formdlg/
H A Ddwfunctr.cxx158 nMinWidth=aTxtSize.Width()+aTopLeft.X() in ScFunctionDockWin()
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()
433 if((sal_uLong)aNewSize.Width()<nMinWidth) aNewSize.Width()=nMinWidth; in SetMyWidthLeRi()
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()
[all …]
/trunk/main/sd/source/core/
H A Dsdpage.cxx130 if (aPageSize.Width() > aPageSize.Height()) in SdPage()
418 aTempAttr.Put( SdrTextMinFrameWidthItem( rRect.GetSize().Width() ) ); in CreatePresObj()
883 aPageSize.Width() -= nLftBorder + GetRgtBorder(); in CreateDefaultPresObj()
887 const int W1 = long(aPageSize.Width() * 0.233); in CreateDefaultPresObj()
888 const int W2 = long(aPageSize.Width() * 0.317); in CreateDefaultPresObj()
893 Point aPos( long(nLftBorder+(aPageSize.Width()*0.05)), Y ); in CreateDefaultPresObj()
900 Point aPos( long(nLftBorder+ aPageSize.Width() * 0.342), Y ); in CreateDefaultPresObj()
907 Point aPos( long(nLftBorder+(aPageSize.Width()*0.717)), Y ); in CreateDefaultPresObj()
923 aPageSize.Width() -= GetLftBorder() + GetRgtBorder(); in CreateDefaultPresObj()
927 const int NOTES_HEADER_FOOTER_WIDTH = long(aPageSize.Width() * 0.434); in CreateDefaultPresObj()
[all …]
/trunk/main/sc/source/ui/drawfunc/
H A Dfuins1.cxx102 if ( !rPage.Width() || !rPage.Height() ) in ScLimitSizeOnDrawPage()
106 sal_Bool bNegative = aPageSize.Width() < 0; in ScLimitSizeOnDrawPage()
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()
[all …]
/trunk/main/sd/source/ui/view/
H A Dsdwindow.cxx157 sal_uLong nX = (sal_uLong) ((double) aWinSize.Width() in CalcMinZoom()
158 * (double) ZOOM_MULTIPLICATOR / (double) maViewSize.Width()); in CalcMinZoom()
426 long nW = aSize.Width() * GetZoom() / nZoom; in SetZoomIntegral()
428 maWinPos.X() += (aSize.Width() - nW) / 2; in SetZoomIntegral()
460 nY = (sal_uLong) ((double) aWinSize.Width() in GetZoomForRect()
533 nY = (sal_uLong) ((double) aWinSize.Width() in SetZoomRect()
560 …aWinSize.Width() = (long) ((double) aWinSize.Width() * (double) ZOOM_MULTIPLICATOR / (double) nFac… in SetZoomRect()
561 maWinPos.X() += (rZoomRect.GetWidth() - aWinSize.Width()) / 2; in SetZoomRect()
594 if ( maWinPos.X() > maViewSize.Width() - aWinSize.Width() ) in UpdateMapOrigin()
596 maWinPos.X() = maViewSize.Width() - aWinSize.Width(); in UpdateMapOrigin()
[all …]
/trunk/main/sc/source/ui/miscdlgs/
H A Dtabbgcolordlg.cxx129 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()

12345678910>>...67