/trunk/main/filter/source/svg/ |
H A D | svgexport.cxx | 895 const Size aSize( aBoundRect.Width, aBoundRect.Height ); in implExportShape() local 926 … mpSVGWriter->WriteMetaFile( aTopLeft, aSize, rMtf, SVGWRITER_WRITE_FILL ); in implExportShape() 1082 const Size aSize( pObj->GetCurrentBoundRect().GetSize() ); in implCreateObjectsFromShape() local 1084 aMtf.AddAction( new MetaBmpExScaleAction( aNullPt, aSize, aGraphic.GetBitmapEx() ) ); in implCreateObjectsFromShape() 1085 aMtf.SetPrefSize( aSize ); in implCreateObjectsFromShape() 1312 …const Size aSize( OutputDevice::LogicToLogic( rMtf.GetPrefSize(), rMtf.GetPrefMapMode(), M… in writeMtf() local 1319 aAttr = rtl::OUString::valueOf( aSize.Width() ); in writeMtf() 1323 aAttr = rtl::OUString::valueOf( aSize.Height() ); in writeMtf() 1328 aAttr += rtl::OUString::valueOf( aSize.Width() * 100L ); in writeMtf() 1330 aAttr += rtl::OUString::valueOf( aSize.Height() * 100L ); in writeMtf() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | paraprev.cxx | 61 aSize = Size( 11905, 16837 ); in SvxParaPrevWindow() 101 long nTop = nUpper * aLineSiz.Height() / aSize.Height(); in DrawParagraph() 110 long nLeft = nLeftMargin * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 111 long nFirst = nFirstLineOfst * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 124 long nRight = nRightMargin * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 213 long nBottom = nLower * aLineSiz.Height() / aSize.Height(); in DrawParagraph()
|
/trunk/main/sd/source/ui/func/ |
H A D | fuzoom.cxx | 204 Size aSize = mpWindow->PixelToLogic(mpWindow->GetOutputSizePixel()); in MouseButtonUp() local 205 aSize.Width() /= 2; in MouseButtonUp() 206 aSize.Height() /= 2; in MouseButtonUp() 207 aPos.X() -= aSize.Width() / 2; in MouseButtonUp() 208 aPos.Y() -= aSize.Height() / 2; in MouseButtonUp() 210 aZoomRect.SetSize(aSize); in MouseButtonUp()
|
/trunk/main/framework/source/helper/ |
H A D | dockingareadefaultacceptor.cxx | 126 … css::awt::Size aSize ( aRectangle.Width - aInfo.LeftInset - aInfo.RightInset , in requestDockingAreaSpace() local 134 if ((( aSize.Width - RequestedSpace.X - RequestedSpace.Width ) < aMinSize.Width ) || in requestDockingAreaSpace() 135 … (( aSize.Height - RequestedSpace.Y - RequestedSpace.Height ) < aMinSize.Height ) ) in requestDockingAreaSpace() 164 … css::awt::Size aSize ( aRectangle.Width - aInfo.LeftInset - aInfo.RightInset , in setDockingAreaSpace() local 171 sal_Int32 nWidth = aSize.Width - BorderSpace.X - BorderSpace.Width; in setDockingAreaSpace() 172 sal_Int32 nHeight = aSize.Height - BorderSpace.Y - BorderSpace.Height; in setDockingAreaSpace()
|
/trunk/main/vcl/source/control/ |
H A D | edit.cxx | 1916 Rectangle aRect( aPos, aSize ); in Draw() 1954 ((nOffX+nTextWidth) > aSize.Width()) ) in Draw() 1956 Rectangle aClip( aPos, aSize ); in Draw() 1957 if ( nTextHeight > aSize.Height() ) in Draw() 1969 aPos.X() += aSize.Width() - nTextWidth; in Draw() 2151 Size aSize = GetOutputSizePixel(); in Command() local 2152 aPos = Point( aSize.Width()/2, aSize.Height()/2 ); in Command() 2866 aSize.Height() += 4; in CalcMinimumSize() 2868 aSize = CalcWindowSize( aSize ); in CalcMinimumSize() 2881 return aSize; in CalcMinimumSize() [all …]
|
/trunk/main/embeddedobj/source/msole/ |
H A D | olecomponent.cxx | 1021 awt::Size OleComponent::CalculateWithFactor( const awt::Size& aSize, in CalculateWithFactor() argument 1124 SIZEL aSize = { aVisAreaSize.Width, aVisAreaSize.Height }; in SetExtent() local 1125 HRESULT hr = m_pNativeImpl->m_pOleObject->SetExtent( nMSAspect, &aSize ); in SetExtent() 1145 awt::Size aSize; in GetExtent() local 1200 aSize.Width = ( sal_Int32 )nX; in GetExtent() 1201 aSize.Height = ( sal_Int32 )nY; in GetExtent() 1217 return aSize; in GetExtent() 1227 SIZEL aSize; in GetCachedExtent() local 1243 return awt::Size( aSize.cx, aSize.cy ); in GetCachedExtent() 1253 SIZEL aSize; in GetReccomendedExtent() local [all …]
|
/trunk/main/editeng/source/rtf/ |
H A D | rtfgrf.cxx | 558 Size aSize( rGrf.GetPrefSize() ); in ReadBmpData() local 560 aSize = Application::GetDefaultDevice()->PixelToLogic( in ReadBmpData() 561 aSize, aMap ); in ReadBmpData() 563 aSize = OutputDevice::LogicToLogic( aSize, in ReadBmpData() 565 rPicType.nWidth = sal::static_int_cast< sal_uInt16 >(aSize.Width()); in ReadBmpData() 567 aSize.Height()); in ReadBmpData()
|
/trunk/main/canvas/source/directx/ |
H A D | dx_bitmap.cxx | 180 const geometry::IntegerSize2D aSize( maSize.getX(),maSize.getY() ); in setPixel() local 182 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in setPixel() 184 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in setPixel() 199 const geometry::IntegerSize2D aSize( maSize.getX(),maSize.getY() ); in getPixel() local 201 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in getPixel() 203 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in getPixel()
|
/trunk/main/editeng/inc/editeng/ |
H A D | sizeitem.hxx | 42 Size aSize; member in SvxSizeItem 68 const Size& GetSize() const { return aSize; } in GetSize() 69 void SetSize(const Size& rSize) { aSize = rSize; } in SetSize() 74 aSize = rCpy.aSize; in operator =()
|
/trunk/main/sd/source/ui/tools/ |
H A D | PreviewRenderer.cxx | 156 Size aSize (mpPreviewDevice->GetOutputSizePixel()); in RenderPage() local 159 mpPreviewDevice->PixelToLogic(aSize)); in RenderPage() 221 const Size aSize (mpPreviewDevice->GetOutputSizePixel()); in RenderSubstitution() local 224 mpPreviewDevice->PixelToLogic(aSize)); in RenderSubstitution() 505 Size aSize (rBitmapEx.GetSizePixel()); in ScaleBitmap() local 506 if (aSize.Width() <= 0) in ScaleBitmap() 510 (long)((nWidth*1.0 * aSize.Height()) / aSize.Width() + 0.5)); in ScaleBitmap()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/ |
H A D | _XView.java | 94 Size aSize = oObj.getSize(); in _getSize() local 95 boolean res = (aSize.Height != 0) && (aSize.Width != 0); in _getSize() 97 log.println("Height: " + aSize.Height); in _getSize() 98 log.println("Width: " + aSize.Width); in _getSize()
|
/trunk/main/svtools/source/control/ |
H A D | calendar.cxx | 2621 Size aSize; in CalcWindowSizePixel() local 2629 aSize.Width() += MONTH_BORDERX*2; in CalcWindowSizePixel() 2630 aSize.Width() *= nCalcMonthPerLine; in CalcWindowSizePixel() 2633 aSize.Height() += nTextHeight + WEEKDAY_OFFY; in CalcWindowSizePixel() 2635 aSize.Height() += MONTH_OFFY; in CalcWindowSizePixel() 2636 aSize.Height() *= nCalcLines; in CalcWindowSizePixel() 2638 return aSize; in CalcWindowSizePixel() 2705 Size aSize; in EnableTodayBtn() local 2710 mpTodayBtn->SetSizePixel( aSize ); in EnableTodayBtn() 2737 Size aSize; in EnableNoneBtn() local [all …]
|
/trunk/main/basebmp/source/ |
H A D | debug.cxx | 81 const basegfx::B2IVector aSize( rDevice->getSize() ); in debugDump() local 87 << "/* Width = " << aSize.getX() << " */" << std::endl in debugDump() 88 << "/* Height = " << aSize.getY() << " */" << std::endl in debugDump() 95 for( int y=0; y<aSize.getY(); ++y ) in debugDump() 97 for( int x=0; x<aSize.getX(); ++x ) in debugDump()
|
/trunk/main/sfx2/source/dialog/ |
H A D | dinfdlg.cxx | 1692 Size aSize( GetSizePixel() ); in RequestHelp() local 1748 Size aSize = m_aYesButton.GetSizePixel(); in Resize() local 1750 aSize.Width() = nNewWidth; in Resize() 1751 m_aYesButton.SetSizePixel( aSize ); in Resize() 2021 aSize.Width() = nWidth; in InitControls() 2029 Size aDurationSize(aSize); in InitControls() 2036 aSize.Width() = nWidth; in InitControls() 2039 aSize.Width() /= 2; in InitControls() 2040 aSize.Width() -= 2; in InitControls() 2042 aPos.X() += aSize.Width() + 4; in InitControls() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | olinewin.cxx | 232 Size aSize( GetOutputSizePixel() ); in GetOutputSizeLevel() local 233 return mbHoriz ? aSize.Height() : aSize.Width(); in GetOutputSizeLevel() 238 Size aSize( GetOutputSizePixel() ); in GetOutputSizeEntry() local 239 return mbHoriz ? aSize.Width() : aSize.Height(); in GetOutputSizeEntry() 613 Size aSize = GetOutputSizePixel(); in Paint() local 614 long nLevelEnd = (mbHoriz ? aSize.Height() : aSize.Width()) - 1; in Paint() 615 long nEntryEnd = (mbHoriz ? aSize.Width() : aSize.Height()) - 1; in Paint()
|
/trunk/main/sfx2/source/appl/ |
H A D | shutdowniconunx.cxx | 111 Size aSize( pSalBitmap->Width(), pSalBitmap->Height() ); in ResIdToPixbuf() local 112 g_return_val_if_fail( Size( pSalAlpha->Width(), pSalAlpha->Height() ) == aSize, NULL ); in ResIdToPixbuf() 115 guchar *pPixbufData = ( guchar * )g_malloc( 4 * aSize.Width() * aSize.Height() ); in ResIdToPixbuf() 144 aSize.Width(), aSize.Height(), in ResIdToPixbuf() 145 aSize.Width() * 4, in ResIdToPixbuf()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fuins1.cxx | 243 Size aSize; in lcl_InsertMedia() local 248 aSize = pWindow->PixelToLogic( rPrefSize, MAP_100TH_MM ); in lcl_InsertMedia() 250 aSize = Application::GetDefaultDevice()->PixelToLogic( rPrefSize, MAP_100TH_MM ); in lcl_InsertMedia() 253 aSize = Size( 5000, 5000 ); in lcl_InsertMedia() 255 ScLimitSizeOnDrawPage( aSize, aInsertPos, pPage->GetSize() ); in lcl_InsertMedia() 258 aInsertPos.X() -= aSize.Width(); in lcl_InsertMedia() 260 SdrMediaObj* pObj = new SdrMediaObj( Rectangle( aInsertPos, aSize ) ); in lcl_InsertMedia()
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmap3.cxx | 429 maPrefSize = aSize; in ImplMakeMono() 506 maPrefSize = aSize; in ImplMakeMonoDither() 614 maPrefSize = aSize; in ImplMakeGreyscales() 696 maPrefSize = aSize; in ImplConvertUp() 822 maPrefSize = aSize; in ImplConvertDown() 899 maPrefSize = aSize; in ImplConvertGhosted() 1034 if( aSize.Width() && aSize.Height() ) in Scale() 2621 maPrefSize = aSize; in ImplDitherMatrix() 2634 if( ( aSize.Width() > 3 ) && ( aSize.Height() > 2 ) ) in ImplDitherFloyd() 2853 maPrefSize = aSize; in ImplDitherFloyd16() [all …]
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterScrollBar.cxx | 885 geometry::IntegerSize2D aSize (xBitmap->getSize()); in UpdateBorders() local 887 0, nBottom - aSize.Height, aWindowBox.Width, nBottom); in UpdateBorders() 888 nBottom -= aSize.Height + gnScrollBarGap; in UpdateBorders() 896 geometry::IntegerSize2D aSize (xBitmap->getSize()); in UpdateBorders() local 899 nBottom -= aSize.Height + gnScrollBarGap; in UpdateBorders() 1108 geometry::IntegerSize2D aSize (xBitmap->getSize()); in UpdateBorders() local 1110 nRight - aSize.Width,0, nRight, aWindowBox.Height); in UpdateBorders() 1111 nRight -= aSize.Width + nGap; in UpdateBorders() 1119 geometry::IntegerSize2D aSize (xBitmap->getSize()); in UpdateBorders() local 1121 nRight - aSize.Width,0, nRight, aWindowBox.Height); in UpdateBorders() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | textsh.cxx | 474 Size aSize(((SvxSizeItem*)pItem)->GetSize()); in TYPEINIT1() local 475 aSize = OutputDevice::LogicToLogic in TYPEINIT1() 476 ( aSize, MapMode( MAP_TWIP ), MapMode( MAP_100TH_MM ) ); in TYPEINIT1() 478 if(aSize.Width() > MINLAY&& aSize.Height()> MINLAY) in TYPEINIT1() 481 aSz.Width = aSize.Width(); in TYPEINIT1() 482 aSz.Height = aSize.Height(); in TYPEINIT1() 525 Size aSize(16 * MM50, 8 * MM50); in TYPEINIT1() local 535 aMgr.InsertFlyFrm(FLY_AT_PARA, aStartPos, aSize); in TYPEINIT1() 566 Size aSize(aMgr.GetSize()); in TYPEINIT1() local 575 aSize = ((SvxSizeItem *)pItem)->GetSize(); in TYPEINIT1() [all …]
|
/trunk/main/svtools/source/dialogs/ |
H A D | filedlg2.cxx | 67 p->SetPosSizePixel( aPos, aSize ); \ 543 Size aSize; in PreExecute() local 548 aSize = pLoadBtn->GetSizePixel(); in PreExecute() 554 aSize = pCancelBtn->GetSizePixel(); in PreExecute() 579 if( nMaxWidth > aSize.Width() ) in PreExecute() 583 aSize.Width() = nMaxWidth; in PreExecute() 586 pOkBtn->SetSizePixel( aSize ); in PreExecute() 588 pCancelBtn->SetSizePixel( aSize ); in PreExecute() 590 pLoadBtn->SetSizePixel( aSize ); in PreExecute() 593 nMaxWidth = aSize.Width(); in PreExecute() [all …]
|
/trunk/main/basctl/source/dlged/ |
H A D | dlged.cxx | 571 Size aSize = pWindow->PixelToLogic( Size( 400, 300 ) ); in IMPL_LINK() local 575 aSize.Width() -= aSize.Width() % aGridSize_.Width(); in IMPL_LINK() 576 aSize.Height() -= aSize.Height() % aGridSize_.Height(); in IMPL_LINK() 580 aPos.X() = (aOutSize.Width()>>1) - (aSize.Width()>>1); in IMPL_LINK() 581 aPos.Y() = (aOutSize.Height()>>1) - (aSize.Height()>>1); in IMPL_LINK() 597 pDlgEdForm->SetSnapRect( Rectangle( aPos, aSize ) ); in IMPL_LINK() 724 Size aSize = pWindow->PixelToLogic( Size( 96, 24 ) ); in CreateDefaultObject() local 726 aPoint.X() -= aSize.Width() / 2; in CreateDefaultObject() 727 aPoint.Y() -= aSize.Height() / 2; in CreateDefaultObject() 728 pDlgEdObj->SetSnapRect( Rectangle( aPoint, aSize ) ); in CreateDefaultObject() [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | numfmt.cxx | 745 Size aSize=aLbCategory.GetSizePixel(); in HideLanguage() local 753 aSize.Height()=nCatHeight; in HideLanguage() 756 aLbCategory.SetSizePixel(aSize); in HideLanguage() 1165 Size aSize=aLbFormat.GetSizePixel(); in UpdateFormatListBox_Impl() local 1170 aSize.Height()=nStdFormatHeight; in UpdateFormatListBox_Impl() 1171 aLbFormat.SetPosSizePixel(aPos,aSize); in UpdateFormatListBox_Impl() 1181 aSize.Height()=nCurFormatHeight; in UpdateFormatListBox_Impl() 1182 aLbFormat.SetPosSizePixel(aPos,aSize); in UpdateFormatListBox_Impl() 1899 Size aSize=aLbFormat.GetSizePixel(); in SetCategory() local 1916 aSize.Height()=nStdFormatHeight; in SetCategory() [all …]
|
/trunk/main/sd/source/ui/table/ |
H A D | tablefunction.cxx | 158 Size aSize( 14100, 200 ); in FuTable() local 164 aPos.X() -= aSize.Width() / 2; in FuTable() 165 aPos.Y() -= aSize.Height() / 2; in FuTable() 166 aRect = Rectangle(aPos, aSize); in FuTable() 267 Size aSize( 200, 200 ); in CreateTableFromRTF() local 269 Rectangle aRect (aPos, aSize); in CreateTableFromRTF()
|
/trunk/main/svtools/source/misc/ |
H A D | embedtransfer.cxx | 217 Size aSize; in FillTransferableObjectDescriptor() local 224 aSize = pGraphic->GetPrefSize(); in FillTransferableObjectDescriptor() 227 aSize = Size( 2500, 2500 ); in FillTransferableObjectDescriptor() 235 aSize = Size( aSz.Width, aSz.Height ); in FillTransferableObjectDescriptor() 240 aSize = Size( 5000, 5000 ); in FillTransferableObjectDescriptor() 247 rDesc.maSize = OutputDevice::LogicToLogic( aSize, aMapMode, MapMode( MAP_100TH_MM ) ); in FillTransferableObjectDescriptor()
|