/trunk/main/toolkit/qa/complex/toolkit/ |
H A D | UnitConversion.java | 79 System.out.println("Height:" + aSizeIn.Height + " " + _sEinheit); in checkSize() 126 com.sun.star.awt.Size aSize = new com.sun.star.awt.Size(aRect.Width, aRect.Height); in testXUnitConversion() 132 System.out.println("Height:" + aSize.Height); in testXUnitConversion() 135 …assertTrue("Window pos size wrong", aSize.Width == width && aSize.Height == height && aPoint.X == … in testXUnitConversion() 161 System.out.println("Height:" + aSizeInMM_100TH.Height + " 1/100mm"); in testXUnitConversion() 169 System.out.println("Height:" + aSizeInMM_10TH.Height + " 1/10mm"); in testXUnitConversion() 174 …assertTrue("Size.Height not correct", delta(aSizeInMM_100TH.Height, aSizeInMM_10TH.Height * 10) < … in testXUnitConversion() 207 System.out.println("Height:" + aNewSize.Height + " pixel"); in testXUnitConversion() 210 …from pixel to 1/100mm to pixel", aSize.Width == aNewSize.Width && aSize.Height == aNewSize.Height); in testXUnitConversion()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | StartMarker.cxx | 104 return LogicToPixel(Size(0,m_aText.GetTextHeight())).Height() + (long)aExtraWidth; in getMinHeight() 124 SetClipRegion(Region(PixelToLogic(Rectangle(Point(),Size(nSize,aSize.Height()))))); in Paint() 143 aGradient.SetSteps(static_cast<sal_uInt16>(aSize.Height())); in Paint() 151 … Size(aSize.Width() - nCornerWidth - nCornerWidth,aSize.Height() - nCornerHeight - nCornerHeight)); in Paint() 175 if( aPos.X() > aOutputSize.Width() || aPos.Y() > aOutputSize.Height() ) in MouseButtonUp() 240 const long nOutputHeight = aOutputSize.Height(); in Resize() 249 aImageSize.Height() = long(aImageSize.Height() * (double)rMapMode.GetScaleY()); in Resize() 255 …:max<sal_Int32>(nOutputHeight - 2*aPos.Y(),LogicToPixel(Size(0,m_aText.GetTextHeight())).Height()); in Resize() 259 …ast<sal_Int32>((LogicToPixel(Size(0,m_aText.GetTextHeight())).Height() - aImageSize.Height()) * 0.… in Resize()
|
H A D | ScrollHelper.cxx | 109 m_aTotalPixelSize.Height() = _nHeight; in setTotalSize() 115 m_aVScroll.SetRangeMax( m_aTotalPixelSize.Height() ); in setTotalSize() 124 if ( aOutPixSz.Width() == 0 || aOutPixSz.Height() == 0 ) in ResizeScrollBars() 127 aOutPixSz.Height() -= m_aReportWindow.getRulerHeight(); in ResizeScrollBars() 141 aOutPixSz.Height() -= nScrSize; in ResizeScrollBars() 146 if ( aOutPixSz.Height() < m_aTotalPixelSize.Height() && !bVVisible ) in ResizeScrollBars() 156 aOutPixSz.Height() += m_aReportWindow.getRulerHeight(); in ResizeScrollBars() 165 …m_aCornerWin.SetPosSizePixel(Point(aOutPixSz.Width(), aOutPixSz.Height()), Size(nScrSize, nScrSize… in ResizeScrollBars() 176 …lcl_setScrollBar(nNewWidth,Point( (long)aStartWidth + aOffset.X(), aOutPixSz.Height() ),Size( nNew… in ResizeScrollBars() 179 const sal_Int32 nNewHeight = aOutPixSz.Height() - m_aReportWindow.getRulerHeight(); in ResizeScrollBars()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterToolBar.cxx | 899 aTotalSize.Height = ::std::max(aTotalSize.Height, aSize.Height); in Layout() 932 double nY ((aWindowBox.Height - aTotalSize.Height) / 2); in Layout() 938 maBoundingBox.Y2 = nY + aTotalSize.Height; in Layout() 985 if (aBSize.Height > aTotalSize.Height) in CalculatePartSize() 986 aTotalSize.Height = aBSize.Height; in CalculatePartSize() 990 aTotalSize.Height += aBSize.Height; in CalculatePartSize() 1052 nY += aElementSize.Height + nGap; in LayoutPart() 1507 else if (maLocation.Y >= rBox.Y+rBox.Height) in IsOutside() 1790 aSize.Height+ nGap + nTextHeight); in CreateBoundingSize() 1813 + (maSize.Height - nTextHeight - xBitmap->getSize().Height) / 2); in PaintIcon() [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | querycontainerwindow.cxx | 142 if ( aSplitPos.Y() + aSplitSize.Height() > aPlayground.GetHeight() ) in resizeAll() 143 aSplitPos.Y() = aPlayground.GetHeight() - aSplitSize.Height(); in resizeAll() 154 aPlayground.Top() = aSplitPos.Y() + aSplitSize.Height(); in resizeAll() 259 Size aBeamer(aSize.Width(),sal_Int32(aSize.Height()*0.33)); in showPreview() 261 const long nFrameHeight = LogicToPixel( Size( 0, 3 ), MAP_APPFONT ).Height(); in showPreview() 262 Point aPos(0,aBeamer.Height()+nFrameHeight); in showPreview() 267 m_pSplitter->SetPosSizePixel( Point(0,aBeamer.Height()), Size(aSize.Width(),nFrameHeight) ); in showPreview() 269 m_pSplitter->SetSplitPosPixel( aBeamer.Height() ); in showPreview() 270 …m_pViewSwitch->SetPosSizePixel(aPos,Size(aBeamer.Width(),aSize.Height() - aBeamer.Height()-nFrameH… in showPreview()
|
H A D | TableWindow.cxx | 177 if( aOutSize.Height() < TABWIN_HEIGHT_MIN ) in SetSizePixel() 178 aOutSize.Height() = TABWIN_HEIGHT_MIN; in SetSizePixel() 390 if( _rPos.Y() > _rOutputSize.Height() ) in getSizingRect() 391 aSizingRect.Bottom() = _rOutputSize.Height(); in getSizingRect() 431 if( _rPos.Y() > aOutSize.Height()-TABWIN_SIZING_AREA ) in setSizingFlag() 511 if ( nTitleHeight < aImageSize.Height() ) in Resize() 512 nTitleHeight = aImageSize.Height(); in Resize() 683 aStartPoint.Y() = GetSizePixel().Height(); in PreNotify() 714 && ((ptOld.Y() + aNewSize.Height()) <= aSize.Height()) ) in PreNotify() 718 if ( aNewSize.Height() < TABWIN_HEIGHT_MIN ) in PreNotify() [all …]
|
/trunk/main/svtools/source/control/ |
H A D | valueset.cxx | 311 aPos.Y() += (aRectSize.Height()-aImageSize.Height())/2; in ImplFormatItem() 318 (aImageSize.Height() > aRectSize.Height()) ) in ImplFormatItem() 397 aWinSize.Height() -= nTxtHeight+NAME_OFFSET; in Format() 1064 aTempSize.Height() = aScrSize.Height(); in ImplDraw() 1068 aTempSize.Height() = aSize.Height()-aTempPos.Y(); in ImplDraw() 2634 aSize.Height() += n*nCalcLines; in CalcWindowSizePixel() 2657 aSize.Height() += nTxtHeight + n + nSpace; in CalcWindowSizePixel() 2659 aSize.Height() += 8; in CalcWindowSizePixel() 2687 aSize.Height() += n; in CalcItemSizePixel() 2692 aSize.Height() -= n; in CalcItemSizePixel() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | pngread.cxx | 465 … maPhysSize.Height() = (sal_Int32)( (100000.0 * maOrigSize.Height()) / nYPixelPerMeter ); in GetBitmapEx() 529 maOrigSize.Height() = ImplReadsal_uInt32(); in ImplReadHeader() 531 if ( !maOrigSize.Width() || !maOrigSize.Height() ) in ImplReadHeader() 687 aPreviewSize.setWidth( ( maOrigSize.Width()*aPreviewSize.Height() )/maOrigSize.Height() ); in ImplReadHeader() 690 } else if( aPreviewSize.Height() == 0 ) { in ImplReadHeader() 692 if( aPreviewSize.Height() <= 0 ) in ImplReadHeader() 696 if( aPreviewSize.Width() < maOrigSize.Width() && aPreviewSize.Height() < maOrigSize.Height() ) { in ImplReadHeader() 703 if( (maTargetSize.Height() >> i) < aPreviewSize.Height() ) in ImplReadHeader() 712 maTargetSize.Height() = (maOrigSize.Height() + mnPreviewMask) >> mnPreviewShift; in ImplReadHeader() 992 if ( mnYpos >= (sal_uInt32)maOrigSize.Height() ) in ImplReadIDAT() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | porfld.cxx | 355 Height( rInf.GetTxtHeight() ); in Format() 636 if ( Height() < nDiff ) in Format() 637 Height( KSHORT( nDiff ) ); in Format() 847 Height( KSHORT(nGrfHeight) ); in SwGrfNumPortion() 882 if( GetAscent() > Height() ) in Format() 883 Height( GetAscent() ); in Format() 1282 Height( nMaxDescent + nMaxAscent ); in Format() 1302 Height( nMaxAscent + nMaxDescent ); in Format() 1306 Height( Height() + nMaxDescent + nMaxAscent ); in Format() 1315 Height( Height() + nMainAscent - GetAscent() ); in Format() [all …]
|
H A D | itrtxt.cxx | 105 rAscent = pCurr->GetAscent() + rHeight - pCurr->Height(); in CalcAscentAndHeight() 309 nPorHeight = pPor->Height(); in AdjustBaseLine() 313 sal_uInt16 nOfst = rLine.GetRealHeight() - rLine.Height(); in AdjustBaseLine() 326 nOfst = ( pCurr->Height() - nPorHeight ) / 2 + nPorAscent; in AdjustBaseLine() 340 const sal_uInt16 nLineNetto = rLine.Height() - nRubyHeight; in AdjustBaseLine() 357 ASSERT( rLine.Height() >= nPorHeight, "Portion height > Line height"); in AdjustBaseLine() 358 nOfst += ( rLine.Height() - nPorHeight ) / 2 + nPorAscent; in AdjustBaseLine() 361 nOfst += rLine.Height() - nPorHeight + nPorAscent; in AdjustBaseLine() 368 nOfst += rLine.Height() - ( rLine.Height() - nPorHeight ) / 2 - nPorAscent; in AdjustBaseLine() 370 nOfst += ( rLine.Height() - nPorHeight ) / 2 + nPorAscent; in AdjustBaseLine()
|
H A D | porlay.cxx | 301 Height( rInf.GetTxtHeight() ); in Format() 326 pLeft->Height( 0 ); in CalcLeftMargin() 460 if( !Height() ) in CalcLine() 461 Height( pPos->Height() ); in CalcLine() 539 Height( nPosHeight ); in CalcLine() 547 Height( nPosHeight ); in CalcLine() 555 if( !pFlyCnt || pPos->Height() > pFlyCnt->Height() ) in CalcLine() 592 if( pFlyCnt->Height() == Height() ) in CalcLine() 612 Height( nFlyHeight ); in CalcLine() 644 Height( nTmpHeight ); in CalcLine() [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | lspachdl.cxx | 68 aLSp.Height = sal::static_int_cast< sal_Int16 >(nTemp); in importXML() 73 aLSp.Height = 100; in importXML() 80 aLSp.Height = sal::static_int_cast< sal_Int16 >(nTemp); in importXML() 100 rUnitConverter.convertPercent( aOut, aLSp.Height ); in exportXML() 104 rUnitConverter.convertMeasure( aOut, aLSp.Height ); in exportXML() 129 aLSp.Height = sal::static_int_cast< sal_Int16 >(nTemp); in importXML() 146 rUnitConverter.convertMeasure( aOut, aLSp.Height ); in exportXML() 170 aLSp.Height = sal::static_int_cast< sal_Int16 >(nTemp); in importXML() 187 rUnitConverter.convertMeasure( aOut, aLSp.Height ); in exportXML()
|
/trunk/main/vcl/source/window/ |
H A D | btndlg.cxx | 169 if ( nTxtHeight > maCtrlSize.Height() ) in ImplGetButtonSize() 170 maCtrlSize.Height() = nTxtHeight; in ImplGetButtonSize() 187 mnButtonSize = nSepSize + (nButtonCount*maCtrlSize.Height()); in ImplGetButtonSize() 218 aDlgSize.Height() += IMPL_DIALOG_OFFSET+maCtrlSize.Height(); in ImplPosControls() 219 nY = aDlgSize.Height()-maCtrlSize.Height()-IMPL_DIALOG_OFFSET; in ImplPosControls() 223 if ( mnButtonSize+(IMPL_DIALOG_OFFSET*2) > aDlgSize.Height() ) in ImplPosControls() 224 aDlgSize.Height() = mnButtonSize+(IMPL_DIALOG_OFFSET*2); in ImplPosControls() 226 nY = aDlgSize.Height()-mnButtonSize-IMPL_DIALOG_OFFSET; in ImplPosControls() 228 nY = (aDlgSize.Height()-mnButtonSize)/2; in ImplPosControls() 249 nY += maCtrlSize.Height()+IMPL_SEP_BUTTON_Y; in ImplPosControls()
|
/trunk/main/avmedia/source/viewer/ |
H A D | mediawindow_impl.cxx | 346 aCurSize.Height() - ( nOffset << 1 ) ); in Resize() 350 const sal_Int32 nControlHeight = mpMediaWindowControl->GetSizePixel().Height(); in Resize() 351 const sal_Int32 nControlY = ::std::max( aCurSize.Height() - nControlHeight - nOffset, 0L ); in Resize() 353 aPlayerWindowSize.Height() = ( nControlY - ( nOffset << 1 ) ); in Resize() 358 xPlayerWindow->setPosSize( 0, 0, aPlayerWindowSize.Width(), aPlayerWindowSize.Height(), 0 ); in Resize() 427 …if( ( aLogoSize.Width() > aVideoRect.GetWidth() || aLogoSize.Height() > aVideoRect.GetHeight() ) && in Paint() 428 ( aLogoSize.Height() > 0 ) ) in Paint() 430 const double fLogoWH = (double) aLogoSize.Width() / aLogoSize.Height(); in Paint() 435 aLogoSize.Height()= aVideoRect.GetHeight(); in Paint() 440 aLogoSize.Height()= (long) ( aVideoRect.GetWidth() / fLogoWH ); in Paint() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | hyperdlg.cxx | 73 if ( pInfo->aSize.Width() != 0 && pInfo->aSize.Height() != 0 && in SvxHlinkDlgWrapper() 82 if( aParentSize.Height() < pInfo->aPos. Y() ) in SvxHlinkDlgWrapper() 83 pInfo->aPos.setY( aParentSize.Height()-aDlgSize.Height() < long(0.1*aParentSize.Height()) ? in SvxHlinkDlgWrapper() 84 long(0.1*aParentSize.Height()) : aParentSize.Height()-aDlgSize.Height() ); in SvxHlinkDlgWrapper()
|
/trunk/main/sd/source/filter/grf/ |
H A D | sdgrffilter.cxx | 230 aPagSize.Height() -= pPage->GetUppBorder() + pPage->GetLwrBorder(); in Import() 233 if ( ( ( aGrfSize.Height() > aPagSize.Height() ) || ( aGrfSize.Width() > aPagSize.Width() ) ) && in Import() 234 aGrfSize.Height() && aPagSize.Height() ) in Import() 236 double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height(); in Import() 237 double fWinWH = (double) aPagSize.Width() / aPagSize.Height(); in Import() 242 aGrfSize.Width() = (long) ( aPagSize.Height() * fGrfWH ); in Import() 243 aGrfSize.Height() = aPagSize.Height(); in Import() 248 aGrfSize.Height()= (long) ( aPagSize.Width() / fGrfWH ); in Import() 254 aPos.Y() = ( ( aPagSize.Height() - aGrfSize.Height() ) >> 1 ) + pPage->GetUppBorder(); in Import()
|
/trunk/main/starmath/source/ |
H A D | view.cxx | 435 if (aSize.Width() > 0 && aSize.Height() > 0) in ZoomToFitInWindow() 438 (85 * aWindowSize.Height()) / aSize.Height()); in ZoomToFitInWindow() 825 Fraction( aProvidedSize.Height(), aObjSize.Height() ) ); in InnerResizePixel() 939 TextSize.Height() += aSize.Height(); in GetTextSize() 950 TextSize.Height() += aSize.Height(); in GetTextSize() 1028 aPoint.Y() += aSize.Height(); in DrawText() 1040 aPoint.Y() += aSize.Height(); in DrawText() 1046 aPoint.Y() += aSize.Height(); in DrawText() 1092 … Size(aOutRect.GetWidth(), 100 + aTitleSize.Height() + 200 + aDescSize.Height() + 100))); in Impl_Print() 1168 (long)Fraction(OutputSize.Height() * 100L, GraphicSize.Height())); in Impl_Print() [all …]
|
/trunk/main/sd/source/ui/presenter/ |
H A D | SlideRenderer.cxx | 152 || rMaximalSize.Height <= 0 in calculatePreviewSize() 158 const double nWindowAspectRatio (double(rMaximalSize.Width) / double(rMaximalSize.Height)); in calculatePreviewSize() 161 sal::static_int_cast<sal_Int32>(rMaximalSize.Height * nSlideAspectRatio), in calculatePreviewSize() 162 rMaximalSize.Height); in calculatePreviewSize() 187 if (aPageSize.Height() <= 0) in CreatePreview() 198 double(aPageSize.Width()) / double(aPageSize.Height()), in CreatePreview() 200 if (aPreviewSize.Width <= 0 || aPreviewSize.Height <= 0) in CreatePreview() 217 Size(aPreviewSize.Width*nFactor, aPreviewSize.Height*nFactor), in CreatePreview() 225 Size(aPreviewSize.Width,aPreviewSize.Height), in CreatePreview()
|
/trunk/main/svx/source/unodraw/ |
H A D | UnoGraphicExporter.cxx | 276 if(aTargetSize.Height()) in GetBitmapFromMetaFile() 278 aTargetSize.Height() -= 1; in GetBitmapFromMetaFile() 304 if( (nWidth == 0) && (nHeight != 0) && (aBoundSize.Height() != 0) ) in CalcSize() 306 nWidth = ( nHeight * aBoundSize.Width() ) / aBoundSize.Height(); in CalcSize() 310 nHeight = ( nWidth * aBoundSize.Height() ) / aBoundSize.Width(); in CalcSize() 314 aOutSize.Height() = nHeight; in CalcSize() 728 if (aSizePix.Height() > MAX_EXT_PIX) in GetGraphic() 731 nHeightPix = aSizePix.Height(); in GetGraphic() 744 nHeightPix = aSizePix.Height(); in GetGraphic() 1028 aBound.GetHeight() + ( aExtSize.Height() ) ); in GetGraphic() [all …]
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsPageObjectLayouter.cxx | 51 maPageObjectSize(rPageObjectWindowSize.Width(), rPageObjectWindowSize.Height()), in PageObjectLayouter() 67 Size(rPageSize.Width(), rPageSize.Height()), in PageObjectLayouter() 77 maPageObjectSize.Height()-2*nFocusIndicatorWidth)); in PageObjectLayouter() 92 maPreviewBoundingBox.Bottom() - aIconSize.Height()), in PageObjectLayouter() 122 const double nPageAspectRatio (double(rPageSize.Width()) / double(rPageSize.Height())); in CalculatePreviewBoundingBox() 123 if (rPageObjectSize.Height() == 0) in CalculatePreviewBoundingBox() 138 nPreviewHeight = rPageObjectSize.Height() - 2*gnOuterBorderWidth - 2*nFocusIndicatorWidth - 1; in CalculatePreviewBoundingBox() 150 nPreviewHeight = rPageObjectSize.Height() in CalculatePreviewBoundingBox() 161 const int nTop ((rPageObjectSize.Height() - nPreviewHeight)/2); in CalculatePreviewBoundingBox()
|
/trunk/main/forms/source/richtext/ |
H A D | richtextimplcontrol.cxx | 432 …aViewportPlaygroundPixel.Height() = ::std::max( long( 10 ), long( aViewportPlaygroundPixel.Height(… in layoutWindow() 436 … aViewportPlaygroundPixel.Width() - 2 * nOffset, aViewportPlaygroundPixel.Height() - 2 * nOffset ); in layoutWindow() 443 …ViewportPlaygroundPixel.Width(), 0 ), Size( nScrollBarWidth, aViewportPlaygroundPixel.Height() ) ); in layoutWindow() 445 …m_pHScroll->SetPosSizePixel( Point( 0, aViewportPlaygroundPixel.Height() ), Size( aViewportPlaygro… in layoutWindow() 459 m_pVScroll->SetVisibleSize( aViewportPlaygroundLogic.Height() ); in layoutWindow() 462 long nFontHeight = m_pEngine->GetStandardFont(0).GetSize().Height(); in layoutWindow() 466 …m_pVScroll->SetPageSize( ::std::max( nFontHeight, aViewportPlaygroundLogic.Height() - nFontHeight … in layoutWindow() 617 aPlayground.Bottom() -= aOnePixel.Height(); in Draw() 634 lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() ); in Draw() 638 lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() ); in Draw() [all …]
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_extlistbox.cxx | 394 aSize.Height() = 10000; in CalcActiveHeight() 431 aSize.Height() = m_nActiveHeight; in GetEntryRect() 433 aSize.Height() = m_nStdHeight; in GetEntryRect() 697 if ( aEntryRect.Bottom() > aOutputSize.Height() ) in RecalcAll() 709 m_nTopIndex = nTotalHeight - aOutputSize.Height(); in RecalcAll() 796 aStart.Y() += aSize.Height(); in Paint() 819 const bool bNeedsScrollBar = ( nTotalHeight > aSize.Height() ); in SetupScrollBar() 823 if ( m_nTopIndex + aSize.Height() > nTotalHeight ) in SetupScrollBar() 824 m_nTopIndex = nTotalHeight - aSize.Height(); in SetupScrollBar() 829 m_pScrollBar->SetVisibleSize( aSize.Height() ); in SetupScrollBar() [all …]
|
/trunk/main/extensions/source/bibliography/ |
H A D | general.cxx | 576 rSize.Height(), awt::PosSize::POSSIZE); in AddXControl() 595 …sal_Bool bVertVisible = (aOutSize.Height()-(bHoriVisible ? nHoriScrollHeight : 0)) <= (aStdSize.He… in AdjustScrollbars() 609 ::Size aVertSize(nHoriScrollHeight, aOutSize.Height() - in AdjustScrollbars() 612 aVertScroll.SetRange( Range(0, aStdSize.Height())); in AdjustScrollbars() 613 aVertScroll.SetVisibleSize( aVertSize.Height() ); in AdjustScrollbars() 618 ::Size aScrollSize(aOutSize.Width() - aSize.Height(), aSize.Height()); in AdjustScrollbars() 619 ::Point aScrollPos(0, aOutSize.Height() - aSize.Height()); in AdjustScrollbars() 625 aScrollSize.Height() = aOutSize.Height() - aSize.Height(); in AdjustScrollbars() 630 aControlParentWinSz.Height() -= aSize.Height(); in AdjustScrollbars() 790 else if(nY > aOutSize.Height()) in focusGained() [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | backgrnd.cxx | 261 aInnerSize.Height() -= 2; in NotifyChange() 267 aDrawSize.Height() = aDrawSize.Height() * aInnerSize.Width() / aDrawSize.Width(); in NotifyChange() 268 if ( aDrawSize.Height() > aInnerSize.Height() ) in NotifyChange() 270 aDrawSize.Width() = aDrawSize.Height(); in NotifyChange() 271 aDrawSize.Height() = aInnerSize.Height(); in NotifyChange() 276 else if ( aDrawSize.Height() > aInnerSize.Height() ) in NotifyChange() 278 aDrawSize.Width() = aDrawSize.Width() * aInnerSize.Height() / aDrawSize.Height(); in NotifyChange() 281 aDrawSize.Height() = aDrawSize.Width(); in NotifyChange() 285 aDrawSize.Height() = aInnerSize.Height(); in NotifyChange() 289 aDrawPos.Y() = (aSize.Height() - aDrawSize.Height()) / 2; in NotifyChange() [all …]
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/drawing/ |
H A D | _XShape.java | 123 sNew = new Size(sOld.Width + 10,sOld.Height + 10) ; in _setSize() 136 log.println("Previously: "+sOld.Height+";"+sOld.Width); in _setSize() 137 log.println("Expected: "+sNew.Height+";"+sNew.Width); in _setSize() 138 log.println("Getting: "+gSize.Height+";"+gSize.Width); in _setSize() 142 result &= (sNew.Height-gSize.Height <= 2) && (sNew.Width-gSize.Width <= 2); in _setSize() 144 if (result && ((sNew.Height-gSize.Height != 0) || (sNew.Width-gSize.Width != 0))){ in _setSize()
|