/trunk/main/reportdesign/source/core/inc/ |
H A D | Tools.hxx | 93 OSL_ENSURE(aSize.Width >= 0 && aSize.Height >= 0,"Illegal with or height!"); in setSize() 99 if ( aOldSize.Height != aSize.Height || aOldSize.Width != aSize.Width ) in setSize() 102 _pShape->m_aProps.aComponent.m_nHeight = aOldSize.Height; in setSize() 107 _pShape->set(PROPERTY_HEIGHT,aSize.Height,_pShape->m_aProps.aComponent.m_nHeight); in setSize() 115 OSL_ENSURE(aSize.Width >= 0 && aSize.Height >= 0,"Illegal with or height!"); in getSize()
|
/trunk/main/vcl/source/control/ |
H A D | throbber.cxx | 182 || ( aImageSize.Height() > aWindowSizePixel.Height() ) in initImages() 189 …+ ( aWindowSizePixel.Height() - aImageSize.Height() ) * ( aWindowSizePixel.Height() - aImageSize… in initImages()
|
H A D | morebtn.cxx | 147 long nDeltaPixel = LogicToPixel( Size( 0, mnDelta ), meUnit ).Height(); in Click() 167 aSize.Height() += nDeltaPixel; in Click() 168 if ( (aPos.Y()+aSize.Height()) > aDeskRect.Bottom() ) in Click() 170 aPos.Y() = aDeskRect.Bottom()-aSize.Height(); in Click() 183 aSize.Height() -= nDeltaPixel; in Click()
|
/trunk/main/filter/source/pdf/ |
H A D | impdialog.cxx | 463 long nDelta = aSize.Height() - aNewSize.Height(); in ImpPDFTabGeneralPage() 565 maCbExportNotesPages.LogicToPixel( Size( 13, 13 ), MAP_APPFONT ).Height(); in SetFilterConfigItem() 1076 long nDelta = aSize.Height() - aNewSize.Height(); in ImpPDFTabSecurityPage() 1297 maCbExprtBmkrToNmDst.LogicToPixel( Size( 10, 10 ), MAP_APPFONT ).Height(); in ImpPDFTabLinksPage() 1301 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage() 1313 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage() 1325 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage() 1533 aImageSize.Height() += 6; in ImplErrorDialog() 1542 Point aErrorLBPos( 5, aImageSize.Height() + 10 ); in ImplErrorDialog() 1543 Size aErrorLBSize( aDlgSize.Width()/2 - 10, aDlgSize.Height() - aErrorLBPos.Y() - 35 ); in ImplErrorDialog() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | viewshel.cxx | 242 mpContentWindow->GetSizePixel().Height()); in construct() 259 mpHorizontalScrollBar->GetSizePixel().Height()); in construct() 916 if (aSize.Width()==0 || aSize.Height()==0) in Resize() 957 aBorder.Bottom() = maScrBarWH.Height(); in GetBorder() 972 aBorder.Top() = mpHorizontalRuler->GetSizePixel().Height(); in GetBorder() 993 long nBottom = maViewPos.Y() + maViewSize.Height(); in ArrangeGUIElements() 1002 nBottom -= maScrBarWH.Height(); in ArrangeGUIElements() 1005 Size(nRight-nLocalLeft-maScrBarWH.Width(),maScrBarWH.Height())); in ArrangeGUIElements() 1045 nTop += aRulerSize.Height(); in ArrangeGUIElements() 1050 aRulerSize.Height() = nBottom - nTop; in ArrangeGUIElements() [all …]
|
/trunk/main/svtools/workben/toolpanel/ |
H A D | toolpaneltest.cxx | 524 const long nFixedLineHeight( LogicToPixel( Size( 0, 8 ), MAP_APPFONT ).Height() ); in Resize() 525 const long nEditLineHeight( LogicToPixel( Size( 0, 12 ), MAP_APPFONT ).Height() ); in Resize() 526 const long nButtonLineHeight( LogicToPixel( Size( 0, 14 ), MAP_APPFONT ).Height() ); in Resize() 534 Point aItemPos( nSuperordinateX, aSpacing.Height() ); in Resize() 574 aItemPos.Y() += aSpacing.Height(); in Resize() 599 aItemPos.Move( 0, aControlSize.Height() + aSpacing.Height() ); in Resize() 792 aSize.Height() -= 40; in Resize() 797 Size( 200, aSize.Height() ) in Resize()
|
/trunk/main/vcl/source/window/ |
H A D | dialog.cxx | 219 pDialog->SetPointerPosPixel( Point( aSize.Width()/2, aSize.Height()/2 ) ); in ImplMouseAutoPos() 231 pWindow->SetPointerPosPixel( Point( aSize.Width()/2, aSize.Height()/2 ) ); in ImplMouseAutoPos() 394 ((aDeskSize.Height() - aWinSize.Height()) / 2) + aDeskPos.Y() ); in ImplCenterDialog() 399 if ( (aWinPos.Y()+aWinSize.Height()) > (aDeskPos.Y()+aDeskSize.Height()) ) in ImplCenterDialog() 400 aWinPos.Y() = aDeskPos.Y()+aDeskSize.Height() - aWinSize.Height(); in ImplCenterDialog() 988 aImplWin.SetPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height() ); in Draw()
|
/trunk/main/sd/source/ui/notes/ |
H A D | EditWindow.cxx | 75 SvxFontHeightItem aItem (GetFont().GetSize().Height(), 100, in EditWindow() 196 Size (0, 10), MapMode (MAP_POINT)).Height(), 100, in CreateEditEngine() 267 SvxFontHeightItem aItem( GetFont().GetSize().Height(), 100, in DataChanged() 550 mpVerticalScrollBar->SetPosSizePixel( aPt, Size(nTmp, aOut.Height() - nTmp)); in IMPL_LINK_INLINE_END() 556 aPt.Y() = mpVerticalScrollBar->GetSizePixel().Height(); in IMPL_LINK_INLINE_END() 592 mpVerticalScrollBar->SetVisibleSize(aOut.Height()); in InitScrollBars() 593 mpVerticalScrollBar->SetPageSize(aOut.Height() * 8 / 10); in InitScrollBars() 594 mpVerticalScrollBar->SetLineSize(aOut.Height() * 2 / 10); in InitScrollBars()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | swcli.cxx | 83 GetObject()->setVisualAreaSize( GetAspect(), awt::Size( aNewSize.Width(), aNewSize.Height() ) ); in RequestNewObjectArea() 139 Size aVisSize( aSz.Width, aSz.Height ); in ViewChanged() 143 if( !aVisSize.Width() || !aVisSize.Height() ) in ViewChanged() 154 aVisSize.Height()= Fraction( aVisSize.Height() ) * GetScaleHeight(); in ViewChanged()
|
/trunk/main/sd/source/ui/tools/ |
H A D | PreviewRenderer.cxx | 119 double(aPageModelSize.Width()) / double(aPageModelSize.Height())); in RenderPage() 377 sal_Int32 nHeight (mpPreviewDevice->PixelToLogic(Size(0,snSubstitutionTextSize)).Height()); in PaintSubstitutionText() 431 if (aPageModelSize.Width()>0 || aPageModelSize.Height()>0) in SetupOutputSize() 437 Fraction(rFramePixelSize.Height()-2*nFrameWidth-1, aPageModelSize.Height())); in SetupOutputSize() 510 (long)((nWidth*1.0 * aSize.Height()) / aSize.Width() + 0.5)); in ScaleBitmap() 511 Size aPreviewSize (aFrameSize.Width()-2,aFrameSize.Height()-2); in ScaleBitmap()
|
/trunk/main/svtools/source/hatchwindow/ |
H A D | ipwin.cxx | 68 aOuter.Center().Y() - aBorder.Height() / 2 ), in FillHandleRectsPixel() 72 aBottomRight.Y() - aBorder.Height() +1 ), in FillHandleRectsPixel() 76 aBottomRight.Y() - aBorder.Height() +1), in FillHandleRectsPixel() 80 aBottomRight.Y() - aBorder.Height() +1), in FillHandleRectsPixel() 84 aOuter.Center().Y() - aBorder.Height() / 2 ), in FillHandleRectsPixel() 97 aRects[ 0 ].Bottom() = aRects[ 0 ].Top() + aBorder.Height() -1; in FillMoveRectsPixel() 103 aRects[ 2 ].Top() = aRects[ 2 ].Bottom() - aBorder.Height() -1; in FillMoveRectsPixel()
|
/trunk/main/oox/source/drawingml/ |
H A D | fillproperties.cxx | 94 if( !aSizeHmm.Width && !aSizeHmm.Height ) in lclGetOriginalSize() 291 if( (aOriginalSize.Width > 0) && (aOriginalSize.Height > 0) ) in pushToPropMap() 298 …nt32 nFillBmpSizeY = getLimitedValue< sal_Int32, double >( aOriginalSize.Height * fScaleY, 1, SAL_… in pushToPropMap() 304 …ervalValue< sal_Int16 >( maBlipProps.moTileOffsetY.get( 0 ) / 3.6 / aOriginalSize.Height, 0, 100 ); in pushToPropMap() 375 if ( aOriginalSize.Width && aOriginalSize.Height ) in pushToPropMap() 381 …aGraphCrop.Top = static_cast< sal_Int32 >( ( static_cast< double >( aOriginalSize.Height ) * oClip… in pushToPropMap() 385 …aGraphCrop.Bottom = static_cast< sal_Int32 >( ( static_cast< double >( aOriginalSize.Height ) * oC… in pushToPropMap()
|
/trunk/main/sd/source/ui/slideshow/ |
H A D | showwin.cxx | 587 … Max( aOutOrg.Y() + aOutSize.Height() - aGrfSize.Height() - aOffset.Height(), aOutOrg.Y() ) ); in DrawPauseScene() 619 DrawOutDev( Point( aOutOrg.X(), aOffset.Height() ), aVDevSize, Point(), aVDevSize, aVDev ); in DrawPauseScene() 627 DrawText( Point( aOutOrg.X() + aOffset.Width(), aOutOrg.Y() + aOffset.Height() ), aText ); in DrawPauseScene() 648 DrawText( Point( aOutOrg.X() + aTextSize.Height(), aOutOrg.Y() + aTextSize.Height() ), aText ); in DrawEndScene()
|
/trunk/main/sw/source/core/bastyp/ |
H A D | swrect.cxx | 68 Top() + Height() / 2 ); in Center() 253 void SwRect::_Top( const long nTop ){ m_Size.Height() += m_Point.getY() - nTop; m_Point.setY(nTop);… in _Top() 264 void SwRect::AddHeight( const long nAdd ) { m_Size.Height() += nAdd; } in AddHeight() 267 void SwRect::SubTop( const long nSub ){ m_Size.Height() += nSub; m_Point.Y() -= nSub; } in SubTop() 268 void SwRect::AddBottom( const long nAdd ){ m_Size.Height() += nAdd; } in AddBottom() 327 << ',' << rRect.Width() << 'x' << rRect.Height() << "] "; in operator <<()
|
/trunk/main/sw/source/core/objectpositioning/ |
H A D | ascharanchoredobjectposition.cxx | 180 aObjBoundRect.Height( aObjBoundRect.Height() + nULSpaceLower ); in CalcPosition() 186 : aObjBoundRect.Height(); in CalcPosition() 217 aRelPos.Y() = -aObjBoundRect.Height(); in CalcPosition() 335 aObjBoundRect.Height( aObjBoundRect.Height() + rULSpace.GetLower() ); in CalcPosition()
|
/trunk/main/sw/source/core/text/ |
H A D | porfly.cxx | 402 if( Height() ) in SetBase() 408 if( nAscent > Height() ) in SetBase() 409 Height( nAscent ); in SetBase() 414 Height( Height() + static_cast<sal_uInt16>(nRelPos) ); in SetBase() 419 Height( 1 ); in SetBase()
|
/trunk/main/sd/source/ui/func/ |
H A D | fuzoom.cxx | 155 aScroll.Y() /= aWorkSize.Height() / aPageSize.Height(); in MouseMove() 200 if ( aZoomSizePixel.Width() < (long) nTol && aZoomSizePixel.Height() < (long) nTol ) in MouseButtonUp() 206 aSize.Height() /= 2; in MouseButtonUp() 208 aPos.Y() -= aSize.Height() / 2; in MouseButtonUp()
|
/trunk/main/svtools/source/toolpanel/ |
H A D | paneltabbar.cxx | 604 aItemContentSize.Height() = ::std::max( aItemContentSize.Height(), aTextSize.Height() ); in impl_calculateItemContentSize() 617 aItemContentSize.Height() += 2 * ITEM_OUTER_SPACE; in impl_calculateItemContentSize() 653 … aImagePos.Y() = aRenderArea.Top() + ( aRenderArea.GetHeight() - aImageSize.Height() ) / 2; in impl_renderItemContent() 666 aRenderArea.Top() += aImageSize.Height() + ITEM_ICON_TEXT_DISTANCE; in impl_renderItemContent() 688 aTextPos.X() += aTextSize.Height(); in impl_renderItemContent() 689 aTextPos.X() += ( aRenderArea.GetWidth() - aTextSize.Height() ) / 2; in impl_renderItemContent() 693 aTextPos.Y() += ( aRenderArea.GetHeight() - aTextSize.Height() ) / 2; in impl_renderItemContent() 712 i_rLogicalRect.GetSize().Height() in CopyFromRenderDevice() 1026 ::std::swap( aOptimalSize.Width(), aOptimalSize.Height() ); in GetOptimalSize()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | ViewsWindow.cxx | 211 if ( _rSectionWindow.getStartMarker().isCollapsed() || nMinHeight > aSectionSize.Height() ) in impl_resizeSectionWindow() 213 aSectionSize.Height() = nMinHeight; in impl_resizeSectionWindow() 221 _rStartPoint.Y() += aSectionSize.Height(); in impl_resizeSectionWindow() 348 nHeight += (*aIter)->GetSizePixel().Height(); in getTotalHeight() 1074 …st long nSectionHeight = rReportSection.PixelToLogic(rReportSection.GetOutputSizePixel()).Height(); in BegDragObj_createInvisibleObjectAtPosition() 1253 … nLastSectionHeight = rReportSection.PixelToLogic(rReportSection.GetOutputSizePixel()).Height(); in BegMarkObj() 1295 … const long nHeight = rReportSection.PixelToLogic(rReportSection.GetOutputSizePixel()).Height(); in getSectionRelativeToPosition() 1459 … const long nSectionHeight = (*aIter)->PixelToLogic(rReportSection.GetOutputSizePixel()).Height(); in MovAction() 1471 const long nSectionHeight = (*aIter)->PixelToLogic((*aIter)->GetOutputSizePixel()).Height(); in MovAction() 1502 const long nSectionHeight = (*aIter)->PixelToLogic((*aIter)->GetOutputSizePixel()).Height(); in MovAction() [all …]
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterPaneBorderPainter.cxx | 238 || rRepaintArea.Y >= rOuterBorderRectangle.Y+rOuterBorderRectangle.Height in paintBorder() 240 || rRepaintArea.Y+rRepaintArea.Height <= rOuterBorderRectangle.Y) in paintBorder() 277 || rRepaintArea.Y >= rOuterBorderRectangle.Y+rOuterBorderRectangle.Height in paintBorderWithCallout() 279 || rRepaintArea.Y+rRepaintArea.Height <= rOuterBorderRectangle.Y) in paintBorderWithCallout() 638 || rUpdateBox.Y+rUpdateBox.Height <= nY) in PaintTitle() 774 nY = rBox.Y + rBox.Height + rpBitmap->mnYOffset; in PaintBitmap() 780 nH = rBox.Height - nStartOffset + nEndOffset; in PaintBitmap() 786 || nY >= rUpdateBox.Y + rUpdateBox.Height in PaintBitmap() 1023 rBox.Height + pBorderSize->mnTop + pBorderSize->mnBottom); in AddBorder() 1052 rBox.Height - pBorderSize->mnTop - pBorderSize->mnBottom); in RemoveBorder()
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | salbmp.cxx | 117 if( rSize.Width() && rSize.Height() ) in ImplCreateDIB() 159 pDIB->mnHeight = rSize.Height(); in ImplCreateDIB() 621 aTwoRect.mnSrcHeight = aTwoRect.mnDestHeight = aSize.Height(); in ImplGetDDB() 624 aTwoRect.mnSrcHeight+aTwoRect.mnSrcY > aSize.Height() ) in ImplGetDDB() 630 aTwoRect.mnSrcY >= aSize.Height() ) in ImplGetDDB() 642 if( aTwoRect.mnSrcHeight+aTwoRect.mnSrcY > aSize.Height() ) in ImplGetDDB() 644 aTwoRect.mnSrcHeight = aSize.Height() - aTwoRect.mnSrcY; in ImplGetDDB() 648 aTwoRect.mnSrcHeight = aSize.Height(); in ImplGetDDB() 768 aSize.Width() = mpDIB->mnWidth, aSize.Height() = mpDIB->mnHeight; in GetSize() 770 aSize.Width() = mpDDB->ImplGetWidth(), aSize.Height() = mpDDB->ImplGetHeight(); in GetSize()
|
/trunk/main/vcl/unx/gtk/window/ |
H A D | gtkframe.cxx | 609 maGeometry.nHeight = aDefSize.Height(); in InitCommon() 1213 nScreenHeight = aScreenSize.Height(); in Center() 1245 long h = aScreenSize.Height(); in calcDefaultSize() 1257 if( aScreenSize.Height() >= 600 ) in calcDefaultSize() 1259 if( aScreenSize.Height() >= 768 ) in calcDefaultSize() 1261 if( aScreenSize.Height() >= 1024 ) in calcDefaultSize() 1461 aGeo.max_height = m_aMaxSize.Height(); in setMinMaxSize() 1558 if( nY > (long)aScreenSize.Height() - 10 ) in SetPosSize() 1559 nY = (long)aScreenSize.Height() - 10; in SetPosSize() 2590 if( aSize.Width() && aSize.Height() ) in SetBackgroundBitmap() [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | QueryDesignView.cxx | 2677 if ( 0 != aPlaygroundSize.Height() ) in resizeDocumentView() 2680 || ( nSplitPos >= aPlaygroundSize.Height() ) in resizeDocumentView() 2685 …nSplitPos = aPlaygroundSize.Height() - aSelectionBoxSize.Height() - m_aSplitter.GetSizePixel().Hei… in resizeDocumentView() 2688 nSplitPos = sal_Int32(aPlaygroundSize.Height()*0.6); in resizeDocumentView() 2697 if ( aSelBoxSize.Height() ) in resizeDocumentView() 2700 … nSplitPos = aPlaygroundSize.Height() - m_aSplitter.GetSizePixel().Height() - aSelBoxSize.Height(); in resizeDocumentView() 2704 if ( aSelBoxOptSize.Height() > aSelBoxSize.Height() ) in resizeDocumentView() 2706 …nSplitPos = aPlaygroundSize.Height() - m_aSplitter.GetSizePixel().Height() - aSelBoxOptSize.Height… in resizeDocumentView() 2718 if( ( aSplitPos.Y() + aSplitSize.Height() ) > ( aPlaygroundSize.Height() )) in resizeDocumentView() 2719 aSplitPos.Y() = aPlaygroundSize.Height() - aSplitSize.Height(); in resizeDocumentView() [all …]
|
/trunk/main/editeng/source/items/ |
H A D | svxfont.cxx | 97 long nTop = nMid - rSize.Height() / 2; in DrawArrow() 98 long nBottom = nTop + rSize.Height(); in DrawArrow() 375 aSize.Height() * nPropr / 100L ) ); in SetPhysFont() 521 aPos.Y() -= ((nEsc*long(aSize.Height()))/ 100L); in DrawText() 555 long nDiff = GetSize().Height(); in QuickDrawText() 615 aPos.Y() -= ( ( nTmpEsc * long( aSize.Height() ) ) / 100L ); in DrawPrev() 711 aTxtSize.Height() = aPartSize.Height(); in Do() 738 if( !aTxtSize.Height() ) in GetCapitalSize()
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | FieldDescControl.cxx | 353 long nHScrollHeight = m_pHorzScroll->GetSizePixel().Height(); in CheckScrollBars() 357 long nNewVHeight = szOverallSize.Height() - nHScrollHeight; in CheckScrollBars() 382 …const sal_Int32 nControl_Spacing_y = LogicToPixel(Size(0, CONTROL_SPACING_Y),MAP_APPFONT).Height(); in CheckScrollBars() 384 …nLastVisible = static_cast<sal_uInt16>((szOverallSize.Height() - nControl_Spacing_y - nHScrollHeig… in CheckScrollBars() 386 …nLastVisible = static_cast<sal_uInt16>((szOverallSize.Height() - nControl_Spacing_y) / (nControl_S… in CheckScrollBars() 411 …m_pVertScroll->SetPosSizePixel( Point(nNewHWidth, 0), Size(nVScrollWidth, szOverallSize.Height()) … in CheckScrollBars() 467 …const sal_Int32 nControl_Spacing_y = LogicToPixel(Size(0, CONTROL_SPACING_Y),MAP_APPFONT).Height(); in ScrollAllAggregates() 513 if ( aTemp.Height() > aHeight.Height() ) in GetMaxControlHeight() 514 aHeight.Height() = aTemp.Height(); in GetMaxControlHeight() 518 return aHeight.Height(); in GetMaxControlHeight() [all …]
|