/aoo41x/main/editeng/source/items/ |
H A D | paperinf.cxx | 52 return eUnit == MAP_100TH_MM ? aRet : OutputDevice::LogicToLogic(aRet, MAP_100TH_MM, eUnit); in GetPaperSize() 102 …Size aSize(eUnit == MAP_100TH_MM ? rSize : OutputDevice::LogicToLogic(rSize, eUnit, MAP_100TH_MM)); in GetSvxPaper() 113 nSize = eUnit == MAP_100TH_MM ? nSize : OutputDevice::LogicToLogic(nSize, eUnit, MAP_100TH_MM); in GetSloppyPaperDimension() 115 return eUnit == MAP_100TH_MM ? nSize : OutputDevice::LogicToLogic(nSize, MAP_100TH_MM, eUnit); in GetSloppyPaperDimension() 124 return eUnit == MAP_100TH_MM ? aRet : OutputDevice::LogicToLogic(aRet, MAP_100TH_MM, eUnit); in GetDefaultPaperSize()
|
/aoo41x/main/svx/source/sidebar/paragraph/ |
H A D | ParaPropertyPanel.cxx | 1027 nVal = OutputDevice::LogicToLogic( (long)nVal, MAP_100TH_MM, (MapUnit)m_eLRSpaceUnit ); in IMPL_LINK() 1031 nVal = OutputDevice::LogicToLogic( maLower, (MapUnit)(SFX_MAPUNIT_TWIP), MAP_100TH_MM ); in IMPL_LINK() 1032 nVal = OutputDevice::LogicToLogic( (long)nVal, MAP_100TH_MM, (MapUnit)m_eLRSpaceUnit ); in IMPL_LINK() 1047 nVal = OutputDevice::LogicToLogic( (long)nVal, MAP_100TH_MM, (MapUnit)m_eLRSpaceUnit ); in IMPL_LINK() 1056 nVal = OutputDevice::LogicToLogic( (long)nVal, MAP_100TH_MM, (MapUnit)m_eLRSpaceUnit ); in IMPL_LINK() 1281 maTxtLeft = OutputDevice::LogicToLogic( maTxtLeft, (MapUnit)m_eLRSpaceUnit, MAP_100TH_MM ); in StateChangedIndentImpl() 1401 maUpper = OutputDevice::LogicToLogic( maUpper, (MapUnit)m_eULSpaceUnit, MAP_100TH_MM ); in StateChangedULImpl() 1402 maUpper = OutputDevice::LogicToLogic( maUpper, MAP_100TH_MM, (MapUnit)(SFX_MAPUNIT_TWIP) ); in StateChangedULImpl() 1405 maLower = OutputDevice::LogicToLogic( maLower, (MapUnit)m_eULSpaceUnit, MAP_100TH_MM ); in StateChangedULImpl() 1406 maLower = OutputDevice::LogicToLogic( maLower, MAP_100TH_MM, (MapUnit)(SFX_MAPUNIT_TWIP) ); in StateChangedULImpl() [all …]
|
/aoo41x/main/xmloff/source/core/ |
H A D | xmlehelp.cxx | 62 case MAP_100TH_MM: in AddLength() 113 case MAP_100TH_MM: in AddLength() 115 long nFac2 = (MAP_100TH_MM == eValueUnit) ? 100 : 10; in AddLength() 118 case MAP_100TH_MM: in AddLength() 247 case MAP_100TH_MM: in GetConversionFactor() 321 case MAP_100TH_MM: in GetConversionFactor() 359 case MAP_100TH_MM: in GetConversionFactor() 363 case MAP_100TH_MM: in GetConversionFactor()
|
/aoo41x/main/sd/source/ui/func/ |
H A D | fuinsert.cxx | 350 Size aTmp = OutputDevice::LogicToLogic( aSize, MAP_100TH_MM, aUnit ); in DoExecute() 357 aSize = OutputDevice::LogicToLogic(aSize, aUnit, MAP_100TH_MM); in DoExecute() 414 Size aTmp( OutputDevice::LogicToLogic( aRect.GetSize(), MAP_100TH_MM, aUnit ) ); in DoExecute() 555 MapUnit aMapUnit = MAP_100TH_MM; in DoExecute() 576 Size aTmp = OutputDevice::LogicToLogic( aSize, MAP_100TH_MM, aMapUnit ); in DoExecute() 583 aSize = OutputDevice::LogicToLogic(aSize, aMapUnit, MAP_100TH_MM); in DoExecute() 647 MapMode aMapMode( MAP_100TH_MM ); in DoExecute() 670 MapMode( aMapUnit ), MapMode( MAP_100TH_MM ) ); in DoExecute() 688 … Size aTmp = OutputDevice::LogicToLogic( aRect.GetSize(), MAP_100TH_MM, aMapUnit ); in DoExecute() 777 aSize = mpWindow->PixelToLogic( aPrefSize, MAP_100TH_MM ); in DoExecute() [all …]
|
/aoo41x/main/starmath/source/ |
H A D | document.cxx | 294 pOutDev->SetMapMode( MapMode(MAP_100TH_MM) ); in ArrangeFormula() 297 DBG_ASSERT(pOutDev->GetMapMode().GetMapUnit() == MAP_100TH_MM, in ArrangeFormula() 550 if ( MAP_100TH_MM != eOld ) in SmPrinterAccess() 553 aMap.SetMapUnit( MAP_100TH_MM ); in SmPrinterAccess() 555 aTmp.X() = OutputDevice::LogicToLogic( aTmp.X(), eOld, MAP_100TH_MM ); in SmPrinterAccess() 556 aTmp.Y() = OutputDevice::LogicToLogic( aTmp.Y(), eOld, MAP_100TH_MM ); in SmPrinterAccess() 575 if ( MAP_100TH_MM != eOld ) in SmPrinterAccess() 578 aMap.SetMapUnit( MAP_100TH_MM ); in SmPrinterAccess() 580 aTmp.X() = OutputDevice::LogicToLogic( aTmp.X(), eOld, MAP_100TH_MM ); in SmPrinterAccess() 631 pPrinter->SetMapMode( MapMode(MAP_100TH_MM) ); in GetPrt() [all …]
|
H A D | view.cxx | 107 SetMapMode( MapMode(MAP_100TH_MM, Point(), aFraction, aFraction)); in SmGraphicWindow() 413 SetMapMode( MapMode(MAP_100TH_MM, Point(), aFraction, aFraction) ); in IMPL_LINK_INLINE_END() 427 SetMapMode(MapMode(MAP_100TH_MM)); in ZoomToFitInWindow() 820 Size aProvidedSize = GetWindow()->PixelToLogic( rSize, MAP_100TH_MM ); in InnerResizePixel() 1155 OutputMapMode = MapMode(MAP_100TH_MM); in Impl_Print() 1168 OutputMapMode = MapMode(MAP_100TH_MM, aZeroPoint, aFraction, aFraction); in Impl_Print() 1171 OutputMapMode = MapMode(MAP_100TH_MM); in Impl_Print() 1178 OutputMapMode = MapMode(MAP_100TH_MM, aZeroPoint, aFraction, aFraction); in Impl_Print() 1184 MapMode(MAP_100TH_MM)); in Impl_Print() 1189 aPos = rOutDev.PixelToLogic(rOutDev.LogicToPixel(aPos, MapMode(MAP_100TH_MM)), in Impl_Print() [all …]
|
/aoo41x/main/svtools/source/misc/ |
H A D | imap.cxx | 169 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() 363 MapMode aMap100( MAP_100TH_MM ); in ImpConstruct() 452 aNewPoint = Application::GetDefaultDevice()->LogicToPixel( aCenter, MapMode( MAP_100TH_MM ) ); in GetCenter() 471 …plication::GetDefaultDevice()->LogicToPixel( Size( nRadius, 0 ), MapMode( MAP_100TH_MM ) ).Width(); 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()
|
/aoo41x/main/cui/source/tabpages/ |
H A D | tabstpge.cxx | 240 if ( MAP_100TH_MM != eUnit ) in FillItemSet() 263 LogicToLogic( aTmpStop.GetTabPos(), MAP_100TH_MM, eUnit ); in FillItemSet() 301 if ( MAP_100TH_MM != eUnit ) in Reset() 310 LogicToLogic( aTmpStop.GetTabPos(), eUnit, MAP_100TH_MM ); in Reset() 326 (long)((const SfxUInt16Item*)pItem)->GetValue(), eUnit, MAP_100TH_MM ); in Reset() 405 nOffset = OutputDevice::LogicToLogic( nOffset, eUnit, MAP_100TH_MM ); in InitTabPos_Impl() 516 nOffset = OutputDevice::LogicToLogic( nOffset, eUnit, MAP_100TH_MM ); in IMPL_LINK()
|
H A D | tpline.cxx | 1003 aVDev.SetMapMode(MapMode(MAP_100TH_MM)); in Reset() 1049 aSymbolGraphic.SetPrefMapMode(MAP_100TH_MM); in Reset() 1078 MAP_100TH_MM ); in Reset() 1733 aVDev.SetMapMode(MapMode(MAP_100TH_MM)); in IMPL_LINK() 1921 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)ePoolUnit); in IMPL_LINK() 1964 nWidthVal = OutputDevice::LogicToLogic(nWidthVal,MAP_100TH_MM,(MapUnit)ePoolUnit ); in IMPL_LINK() 1965 nHeightVal = OutputDevice::LogicToLogic(nHeightVal,MAP_100TH_MM,(MapUnit)ePoolUnit); in IMPL_LINK() 1984 …ize.Height() = OutputDevice::LogicToLogic( aSymbolSize.Height(),(MapUnit)ePoolUnit, MAP_100TH_MM ); in IMPL_LINK() 1996 (MapUnit)ePoolUnit, MAP_100TH_MM ); in IMPL_LINK()
|
/aoo41x/main/filter/source/graphicfilter/ieps/ |
H A D | ieps.cxx | 145 aBmp.GetSizePixel(), MAP_100TH_MM ); in MakeAsMeta() 148 aBmp.GetPrefMapMode(), MAP_100TH_MM ); in MakeAsMeta() 155 aMtf.SetPrefMapMode( MAP_100TH_MM ); in MakeAsMeta() 668 … aSize = Application::GetDefaultDevice()->PixelToLogic( aBitmap.GetSizePixel(), MAP_100TH_MM ); in GraphicImport() 670 …e = Application::GetDefaultDevice()->LogicToLogic( aSize, aBitmap.GetPrefMapMode(), MAP_100TH_MM ); in GraphicImport() 674 aMtf.SetPrefMapMode( MAP_100TH_MM ); in GraphicImport()
|
/aoo41x/main/xmloff/source/transform/ |
H A D | TransformerBase.cxx | 612 if( SvXMLUnitConverter::convertMeasure(nMeasure, aAttrValue, MAP_100TH_MM ) ) in ProcessAttrList() 623 SvXMLUnitConverter::convertMeasure( aBuffer, nMeasure, MAP_100TH_MM, nDestUnit ); in ProcessAttrList() 774 if( SvXMLUnitConverter::convertMeasure(nMeasure, aAttrValue, MAP_100TH_MM ) ) in ProcessAttrList() 785 SvXMLUnitConverter::convertMeasure( aBuffer, nMeasure, MAP_100TH_MM, nDestUnit ); in ProcessAttrList() 801 if( SvXMLUnitConverter::convertMeasure(nMeasure, aAttrValue, MAP_100TH_MM ) ) in ProcessAttrList() 811 SvXMLUnitConverter::convertMeasure( aBuffer, nMeasure, MAP_100TH_MM, nDestUnit ); in ProcessAttrList() 826 if( SvXMLUnitConverter::convertMeasure(nMeasure, aAttrValue, MAP_100TH_MM ) ) in ProcessAttrList() 836 SvXMLUnitConverter::convertMeasure( aBuffer, nMeasure, MAP_100TH_MM, nDestUnit ); in ProcessAttrList()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | sdview3.cxx | 961 MapMode aMapMode( MAP_100TH_MM ); in InsertData() 971 … Size aTmp( OutputDevice::LogicToLogic( aObjDesc.maSize, MAP_100TH_MM, aMapUnit ) ); in InsertData() 992 … aSize = OutputDevice::LogicToLogic( Size(14100, 10000), MAP_100TH_MM, aMapUnit ); in InsertData() 998 aSize = OutputDevice::LogicToLogic( aSize, aMapUnit, MAP_100TH_MM ); in InsertData() 1131 MapMode aMapMode( MAP_100TH_MM ); in InsertData() 1150 … Size aTmp( OutputDevice::LogicToLogic( aObjDesc.maSize, MAP_100TH_MM, aMapUnit ) ); in InsertData() 1163 aSize = OutputDevice::LogicToLogic( Size(14100, 10000), MAP_100TH_MM, aMapUnit ); in InsertData() 1169 aSize = OutputDevice::LogicToLogic( aSize, aMapUnit, MAP_100TH_MM ); in InsertData() 1240 aGraphic.GetPrefMapMode(), MapMode(MAP_100TH_MM)); in InsertData()
|
H A D | sdview4.cxx | 194 aSize = pOutDev->PixelToLogic( rGraphic.GetPrefSize(), MAP_100TH_MM ); in InsertGraphic() 200 MapMode( MAP_100TH_MM ) ); in InsertGraphic() 464 aPrefSize = pWin->PixelToLogic( aPrefSize, MAP_100TH_MM ); in IMPL_LINK() 466 aPrefSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_100TH_MM ); in IMPL_LINK()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | print3.cxx | 788 mpImplData->mpPrinter->GetPaperSizePixel(), MapMode( MAP_100TH_MM ) ) ); in setupPrinter() 797 mpImplData->mpPrinter->GetPaperSizePixel(), MapMode( MAP_100TH_MM ) ) ); in setupPrinter() 873 const MapMode aMapMode( MAP_100TH_MM ); in getPageCountProtected() 884 const MapMode aMapMode( MAP_100TH_MM ); in getPageParametersProtected() 920 const MapMode aMapMode( MAP_100TH_MM ); in getPageFile() 974 o_rMtf.AddAction( new MetaMapModeAction( MapMode( MAP_100TH_MM ) ) ); in appendSubPage() 1009 mpImplData->mpPrinter->SetMapMode( MapMode( MAP_100TH_MM ) ); in getFilteredPageFile() 1049 o_rMtf.SetPrefMapMode( MapMode( MAP_100TH_MM ) ); in getFilteredPageFile() 1050 o_rMtf.AddAction( new MetaMapModeAction( MapMode( MAP_100TH_MM ) ) ); in getFilteredPageFile() 1115 mpImplData->mpPrinter->SetMapMode( MapMode( MAP_100TH_MM ) ); in getFilteredPageFile() [all …]
|
/aoo41x/main/svx/source/sdr/contact/ |
H A D | viewcontactofgraphic.cxx | 121 aPrefSize = Application::GetDefaultDevice()->PixelToLogic(aPrefSize, MAP_100TH_MM); in createVIP2DSForPresObj() 125 …n::GetDefaultDevice()->LogicToLogic(aPrefSize, GetGrafObject().GetGrafPrefMapMode(), MAP_100TH_MM); in createVIP2DSForPresObj() 213 …refSize = Application::GetDefaultDevice()->PixelToLogic(aDraftBitmap.GetSizePixel(), MAP_100TH_MM); in createVIP2DSForDraft() 217 …lication::GetDefaultDevice()->LogicToLogic(aPrefSize, aDraftBitmap.GetPrefMapMode(), MAP_100TH_MM); in createVIP2DSForDraft()
|
/aoo41x/main/basctl/source/dlged/ |
H A D | dlgedobj.cxx | 170 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates() 171 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates() 172 aFormPos = pDevice->LogicToPixel( aFormPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates() 220 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToFormCoordinates() 221 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_100TH_MM ) ); in TransformSdrToFormCoordinates() 305 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_100TH_MM ) ); in TransformControlToSdrCoordinates() 306 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_100TH_MM ) ); in TransformControlToSdrCoordinates() 355 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_100TH_MM ) ); in TransformFormToSdrCoordinates() 356 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_100TH_MM ) ); in TransformFormToSdrCoordinates()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | output3.cxx | 99 …pDev->SetMapMode( MapMode( MAP_100TH_MM, aMMOffset, aOldMode.GetScaleX(), aOldMode.GetScaleY() ) ); in PrePrintDrawingLayer() 125 …pDev->SetMapMode( MapMode( MAP_100TH_MM, rMMOffset, aOldMode.GetScaleX(), aOldMode.GetScaleY() ) ); in PostPrintDrawingLayer() 173 …pDev->SetMapMode( MapMode( MAP_100TH_MM, rMMOffset, aOldMode.GetScaleX(), aOldMode.GetScaleY() ) ); in PrintDrawingLayer()
|
H A D | viewfun7.cxx | 101 pRef->SetMapMode( MapMode(MAP_100TH_MM) ); in PasteDraw() 311 MapMode aMapMode( MAP_100TH_MM ); in PasteObject() 318 MapUnit aMap100 = MAP_100TH_MM; in PasteObject() 428 MapMode aDestMap( MAP_100TH_MM ); in PasteGraphic()
|
H A D | drawvie4.cxx | 312 MapMode aMapMode( MAP_100TH_MM ); in SetMarkedOriginalSize() 325 aUnit, MAP_100TH_MM ); in SetMarkedOriginalSize() 339 MapMode aDestMap( MAP_100TH_MM ); in SetMarkedOriginalSize()
|
H A D | preview.cxx | 348 MapMode aMMMode( MAP_100TH_MM, Point(), aHorPrevZoom, aPreviewZoom ); in DoPrint() 698 MapMode aMMMode( MAP_100TH_MM, Point(), aHorPrevZoom, aPreviewZoom ); in SetZoom() 775 Size aMarginSize( LogicToPixel( Size( 100, 100 ), MAP_100TH_MM ) ); in GetOptimalZoom() 933 MapMode aMMMode( MAP_100TH_MM, Point(), aHorPrevZoom, aPreviewZoom ); in MouseButtonDown() 1016 MapMode aMMMode( MAP_100TH_MM, Point(), aHorPrevZoom, aPreviewZoom ); in MouseButtonUp() 1260 MapMode aMMMode( MAP_100TH_MM, Point(), aHorPrevZoom, aPreviewZoom ); in MouseMove() 1508 MapMode aMMMode( MAP_100TH_MM, Point(), aHorPrevZoom, aPreviewZoom ); in DragMove()
|
/aoo41x/main/sc/source/ui/drawfunc/ |
H A D | fuins2.cxx | 334 MapMode aMap100( MAP_100TH_MM ); in FuInsertOLE() 335 MapUnit aMapUnit = MAP_100TH_MM; in FuInsertOLE() 362 Size aTmp = OutputDevice::LogicToLogic( aSize, MAP_100TH_MM, aMapUnit ); in FuInsertOLE() 401 aNewSize = OutputDevice::LogicToLogic( aNewSize, aMapUnit, MAP_100TH_MM ); in FuInsertOLE() 579 aSize = Window::LogicToLogic( aSize, MapMode( MAP_100TH_MM ), MapMode( aMapUnit ) ); in FuInsertChart()
|
H A D | fuins1.cxx | 187 MapMode aDestMap( MAP_100TH_MM ); in lcl_InsertGraphic() 248 aSize = pWindow->PixelToLogic( rPrefSize, MAP_100TH_MM ); in lcl_InsertMedia() 250 aSize = Application::GetDefaultDevice()->PixelToLogic( rPrefSize, MAP_100TH_MM ); in lcl_InsertMedia()
|
/aoo41x/main/svtools/source/graphic/ |
H A D | provider.cxx | 529 …MM = OutputDevice::LogicToLogic( rGraphic.GetPrefSize(), rGraphic.GetPrefMapMode(), MAP_100TH_MM ); in ImplCalculateCropRect() 533 …ize100thMM = Application::GetDefaultDevice()->PixelToLogic( rGraphic.GetPrefSize(), MAP_100TH_MM ); in ImplCalculateCropRect() 653 …Size aMtfSize( aDummyVDev.LogicToLogic( aMtf.GetPrefSize(), aMtf.GetPrefMapMode(), MAP_100TH_MM ) … in ImplApplyFilterData() 656 MapMode aNewMapMode( MAP_100TH_MM ); in ImplApplyFilterData() 706 Size aSize100thmm2( aDummyVDev.PixelToLogic( aSize100thmm, MAP_100TH_MM ) ); in ImplApplyFilterData()
|
/aoo41x/main/sd/source/ui/docshell/ |
H A D | docshel2.cxx | 177 MapMode aDstMapMode(MAP_100TH_MM); in GetVisArea() 179 aSrcMapMode.SetMapUnit(MAP_100TH_MM); in GetVisArea() 264 MapMode aMapMode( MAP_100TH_MM ); in GetPagePreviewBitmap()
|
/aoo41x/main/svx/source/dialog/ |
H A D | _contdlg.cxx | 67 …String aVal = UniString::CreateFromInt64( MetricField::ConvertValue( nVal_100, 2, MAP_100TH_MM, eF… in GetUnitString() 555 const MapMode aMap100( MAP_100TH_MM ); in SetPolyPolygon() 592 const MapMode aMap100( MAP_100TH_MM ); in GetPolyPolygon() 687 const MapMode aMapMode( MAP_100TH_MM ); in ReducePoints() 950 …ctangle aWorkRect = aContourWnd.LogicToPixel( aContourWnd.GetWorkRect(), MapMode( MAP_100TH_MM ) ); in IMPL_LINK()
|