Home
last modified time | relevance | path

Searched refs:GetDefaultDevice (Results 1 – 25 of 121) sorted by relevance

12345

/trunk/main/svtools/source/misc/
H A Dimap.cxx169 return Application::GetDefaultDevice()->LogicToPixel( rLogPoint, MapMode( MAP_100TH_MM ) ); in GetPixelPoint()
181 return Application::GetDefaultDevice()->PixelToLogic( rPixelPoint, MapMode( MAP_100TH_MM ) ); in GetLogPoint()
229 aRect = Application::GetDefaultDevice()->PixelToLogic( rRect, MapMode( MAP_100TH_MM ) ); in ImpConstruct()
294 aNewRect = Application::GetDefaultDevice()->LogicToPixel( aRect, MapMode( MAP_100TH_MM ) ); in GetRectangle()
365 aCenter = Application::GetDefaultDevice()->PixelToLogic( rCenter, aMap100 ); in ImpConstruct()
366 nRadius = Application::GetDefaultDevice()->PixelToLogic( Size( nRad, 0 ), aMap100 ).Width(); in ImpConstruct()
452 aNewPoint = Application::GetDefaultDevice()->LogicToPixel( aCenter, MapMode( MAP_100TH_MM ) ); in GetCenter()
471 …nNewRadius = Application::GetDefaultDevice()->LogicToPixel( Size( nRadius, 0 ), MapMode( MAP_100TH… in GetRadius()
557 aPoly = Application::GetDefaultDevice()->PixelToLogic( rPoly, MapMode( MAP_100TH_MM ) ); in ImpConstruct()
631 aNewPoly = Application::GetDefaultDevice()->LogicToPixel( aPoly, MapMode( MAP_100TH_MM ) ); in GetPolygon()
H A Dimap2.cxx65 …const Point aPixPt( Application::GetDefaultDevice()->LogicToPixel( rPoint100, MapMode( MAP_100TH_M… in AppendCERNCoords()
83 …const Point aPixPt( Application::GetDefaultDevice()->LogicToPixel( rPoint100, MapMode( MAP_100TH_M… in AppendNCSACoords()
/trunk/main/sw/source/filter/html/
H A Dhtmldraw.cxx106 if( (rPixSpace.Width() || rPixSpace.Height()) && Application::GetDefaultDevice() ) in InsertDrawObject()
110 Application::GetDefaultDevice()->PixelToLogic( aTwipSpc, in InsertDrawObject()
488 if( (aTwipSz.Width() || aTwipSz.Height()) && Application::GetDefaultDevice() ) in NewMarquee()
490 aTwipSz = Application::GetDefaultDevice() in NewMarquee()
758 else if( nAmount && Application::GetDefaultDevice() ) in OutHTML_DrawFrmFmtAsMarquee()
760 nAmount = (sal_uInt16)(Application::GetDefaultDevice() in OutHTML_DrawFrmFmtAsMarquee()
784 Application::GetDefaultDevice() ) in OutHTML_DrawFrmFmtAsMarquee()
787 Application::GetDefaultDevice()->LogicToPixel( aTwipSz, in OutHTML_DrawFrmFmtAsMarquee()
H A Dhtmltabw.cxx128 if( rValue && Application::GetDefaultDevice() ) in Pixelize()
131 aSz = Application::GetDefaultDevice()->LogicToPixel( aSz, MapMode(MAP_TWIP) ); in Pixelize()
134 aSz = Application::GetDefaultDevice()->PixelToLogic( aSz, MapMode(MAP_TWIP) ); in Pixelize()
368 if( (aPixelSz.Width() || aPixelSz.Height()) && Application::GetDefaultDevice() ) in OutTableCell()
371 aPixelSz = Application::GetDefaultDevice()->LogicToPixel( aPixelSz, in OutTableCell()
663 else if( Application::GetDefaultDevice() ) in Write()
665 long nPixWidth = Application::GetDefaultDevice()->LogicToPixel( in Write()
674 ASSERT( Application::GetDefaultDevice(), "kein Application-Window!?" ); in Write()
679 if( (nHSpace || nVSpace) && Application::GetDefaultDevice()) in Write()
682 Application::GetDefaultDevice()->LogicToPixel( Size(nHSpace,nVSpace), in Write()
H A Dhtmlfly.cxx642 Application::GetDefaultDevice() ) in OutFrmFmtOptions()
645 Application::GetDefaultDevice()->LogicToPixel( aTwipSpc, in OutFrmFmtOptions()
715 Application::GetDefaultDevice() ) in OutFrmFmtOptions()
718 Application::GetDefaultDevice()->LogicToPixel( aTwipSz, in OutFrmFmtOptions()
1104 Application::GetDefaultDevice() ) in OutHTML_Image()
1107 Application::GetDefaultDevice()->LogicToPixel( aTwipBorder, in OutHTML_Image()
1269 Application::GetDefaultDevice()->LogicToPixel( rSize, in OutHTML_BulletImage()
1393 if( nGutter && Application::GetDefaultDevice() ) in OutHTML_FrmFmtAsMulticol()
1395 nGutter = (sal_uInt16)Application::GetDefaultDevice() in OutHTML_FrmFmtAsMulticol()
1691 nSize > HTML_PARSPACE && Application::GetDefaultDevice() ) in OutHTML_HeaderFooter()
[all …]
H A Dhtmlsect.cxx614 if( !bPrcWidth && nWidth && Application::GetDefaultDevice() ) in NewMultiCol()
616 nTwipWidth = (sal_uInt16)Application::GetDefaultDevice() in NewMultiCol()
705 if( nGutter && Application::GetDefaultDevice() ) in NewMultiCol()
707 nGutter = (sal_uInt16)Application::GetDefaultDevice() in NewMultiCol()
H A Dhtmlform.cxx487 if( Application::GetDefaultDevice() ) in init()
490 aTmp = Application::GetDefaultDevice() in init()
794 if( Application::GetDefaultDevice() ) in SetControlSize()
797 aTmpSz = Application::GetDefaultDevice() in SetControlSize()
1790 if( (aSz.Width() || aSz.Height()) && Application::GetDefaultDevice() ) in InsertInput()
1792 aSz = Application::GetDefaultDevice() in InsertInput()
1886 if( Application::GetDefaultDevice() ) in InsertInput()
1889 aNewSz = Application::GetDefaultDevice() in InsertInput()
H A Dhtmlplug.cxx140 if( (aTwipSz.Width() || aTwipSz.Height()) && Application::GetDefaultDevice() ) in SetFixSize()
143 Application::GetDefaultDevice()->PixelToLogic( aTwipSz, in SetFixSize()
215 if( (rPixSpace.Width() || rPixSpace.Height()) && Application::GetDefaultDevice() ) in SetSpace()
219 Application::GetDefaultDevice()->PixelToLogic( aTwipSpc, in SetSpace()
/trunk/main/svtools/source/graphic/
H A Dgrfmgr.cxx352 … aSize100 = Application::GetDefaultDevice()->PixelToLogic( maGraphic.GetPrefSize(), aMap100 ); in ImplGetCropParams()
972 aCropLeftTop = Application::GetDefaultDevice()->LogicToPixel( in GetTransformedGraphic()
975 aCropRightBottom = Application::GetDefaultDevice()->LogicToPixel( in GetTransformedGraphic()
1045 aCropLeftTop = Application::GetDefaultDevice()->LogicToPixel( in GetTransformedGraphic()
1048 aCropRightBottom = Application::GetDefaultDevice()->LogicToPixel( in GetTransformedGraphic()
1055 aCropLeftTop = Application::GetDefaultDevice()->LogicToPixel( in GetTransformedGraphic()
1058 aCropRightBottom = Application::GetDefaultDevice()->LogicToPixel( in GetTransformedGraphic()
1065 Application::GetDefaultDevice()->LogicToPixel( in GetTransformedGraphic()
1469 aBitmapSize = Application::GetDefaultDevice()->PixelToLogic(aBitmapSize, aMapMode100thmm); in calculateCropScaling()
1473 …aBitmapSize = Application::GetDefaultDevice()->LogicToLogic(aBitmapSize, GetPrefMapMode(), aMapMod… in calculateCropScaling()
/trunk/main/sd/source/ui/presenter/
H A DPresenterTextView.cxx312 mpOutputDevice(new VirtualDevice(*Application::GetDefaultDevice(), 0, 0)), in Implementation()
387 Font aFont = Application::GetDefaultDevice()->GetDefaultFont( in CreateEditEngine()
404 Application::GetDefaultDevice()->GetTextWidth( in CreateEditEngine()
486 Application::GetDefaultDevice()->LogicToPixel( in SetFontDescriptor()
573 mpOutputDevice = new VirtualDevice(*Application::GetDefaultDevice(), 0, 0); in GetBitmap()
/trunk/main/svx/source/sdr/contact/
H A Dviewcontactofgraphic.cxx121 aPrefSize = Application::GetDefaultDevice()->PixelToLogic(aPrefSize, MAP_100TH_MM); in createVIP2DSForPresObj()
125 …aPrefSize = Application::GetDefaultDevice()->LogicToLogic(aPrefSize, GetGrafObject().GetGrafPrefMa… in createVIP2DSForPresObj()
213 …aPrefSize = Application::GetDefaultDevice()->PixelToLogic(aDraftBitmap.GetSizePixel(), MAP_100TH_M… in createVIP2DSForDraft()
217 …aPrefSize = Application::GetDefaultDevice()->LogicToLogic(aPrefSize, aDraftBitmap.GetPrefMapMode()… in createVIP2DSForDraft()
/trunk/main/filter/source/graphicfilter/ieps/
H A Dieps.cxx144 aSize = Application::GetDefaultDevice()->PixelToLogic( in MakeAsMeta()
147 aSize = Application::GetDefaultDevice()->LogicToLogic( aSize, in MakeAsMeta()
668 … aSize = Application::GetDefaultDevice()->PixelToLogic( aBitmap.GetSizePixel(), MAP_100TH_MM ); in GraphicImport()
670 …aSize = Application::GetDefaultDevice()->LogicToLogic( aSize, aBitmap.GetPrefMapMode(), MAP_100TH_… in GraphicImport()
/trunk/main/sd/source/ui/view/
H A Dviewoverlaymanager.cxx211 pDev = Application::GetDefaultDevice(); in onMouseEnter()
389 pDev = Application::GetDefaultDevice(); in createOverlayImage()
424 pDev = Application::GetDefaultDevice(); in addCustomHandles()
/trunk/main/svx/source/sdr/primitive2d/
H A Dsdrolecontentprimitive2d.cxx88 … aPrefSize = Application::GetDefaultDevice()->PixelToLogic(aPrefSize, MAP_100TH_MM); in create2DDecomposition()
92 …aPrefSize = Application::GetDefaultDevice()->LogicToLogic(aPrefSize, aGraphic.GetPrefMapMode(), MA… in create2DDecomposition()
/trunk/main/svx/source/dialog/
H A D_contdlg.cxx282 OutputDevice* pOutDev = Application::GetDefaultDevice(); in ScaleContour()
557 OutputDevice* pOutDev = Application::GetDefaultDevice(); in SetPolyPolygon()
594 OutputDevice* pOutDev = Application::GetDefaultDevice(); in GetPolyPolygon()
690 OutputDevice* pOutDev = Application::GetDefaultDevice(); in ReducePoints()
/trunk/main/sd/source/ui/notes/
H A DEditWindow.cxx181 Font aFont = Application::GetDefaultDevice()->GetDefaultFont( in CreateEditEngine()
195 Application::GetDefaultDevice()->LogicToPixel( in CreateEditEngine()
208 Application::GetDefaultDevice()->GetTextWidth( in CreateEditEngine()
/trunk/main/extensions/source/propctrlr/
H A Dfontdialog.cxx218 …Font aDefaultVCLFont = Application::GetDefaultDevice()->GetSettings().GetStyleSettings().GetAppFon… in translatePropertiesToItems()
509 …Font aDefaultVCLFont = Application::GetDefaultDevice()->GetSettings().GetStyleSettings().GetAppFon… in createItemSet()
534 *pCounter++ = new SvxFontListItem (new FontList(Application::GetDefaultDevice()), CFID_FONTLIST); in createItemSet()
/trunk/main/svx/source/unodraw/
H A DUnoGraphicExporter.cxx234 …const Size aSize100th(Application::GetDefaultDevice()->PixelToLogic(*pSize, MapMode(MAP_100TH_MM))… in GetBitmapFromMetaFile()
245 …const Size aSize100th(Application::GetDefaultDevice()->LogicToLogic(rMtf.GetPrefSize(), rMtf.GetPr… in GetBitmapFromMetaFile()
265 … const Rectangle aRect(rMtf.GetBoundRect(*Application::GetDefaultDevice(), &aHairlineRect)); in GetBitmapFromMetaFile()
721 const Size aSizePix( Application::GetDefaultDevice()->LogicToPixel( aSize, aMap ) ); in GetGraphic()
/trunk/main/vcl/source/gdi/
H A Dvirdev.cxx140 ImplInitVirDev( Application::GetDefaultDevice(), 1, 1, nBitCount ); in VirtualDevice()
176 ImplInitVirDev( Application::GetDefaultDevice(), 1, 1, nBitCount, pData ); in VirtualDevice()
/trunk/main/toolkit/source/controls/
H A Dtabpagemodel.cxx250 OutputDevice*pOutDev = Application::GetDefaultDevice(); in windowResized()
288 OutputDevice*pOutDev = Application::GetDefaultDevice(); in windowMoved()
H A Ddialogcontrol.cxx327 OutputDevice*pOutDev = Application::GetDefaultDevice(); in windowResized()
368 OutputDevice*pOutDev = Application::GetDefaultDevice(); in windowMoved()
/trunk/main/drawinglayer/source/primitive2d/
H A Dtextlayoutdevice.cxx412 … const FontMetric aUnscaledFontMetric(Application::GetDefaultDevice()->GetFontMetric(aRetval)); in getVclFontFromFontAttribute()
465 …const FontMetric aUnscaledFontMetric(Application::GetDefaultDevice()->GetFontMetric(aUnscaledFont)… in getFontAttributeFromVclFont()
H A Dgraphicprimitivehelper2d.cxx119 VirtualDevice aVirtualDevice(*Application::GetDefaultDevice()); in animatedBitmapExPreparator()
120 VirtualDevice aVirtualDeviceMask(*Application::GetDefaultDevice(), 1L); in animatedBitmapExPreparator()
753 *Application::GetDefaultDevice()).GetSize()); in create2DDecompositionOfGraphic()
/trunk/main/sd/source/ui/docshell/
H A Ddocshel2.cxx181 aSize = Application::GetDefaultDevice()->LogicToLogic(aSize, &aSrcMapMode, &aDstMapMode); in GetVisArea()
267 VirtualDevice aVDev( *Application::GetDefaultDevice() ); in GetPagePreviewBitmap()
/trunk/main/basctl/source/dlged/
H A Ddlgedobj.cxx166 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformSdrToControlCoordinates()
216 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformSdrToFormCoordinates()
282 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformControlToSdrCoordinates()
328 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformFormToSdrCoordinates()

Completed in 346 milliseconds

12345