/trunk/main/sw/source/core/objectpositioning/ |
H A D | tocntntanchoredobjectposition.cxx | 215 !GetAnchoredObj().GetLastCharRect().Width() ) || in CalcPosition() 226 !GetAnchoredObj().GetLastCharRect().Width() ) || in CalcPosition() 759 aObjBoundRect.Width() ); in CalcPosition() 870 aObjBoundRect.Width() ); in CalcPosition() 962 aObjBoundRect.Width() ); in CalcPosition() 1027 aRelPos.X() - aObjBoundRect.Width() ); in CalcPosition() 1088 aRelPos.X() - aObjBoundRect.Width() ); in CalcPosition()
|
/trunk/main/svtools/source/control/ |
H A D | filectrl.cxx | 158 ( nButtonTextWidth < aOutSz.Width()/3 && in Resize() 161 <= aOutSz.Width() - nButtonTextWidth - ButtonBorder ) in Resize() 175 maEdit.SetPosSizePixel( 0, 0, aOutSz.Width()-nButtonWidth, aOutSz.Height() ); in Resize() 176 maButton.SetPosSizePixel( aOutSz.Width()-nButtonWidth, 0, nButtonWidth, aOutSz.Height() ); in Resize()
|
H A D | hyperlabel.cxx | 99 return rLogicLocSize.Width(); in GetLogicWidth() 109 m_pImpl->m_aMinSize.Width() += 1; in CalcMinimumSize() 147 if (aPoint.X() < m_pImpl->m_aMinSize.Width()) in MouseMove() 191 Rectangle rRect(aPoint, Size( m_pImpl->m_aMinSize.Width(), GetSizePixel().Height() ) ); in GetFocus()
|
H A D | ruler.cxx | 306 aDefSize.Width() = nDefHeight; in ImplInit() 479 nTickWidth = aPixSize.Width(); in ImplDrawTicks() 531 nTickWidth = aPixSize.Width(); in ImplDrawTicks() 570 n = aPixSize.Width(); in ImplDrawTicks() 1273 aVirDevSize.Width() = mnVirWidth; in ImplFormat() 1279 aVirDevSize.Width() = mnVirHeight; in ImplFormat() 1480 aVirDevSize.Width() -= maExtraRect.GetWidth(); in ImplDraw() 2394 if ( aWinSize.Width() != mnWidth ) in Resize() 2395 nNewHeight = aWinSize.Width(); in Resize() 2455 if ( mnWidth < aWinSize.Width() ) in Resize() [all …]
|
/trunk/main/wizards/com/sun/star/wizards/ui/ |
H A D | PathSelection.java | 71 …public void insert(int DialogStep, int XPos, int YPos, int Width, short CurTabIndex, String LabelT… in insert() argument 79 …teger(XPos), new Integer(YPos), new Integer(DialogStep), new Short(CurTabIndex), new Integer(Width) in insert() 87 …(YPos + 10), new Integer(DialogStep), new Short((short) (CurTabIndex + 1)), new Integer(Width - 26) in insert() 96 …Boolean.valueOf(Enabled), 14, BtnHelpURL, "...", new Integer(XPos + Width - 16), new Integer(YPos … in insert()
|
/trunk/main/svtools/source/toolpanel/ |
H A D | tablayouter.cxx | 175 Size aTabBarSize = ( aPreferredSize.Width() < i_rDeckPlayground.GetWidth() ) in Layout() 183 aPanelRect.Right() -= aTabBarSize.Width(); in Layout() 191 aPanelRect.Left() += aTabBarSize.Width(); in Layout() 202 aTabBarSize.Width() = i_rDeckPlayground.GetWidth(); in Layout()
|
/trunk/main/accessibility/workben/org/openoffice/accessibility/awb/view/ |
H A D | ComponentView.java | 107 aSize.Width + ", " + aSize.Height); in Update() 111 + aBBox.Width + ", " + aBBox.Height); in Update() 130 if (aBBox.Width!=aSize.Width || aBBox.Height!=aSize.Height) in Update()
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit2.cxx | 777 Size( aPaperSize.Width(), nCurTextHeight ) ); in SetText() 3292 nWidth += pTextPortion->GetSize().Width(); in CalcLineWidth() 3299 nWidth += pTextPortion->GetSize().Width(); in CalcLineWidth() 4102 nX += pPortion->GetSize().Width(); in GetPortionXOffset() 4170 nX = GetPaperSize().Width() - nX; in GetPortionXOffset() 4171 nX -= pDestPortion->GetSize().Width(); in GetPortionXOffset() 4200 long nPortionTextWidth = pPortion->GetSize().Width(); in GetXPos() 4500 if ( aPaperSize.Width() < nMinWidth ) in SetValidPaperSize() 4501 aPaperSize.Width() = nMinWidth; in SetValidPaperSize() 4502 else if ( aPaperSize.Width() > nMaxWidth ) in SetValidPaperSize() [all …]
|
/trunk/main/xmloff/source/draw/ |
H A D | ximpshap.cxx | 544 if(maSize.Width != 1 || maSize.Height != 1) in SetTransformation() 547 if(0 == maSize.Width) in SetTransformation() 548 maSize.Width = 1; in SetTransformation() 870 if( maSize.Width > 0 ) in processAttribute() 871 maSize.Width += 1; in processAttribute() 872 else if( maSize.Width < 0 ) in processAttribute() 873 maSize.Width -= 1; in processAttribute() 1301 maSize.Width = 2 * mnRX; in StartElement() 3024 if ( maSize.Width && maSize.Height ) in EndElement() 3232 if ( maSize.Width && maSize.Height ) in EndElement() [all …]
|
/trunk/main/svx/source/xoutdev/ |
H A D | _xoutbmp.cxx | 82 aAnimBmp.aPosPix.X() = rGlobalSize.Width() - aAnimBmp.aPosPix.X() - in MirrorAnimation() 83 aAnimBmp.aSizePix.Width(); in MirrorAnimation() 386 if( ( aSize.Width() > 2L ) && ( aSize.Height() > 2L ) ) in DetectEdges() 398 const long nWidth = aSize.Width(); in DetectEdges() 493 const long nWidth = pAcc->Width(); in GetCountour() 495 const double fFactorX = (double) rPrefSize.Width() / nWidth; in GetCountour()
|
/trunk/main/extensions/source/scanner/ |
H A D | grid.cxx | 84 m_aGridArea.setWidth( aSize.Width() - aBtnSize.Width() - 80 ); in GridWindow() 97 m_BmOffX = sal_uInt16(m_aMarkerBitmap.GetSizePixel().Width() >> 1); in GridWindow() 350 aPt.X() -= aTextSize.Width()/2; in drawGrid() 363 aPt.X() -= aTextSize.Width() + 2; in drawGrid() 520 m_BmOffX = sal_uInt16(m_aMarkerBitmap.GetSizePixel().Width() >> 1); in MouseButtonDown()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewtab.cxx | 293 const long nPageWidth = bBrowse ? rPageRect.Width() : rFrmSize.GetWidth(); in ExecTabWin() 351 long nPrtWidth = aRect.Width(); in ExecTabWin() 425 … ::ResizeFrameCols(aCols, aSectRect.Width(), aSectRect.Width() - nDiffWidth, nLeftDiff ); in ExecTabWin() 918 const long lWidth = bVerticalWriting ? aCurRect.Height() : aCurRect.Width(); in ExecTabWin() 943 sal_uInt16(bVerticalWriting ? aPrtRect.Height() : aPrtRect.Width()), in ExecTabWin() 1051 const long nPageWidth = rPageRect.Width(); in StateTabWin() 1168 if( aRect.Width() ) in StateTabWin() 1686 sal_uInt16(bVerticalWriting ? aPrtRect.Height() : aPrtRect.Width() ), in StateTabWin() 1854 const sal_uInt16 nTotalWidth = (sal_uInt16)aRect.Width(); in StateTabWin() 1856 const sal_uInt16 nOuterWidth = (sal_uInt16)aAbsRect.Width(); in StateTabWin() [all …]
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | ReportSection.cxx | 241 …m_pPage->SetSize( Size( getStyleProperty<awt::Size>(xReportDefinition,PROPERTY_PAPERSIZE).Width,5*… in fill() 243 …m_pView->SetWorkArea( Rectangle( Point( nLeftMargin, 0), Size(aPageSize.Width() - nLeftMargin - nR… in fill() 534 …t sal_Int32 nPaperWidth = getStyleProperty<awt::Size>(xReportDefinition,PROPERTY_PAPERSIZE).Width; in _propertyChanged() 546 if ( aOldPageSize.Height() != nNewHeight || nPaperWidth != aOldPageSize.Width() ) in _propertyChanged() 550 …m_pView->SetWorkArea( Rectangle( Point( nLeftMargin, 0), Size(aPageSize.Width() - nLeftMargin - nR… in _propertyChanged() 580 if ( (aPos.X + aSize.Width) > nRightBorder ) in impl_adjustObjectSizePosition() 582 aPos.X = nRightBorder - aSize.Width; in impl_adjustObjectSizePosition() 585 aSize.Width += aPos.X - i_nLeftMargin; in impl_adjustObjectSizePosition()
|
/trunk/main/vcl/source/control/ |
H A D | imgctrl.cxx | 76 const double nRatioX = 1.0 * aPaintSize.Width() / _rBitmapSize.Width(); in lcl_calcPaintSize() 80 …return Size( long( _rBitmapSize.Width() * nRatioMin ), long( _rBitmapSize.Height() * nRatioMin ) ); in lcl_calcPaintSize() 86 aPos.X() += ( _rArea.GetWidth() - _rObjectSize.Width() ) / 2; in lcl_centerWithin()
|
/trunk/main/filter/source/graphicfilter/egif/ |
H A D | egif.cxx | 306 const sal_uInt16 nWidth = (sal_uInt16) rSize.Width(); in WriteGlobalHeader() 367 if( rSize100.Width() && rSize100.Height() ) in WriteLogSizeExtension() 375 *pGIF << (sal_uInt32) rSize100.Width(); in WriteLogSizeExtension() 421 const sal_uInt16 nWidth = (sal_uInt16) pAcc->Width(); in WriteLocalHeader() 477 const long nWidth = pAcc->Width(); in WriteAccess()
|
/trunk/main/starmath/source/ |
H A D | unomodel.cxx | 1011 aRes.Width() = aInfo.getWidth(); in lcl_GuessPaperSize() 1018 aRes.Width() = aInfo.getWidth(); in lcl_GuessPaperSize() 1046 if (aPrtPaperSize.Height() == 0 || aPrtPaperSize.Width() == 0) in getRenderer() 1048 awt::Size aPageSize( aPrtPaperSize.Width(), aPrtPaperSize.Height() ); in getRenderer() 1118 if (aPrtPaperSize.Height() == 0 || aPrtPaperSize.Width() == 0) in render() 1122 aOutputSize = Size( (long)(aPrtPaperSize.Width() * 0.941), in render() 1124 aPrtPageOffset = Point( (long)(aPrtPaperSize.Width() * 0.0250), in render() 1141 if ((aPrtPaperSize.Width() - (aPrtPageOffset.X() + OutputRect.Right())) < 1500) in render() 1142 OutputRect.Right() -= 1500 - (aPrtPaperSize.Width() - in render()
|
/trunk/main/filter/source/msfilter/ |
H A D | eschesdo.cxx | 104 if ( !aRetSize.Width() ) in ImplMapSize() 105 aRetSize.Width()++; in ImplMapSize() 239 …Rectangle aRect100thmm( Point( aPoint100thmm.X, aPoint100thmm.Y ), Size( aSize100thmm.Width, aSize… in ImplWriteShape() 297 nRadius = ImplMapSize( Size( nRadius, 0 )).Width(); in ImplWriteShape() 408 ImplMapSize( Size( aNewRect.Width, aNewRect.Height ) ) ) ); in ImplWriteShape() 428 ImplMapSize( Size( aNewRect.Width, aNewRect.Height ) ) ) ); in ImplWriteShape() 528 if( aNewRect.Width < 0 ) in ImplWriteShape() 774 …Rectangle aRect100thmm( Point( aPoint100thmm.X, aPoint100thmm.Y ), Size( aSize100thmm.Width, aSize… in ImplWriteAdditionalText() 1291 const Size aOldS(mXShape->getSize().Width, mXShape->getSize().Height); in Init()
|
/trunk/main/filter/source/pdf/ |
H A D | pdfexport.cxx | 219 const Size aMtfSize( aPageSize.Width, aPageSize.Height ); in ExportSelection() 243 ( !mbSkipEmptyPages || aPageSize.Width || aPageSize.Height ) ) in ExportSelection() 1022 rWriter.NewPage( aSizePDF.Width(), aSizePDF.Height() ); in ImplExportPage() 1065 long nTextWidth = rPageSize.Width(); in ImplWriteWatermark() 1066 if( rPageSize.Width() < rPageSize.Height() ) in ImplWriteWatermark() 1107 if( rPageSize.Width() > rPageSize.Height() ) in ImplWriteWatermark() 1109 aTextPoint = Point( (rPageSize.Width()-w)/2, in ImplWriteWatermark() 1111 aTextRect = Rectangle( Point( (rPageSize.Width()-w)/2, in ImplWriteWatermark() 1117 aTextPoint = Point( (rPageSize.Width()-nTextHeight)/2, in ImplWriteWatermark()
|
/trunk/main/sw/source/ui/shells/ |
H A D | textsh.cxx | 416 uno::makeAny( sal_Int32( aMargin.Width() ) ) ); in TYPEINIT1() 478 if(aSize.Width() > MINLAY&& aSize.Height()> MINLAY) in TYPEINIT1() 481 aSz.Width = aSize.Width(); in TYPEINIT1() 521 Point aStartPos(aWinSize.Width()/2, aWinSize.Height() / 2); in TYPEINIT1() 567 aSize.Width() = GetShell().GetAnyCurRect(RECT_PAGE_PRT).Width(); in TYPEINIT1() 621 SwFmtFrmSize aFrmSize(ATT_VAR_SIZE, rPg.Width(), rPg.Height()); in TYPEINIT1() 626 SwFmtFrmSize aPrtSize(ATT_VAR_SIZE, rPr.Width(), rPr.Height()); in TYPEINIT1()
|
/trunk/main/embeddedobj/test/Container1/ |
H A D | EmbedContApp.java | 408 (int)( aBitmapSize.Width * m_nXScaling ), in getPosRect() 410 return new com.sun.star.awt.Rectangle( 10, 10, aVisSize.Width, aVisSize.Height ); in getPosRect() 429 (int)( aBitmapSize.Width * m_nXScaling ), in getClipRect() 431 return new com.sun.star.awt.Rectangle( 10, 10, aVisSize.Width, aVisSize.Height ); in getClipRect() 874 m_nXPixelSize = aVisSize.Width / aBitmapSize.Width; in createVclWindow() 884 …System.out.println( "The visual area is Width = " + aBitmapSize.Width + "; Height = " + aBitmapSiz… in createVclWindow() 889 Math.min( (int)aBounds.getWidth() - 20, aBitmapSize.Width ), in createVclWindow() 944 (int)( aBitmapSize.Width * m_nXScaling ), in generateNewImage()
|
/trunk/main/tools/inc/tools/ |
H A D | gen.hxx | 248 long Width() const { return nA; } in Width() function in Size 251 long& Width() { return nA; } in Width() function in Size 254 long getWidth() const { return Width(); } in getWidth() 256 void setWidth(long nWidth) { Width() = nWidth; } in setWidth() 496 nRight = rSize.Width() ? nLeft+rSize.Width()-1 : RECT_EMPTY; in Rectangle()
|
/trunk/main/avmedia/source/gstreamer/ |
H A D | gstplayer.cxx | 502 aSize.Width = g_atomic_int_get( &mnVideoWidth ); in getPreferredPlayerWindowSize() 506 if( ( aSize.Width <= 0 ) || ( aSize.Height <= 0 ) ) in getPreferredPlayerWindowSize() 508 aSize.Width = VIDEO_DEFAULT_WIDTH; in getPreferredPlayerWindowSize() 513 OSL_TRACE( ">>> Requested preferred video size is: %d x %d pixel", aSize.Width, aSize.Height ); in getPreferredPlayerWindowSize() 529 if( ( aSize.Width > 0 ) && ( aSize.Height > 0 ) ) in createPlayerWindow() 576 if( ( aPrefSize.Width > 0 ) && ( aPrefSize.Height > 0 ) ) in createFrameGrabber()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdfmtf.cxx | 235 if(aMtfSize.Width() & aMtfSize.Height() && (!maScaleRect.IsEmpty())) in DoImport() 239 if(aMtfSize.Width() != (maScaleRect.GetWidth() - 1)) in DoImport() 241 mfScaleX = (double)( maScaleRect.GetWidth() - 1 ) / (double)aMtfSize.Width(); in DoImport() 255 if(aMtfSize.Width() != (maScaleRect.GetWidth() - 1)) in DoImport() 257 maScaleX = Fraction(maScaleRect.GetWidth() - 1, aMtfSize.Width()); in DoImport() 591 …const double fScaleX(aBitmapEx.GetSizePixel().Width() / (aOldRange.getWidth() ? aOldRange.getWidth… in InsertObj() 605 … basegfx::fround(ceil(std::min((double)aOrigSizePixel.Width(), aPixel.getWidth()))), in InsertObj() 1652 … for(sal_uInt32 x(0); x < static_cast< sal_uInt32 >(pOld->Width()); x++) in DoAction() 1667 … if(pOld->Width() == pNew->Width() && pOld->Height() == pNew->Height()) in DoAction() 1671 … for(sal_uInt32 x(0); x < static_cast< sal_uInt32 >(pOld->Width()); x++) in DoAction()
|
/trunk/main/sw/source/core/text/ |
H A D | frmcrsr.cxx | 246 aPnt2.X() = aPnt1.X() + pFrm->Prt().Width(); in GetCharRect() 269 pCMS->aRealHeight.Y() = bVert ? -rOrig.Width() : rOrig.Height(); in GetCharRect() 337 pCMS->aRealHeight.X() = ( rOrig.Width() - in GetCharRect() 411 aPnt2.X() = aPnt1.X() + pFrm->Prt().Width(); in GetAutoPos() 652 pFillData->nLineWidth = aLine.GetCurr()->Width(); in _GetCrsrOfst() 883 aCharBox.SSize().Width() /= 2; in _UnitUp() 910 aCharBox.SSize().Width() /= 2; in _UnitUp() 1252 aCharBox.SSize().Width() /= 2; in _UnitDown() 1296 aCharBox.SSize().Width() /= 2; in _UnitDown() 1544 nSpace = pFnt->_GetTxtSize( aDrawInf ).Width()/2; in FillCrsrPos() [all …]
|
/trunk/main/cui/source/options/ |
H A D | treeopt.cxx | 1230 Point aPagePos( aGBPos.X() + ( aGBSize.Width() - aPageSize.Width() ) / 2, in IMPL_LINK() 1258 aSize.Width() = aSize.Width() - 4; in IMPL_LINK() 1340 if(aTitlePos.X() <= (aImgPos.X() + aImgSize.Width() + nCtrlDist)) in IMPL_LINK() 1356 aHelpSize.Width() -= nXDiff; in IMPL_LINK() 1390 aSize.Width() = aSize.Width() - 4; in IMPL_LINK() 2200 const long nMax = aHiddenGB.GetSizePixel().Width() * 42 / 100; in ResizeTreeLB() 2204 const long nIndent0 = PixelToLogic( Size( 28, 0 ) ).Width(); in ResizeTreeLB() 2205 const long nIndent1 = PixelToLogic( Size( 52, 0 ) ).Width(); in ResizeTreeLB() 2222 nDelta = LogicToPixel( Size( nDelta + 3, 0 ) ).Width(); // + extra space [logic] in ResizeTreeLB() 2230 aSize.Width() += nDelta; in ResizeTreeLB() [all …]
|