/trunk/main/sw/source/core/view/ |
H A D | pagepreviewlayout.cxx | 552 Size aSize; in _CalcDocPrevwPaintRect() local 555 aSize.Width() = Min( mnPrevwLayoutWidth, in _CalcDocPrevwPaintRect() 558 aSize.Width() = Min( maPreviewDocRect.GetWidth() - aTopLeftPos.X(), in _CalcDocPrevwPaintRect() 562 aSize.Height() = Min( mnPrevwLayoutHeight, in _CalcDocPrevwPaintRect() 565 aSize.Height() = Min( maPreviewDocRect.GetHeight() - aTopLeftPos.Y(), in _CalcDocPrevwPaintRect() 567 maPaintedPrevwDocRect.SetSize( aSize ); in _CalcDocPrevwPaintRect()
|
/trunk/main/cui/source/tabpages/ |
H A D | macroass.cxx | 398 Size aSize( nTabs[ 2 ], 0 ); in InitAndSetHandler() local 399 …rHeaderBar.InsertItem( ITEMID_EVENT, *mpImpl->pStrEvent, LogicToPixel( aSize, MapMode( MAP_APPFONT… in InitAndSetHandler() 400 aSize.Width() = 1764; // don't know what, so 42^2 is best to use... in InitAndSetHandler() 401 …rHeaderBar.InsertItem( ITMEID_ASSMACRO, *mpImpl->pAssignedMacro, LogicToPixel( aSize, MapMode( MAP… in InitAndSetHandler()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | enhwmf.cxx | 598 Size aSize; in ReadEnhWMF() local 600 *pWMF >> nStyle >> aSize.Width() >> aSize.Height(); in ReadEnhWMF() 602 if ( aSize.Width() ) in ReadEnhWMF() 603 aLineInfo.SetWidth( aSize.Width() ); in ReadEnhWMF() 731 Size aSize( Size( nW, nH ) ); in ReadEnhWMF() local 732 pOut->DrawRoundRect( ReadRectangle( nX32, nY32, nx32, ny32 ), aSize ); in ReadEnhWMF()
|
/trunk/main/oox/source/export/ |
H A D | drawingml.cxx | 612 awt::Size aSize = rXShape->getSize(); in WriteShapeTransformation() local 614 …WriteTransformation( Rectangle( Point( aPos.X, aPos.Y ), Size( aSize.Width, aSize.Height ) ), bFli… in WriteShapeTransformation() 995 ::com::sun::star::awt::Size aSize; in WriteParagraphNumbering() 996 pPropValue[ i ].Value >>= aSize; in WriteParagraphNumbering() 999 … DBG(printf("graphic size: %dx%d\n", int( aSize.Width ), int( aSize.Height ))); in WriteParagraphNumbering()
|
/trunk/main/toolkit/test/accessibility/ov/ |
H A D | StateSetView.java | 167 Dimension aSize = getSize(); in paintChildren() local 171 aSize.width-aInsets.left-aInsets.right, in paintChildren() 172 aSize.height-aInsets.top-aInsets.bottom); in paintChildren()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | dlg_DataEditor.cxx | 296 Size aSize( PixelToLogic( GetResizeOutputSizePixel(), MAP_APPFONT )); in AdaptBrowseBoxSize() local 299 aDataSize.setWidth( aSize.getWidth() - 12 ); in AdaptBrowseBoxSize() 300 aDataSize.setHeight( aSize.getHeight() - 31 -24 ); in AdaptBrowseBoxSize()
|
/trunk/main/canvas/source/cairo/ |
H A D | cairo_canvashelper.cxx | 764 geometry::IntegerSize2D aSize = aTexture.Bitmap->getSize(); in doOperation() local 766 cairo_matrix_init_scale( &aScaleMatrix, 1.0/aSize.Width, 1.0/aSize.Height ); in doOperation() 1423 geometry::IntegerSize2D aSize = xBitmap->getSize(); in drawBitmap() local 1426 … rv = implDrawBitmapSurface( pCanvas, pSurface, viewState, renderState, aSize, false, bHasAlpha ); in drawBitmap() 1454 geometry::IntegerSize2D aSize = xBitmap->getSize(); in drawBitmapModulated() local 1457 … rv = implDrawBitmapSurface( pCanvas, pSurface, viewState, renderState, aSize, true, bHasAlpha ); in drawBitmapModulated() 1939 const geometry::IntegerSize2D aSize(getSize()); in getMemoryLayout() local 1942 aLayout.ScanLines = aSize.Height; in getMemoryLayout() 1943 aLayout.ScanLineBytes = aSize.Width*4; in getMemoryLayout()
|
/trunk/main/sw/source/ui/table/ |
H A D | convert.cxx | 193 Size aSize(GetSizePixel()); in SwConvertTableDlg() local 194 aSize.Height() = 8 + aHelpBtn.GetSizePixel().Height() + aHelpBtn.GetPosPixel().Y(); in SwConvertTableDlg() 195 SetOutputSizePixel(aSize); in SwConvertTableDlg()
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | ConnectionLineAccess.cxx | 187 Size aSize(m_pLine ? m_pLine->GetBoundingRect().GetSize() : Size()); in getSize() local 188 return awt::Size(aSize.Width(),aSize.Height()); in getSize()
|
/trunk/main/svx/source/unodraw/ |
H A D | unoshap4.cxx | 484 Size aSize = pOle2Obj->GetLogicRect().GetSize(); in createObject() local 485 aSz.Width = aSize.Width(); in createObject() 486 aSz.Height = aSize.Height(); in createObject() 547 Size aSize = pOle2Obj->GetLogicRect().GetSize(); in createLink() local 548 aSz.Width = aSize.Width(); in createLink() 549 aSz.Height = aSize.Height(); in createLink()
|
/trunk/main/sc/source/ui/view/ |
H A D | gridwin2.cxx | 276 Size aSize = GetOutputSizePixel(); in DPTestMouse() local 277 if ( aPixel.X() >= aSize.Width() ) in DPTestMouse() 279 if ( aPixel.Y() >= aSize.Height() ) in DPTestMouse() 809 Size aSize = GetOutputSizePixel(); in PagebreakMove() local 810 if ( aPos.X() >= aSize.Width() ) in PagebreakMove() 812 if ( aPos.Y() >= aSize.Height() ) in PagebreakMove()
|
/trunk/main/vcl/unx/gtk/a11y/ |
H A D | atkcomponent.cxx | 210 awt::Size aSize = pComponent->getSize(); in component_wrapper_get_size() local 211 *width = aSize.Width; in component_wrapper_get_size() 212 *height = aSize.Height; in component_wrapper_get_size()
|
/trunk/main/vcl/unx/gtk/window/ |
H A D | gtkframe.cxx | 1063 Size aSize = pSalBitmap->GetSize(); in bitmapToPixbuf() local 1064 g_return_val_if_fail( pSalAlpha->GetSize() == aSize, NULL ); in bitmapToPixbuf() 1067 guchar *pPixbufData = (guchar *)g_malloc (4 * aSize.Width() * aSize.Height() ); in bitmapToPixbuf() 1099 aSize.Width(), aSize.Height(), in bitmapToPixbuf() 1100 aSize.Width() * 4, in bitmapToPixbuf() 2589 Size aSize = pBM->GetSize(); in SetBackgroundBitmap() local 2590 if( aSize.Width() && aSize.Height() ) in SetBackgroundBitmap() 2595 aSize.Width(), in SetBackgroundBitmap() 2596 aSize.Height(), in SetBackgroundBitmap() 2602 aTwoRect.mnSrcWidth = aTwoRect.mnDestWidth = aSize.Width(); in SetBackgroundBitmap() [all …]
|
/trunk/main/sw/source/ui/utlui/ |
H A D | unotools.cxx | 308 uno::Any aSize = xPProp->getPropertyValue(C2U(SW_PROP_NAME_STR(UNO_NAME_SIZE))); in IMPL_LINK() local 310 aSize >>= aPSize; in IMPL_LINK() 313 aSize.setValue(&aPSize, ::getCppuType((awt::Size*)0)); in IMPL_LINK() 314 xPProp->setPropertyValue(C2U(SW_PROP_NAME_STR(UNO_NAME_SIZE)), aSize); in IMPL_LINK()
|
/trunk/main/sw/source/ui/misc/ |
H A D | glosbib.cxx | 557 Size aSize(pItem->GetSize( this, pEntry )); in RequestHelp() local 560 if((aPos.X() + aSize.Width()) > GetSizePixel().Width()) in RequestHelp() 561 aSize.Width() = GetSizePixel().Width() - aPos.X(); in RequestHelp() 563 Rectangle aItemRect( aPos, aSize ); in RequestHelp()
|
/trunk/main/forms/source/richtext/ |
H A D | richtextimplcontrol.cxx | 602 Size aSize( _rSize ); in Draw() local 606 aSize = _pDev->PixelToLogic( _rSize, aNormalizedMapMode ); in Draw() 611 aSize = OutputDevice::LogicToLogic( _rSize, aOriginalMapMode, aNormalizedMapMode ); in Draw() 614 Rectangle aPlayground( aPos, aSize ); in Draw()
|
/trunk/main/vcl/source/window/ |
H A D | printdlg.cxx | 225 Size aSize( GetSizePixel() ); in Paint() local 226 aSize.Width() -= nTextHeight; in Paint() 227 aSize.Height() -= nTextHeight; in Paint() 232 Rectangle aTextRect( Point( nTextHeight, nTextHeight ), aSize ); in Paint() 250 Point aOffset( (aSize.Width() - maPreviewSize.Width()) / 2 + nTextHeight, in Paint() 1971 maFirstPageSize = aPageSize.aSize; in getJobPageSize() 2025 Size aSize( getJobPageSize() ); in updateNupFromPages() local 2028 long nHorzMax = aSize.Width()/2; in updateNupFromPages() 2029 long nVertMax = aSize.Height()/2; in updateNupFromPages() 2040 nHorzMax = (aSize.Width() - 2*nSheetMargin); in updateNupFromPages() [all …]
|
H A D | winproc.cxx | 290 Size aSize( pChild->GetOutputSizePixel() ); in ImplCallCommand() local 291 aPos = Point( aSize.getWidth()/2, aSize.getHeight()/2 ); in ImplCallCommand() 1159 Size aSize = pChild->GetOutputSize(); in ImplHandleKey() local 1160 Point aPos = Point( aSize.getWidth()/2, aSize.getHeight()/2 ); in ImplHandleKey() 1402 Size aSize = pChild->LogicToPixel( pCursor->GetSize() ); in ImplHandleExtTextInputPos() local 1403 if ( !aSize.Width() ) in ImplHandleExtTextInputPos() 1404 aSize.Width() = pChild->GetSettings().GetStyleSettings().GetCursorSize(); in ImplHandleExtTextInputPos() 1405 rRect = Rectangle( aPos, aSize ); in ImplHandleExtTextInputPos()
|
H A D | syschild.cxx | 315 const Size aSize( GetOutputSizePixel() ); in GetParentWindowHandle() local 317 … GetSystemData()->aWindow, 0, 0, aSize.Width(), aSize.Height() ); in GetParentWindowHandle()
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 182 Size aSize; in Read() local 185 aSize.Width() = *pOff - nOff; in Read() 186 aSize = pDefaultDev->PixelToLogic( aSize, MapMode( MAP_TWIP ) ); in Read() 187 pColWidths->Insert( j-1, (void*)aSize.Width() ); in Read() 1342 pImage->aSize.Width() = (long)pOption->GetNumber(); in Image() 1347 pImage->aSize.Height() = (long)pOption->GetNumber(); in Image() 1384 if ( !(pImage->aSize.Width() && pImage->aSize.Height()) ) in Image() 1387 pImage->aSize = pDefaultDev->LogicToPixel( pGraphic->GetPrefSize(), in Image() 1396 nWidth += pI->aSize.Width() + 2 * pI->aSpace.X(); in Image() 1401 && (nWidth + pImage->aSize.Width() + 2 * pImage->aSpace.X() in Image()
|
/trunk/main/sw/source/core/layout/ |
H A D | atrfrm.cxx | 252 aSize( nWidth, nHeight ), in SwFmtFrmSize() 261 aSize = rCpy.GetSize(); in operator =() 274 aSize == ((SwFmtFrmSize&)rAttr).GetSize()&& in operator ==() 297 aTmp.Height = TWIP_TO_MM100(aSize.Height()); in QueryValue() 298 aTmp.Width = TWIP_TO_MM100(aSize.Width()); in QueryValue() 321 rVal <<= (sal_Int32)TWIP_TO_MM100(aSize.Width()); in QueryValue() 328 rVal <<= (sal_Int32)TWIP_TO_MM100(aSize.Height() < MINLAY ? MINLAY : aSize.Height() ); in QueryValue() 370 aSize = aTmp; in PutValue() 423 aSize.Width() = nWd; in PutValue() 438 aSize.Height() = nHg; in PutValue()
|
/trunk/main/svtools/source/contnr/ |
H A D | fileview.cxx | 1316 String aTitle, aType, aSize, aDate, aURL, aImageURL; in OpenFolder() local 1320 aSize = aRow.GetToken( 0, '\t', nIdx ); in OpenFolder() 1336 aNewRow += aSize; in OpenFolder() 1727 Size aSize; in IMPL_LINK() local 1734 aSize.Width() = nWidth + nTmpSize; in IMPL_LINK() 1736 mpImp->mpView->SetTab( i, aSize.Width(), MAP_PIXEL ); in IMPL_LINK() 2405 OUString aSize = aValue.getToken( 0, '\t', nIndex ); in CreateVector_Impl() local 2406 aDisplayText += aSize; in CreateVector_Impl() 2408 if ( aSize.getLength() ) in CreateVector_Impl() 2409 pEntry->maSize = aSize.toInt64(); in CreateVector_Impl()
|
/trunk/main/offapi/com/sun/star/awt/ |
H A D | XUnitConversion.idl | 83 @param aSize 91 …com::sun::star::awt::Size convertSizeToLogic( [in] com::sun::star::awt::Size aSize, [in] short Tar… 104 …com::sun::star::awt::Size convertSizeToPixel( [in] com::sun::star::awt::Size aSize, [in] short Sou…
|
/trunk/main/basctl/source/basicide/ |
H A D | objdlg.cxx | 129 Size aSize = IDE_DLL()->GetExtraData()->GetObjectCatalogSize(); in ObjectCatalog() local 143 if ( aSize.Width() ) in ObjectCatalog() 144 SetOutputSizePixel( aSize ); in ObjectCatalog()
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsFramePainter.cxx | 142 const Size aSize( in OffsetBitmap() local 145 maBitmap = BitmapEx(rBitmap, aOrigin, aSize); in OffsetBitmap() 161 maBitmap.Scale(Size(nSideBitmapSize,aSize.Height()), BMP_SCALE_FASTESTINTERPOLATE); in OffsetBitmap()
|