/aoo42x/main/sd/source/ui/tools/ |
H A D | PreviewRenderer.cxx | 199 aMapMode.SetScaleX(nFinalScale); in RenderSubstitution() 200 aMapMode.SetScaleY(nFinalScale); in RenderSubstitution() 427 aMapMode.SetMapUnit(MAP_PIXEL); in SetupOutputSize() 434 aMapMode.SetScaleX( in SetupOutputSize() 436 aMapMode.SetScaleY( in SetupOutputSize() 438 aMapMode.SetOrigin(mpPreviewDevice->PixelToLogic(Point(nFrameWidth,nFrameWidth),aMapMode)); in SetupOutputSize() 444 aMapMode.SetScaleX(1.0); in SetupOutputSize() 445 aMapMode.SetScaleY(1.0); in SetupOutputSize() 514 aMapMode.SetOrigin (Point()); in ScaleBitmap() 515 aMapMode.SetScaleX (1.0); in ScaleBitmap() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | measctrl.cxx | 58 MapMode aMapMode = GetMapMode(); in SvxXMeasurePreview() local 59 aMapMode.SetScaleX( Fraction( 1, 2 ) ); in SvxXMeasurePreview() 60 aMapMode.SetScaleY( Fraction( 1, 2 ) ); in SvxXMeasurePreview() 61 SetMapMode( aMapMode ); in SvxXMeasurePreview() 138 MapMode aMapMode = GetMapMode(); in MouseButtonDown() local 163 aMapMode.SetScaleX( aXFrac ); in MouseButtonDown() 164 aMapMode.SetScaleY( aYFrac ); in MouseButtonDown() 165 SetMapMode( aMapMode ); in MouseButtonDown() 169 Point aPt( aMapMode.GetOrigin() ); in MouseButtonDown() 175 aMapMode.SetOrigin( aPt ); in MouseButtonDown() [all …]
|
H A D | connctrl.cxx | 149 MapMode aMapMode = GetMapMode(); in Construct() local 151 SetMapMode( aMapMode ); in Construct() 153 MapMode aDisplayMap( aMapMode ); in Construct() 321 MapMode aMapMode = GetMapMode(); in MouseButtonDown() local 322 Fraction aXFrac = aMapMode.GetScaleX(); in MouseButtonDown() 346 aMapMode.SetScaleX( aXFrac ); in MouseButtonDown() 347 aMapMode.SetScaleY( aYFrac ); in MouseButtonDown() 348 SetMapMode( aMapMode ); in MouseButtonDown() 352 Point aPt( aMapMode.GetOrigin() ); in MouseButtonDown() 358 aMapMode.SetOrigin( aPt ); in MouseButtonDown() [all …]
|
H A D | pagectrl.cxx | 112 MapMode aMapMode(GetMapMode()); in Paint() local 116 aMapMode.SetScaleX(aYScale); in Paint() 117 aMapMode.SetScaleY(aYScale); in Paint() 121 aMapMode.SetScaleX(aXScale); in Paint() 122 aMapMode.SetScaleY(aXScale); in Paint() 124 SetMapMode(aMapMode); in Paint() 134 Fraction aX = aMapMode.GetScaleX(); in Paint() 135 Fraction aY = aMapMode.GetScaleY(); in Paint() 139 aMapMode.SetScaleX(aX); in Paint() 140 aMapMode.SetScaleY(aY); in Paint() [all …]
|
/aoo42x/main/editeng/source/uno/ |
H A D | unoviwed.cxx | 60 MapMode aMapMode(pOutDev->GetMapMode()); in GetVisArea() local 63 aMapMode.GetMapUnit() ); in GetVisArea() 64 aMapMode.SetOrigin(Point()); in GetVisArea() 65 return pOutDev->LogicToPixel( aVisArea, aMapMode ); in GetVisArea() 78 MapMode aMapMode(pOutDev->GetMapMode()); in LogicToPixel() local 81 aMapMode.SetOrigin(Point()); in LogicToPixel() 82 return pOutDev->LogicToPixel( aPoint, aMapMode ); in LogicToPixel() 94 MapMode aMapMode(pOutDev->GetMapMode()); in PixelToLogic() local 95 aMapMode.SetOrigin(Point()); in PixelToLogic() 96 Point aPoint( pOutDev->PixelToLogic( rPoint, aMapMode ) ); in PixelToLogic() [all …]
|
H A D | unoviwou.cxx | 77 MapMode aMapMode(pOutDev->GetMapMode()); in GetVisArea() local 80 aMapMode.GetMapUnit() ); in GetVisArea() 81 aMapMode.SetOrigin(Point()); in GetVisArea() 82 return pOutDev->LogicToPixel( aVisArea, aMapMode ); in GetVisArea() 102 MapMode aMapMode(pOutDev->GetMapMode()); in LogicToPixel() local 105 aMapMode.SetOrigin(Point()); in LogicToPixel() 106 return pOutDev->LogicToPixel( aPoint2, aMapMode ); in LogicToPixel() 118 MapMode aMapMode(pOutDev->GetMapMode()); in PixelToLogic() local 119 aMapMode.SetOrigin(Point()); in PixelToLogic() 120 Point aPoint1( pOutDev->PixelToLogic( rPoint, aMapMode ) ); in PixelToLogic() [all …]
|
/aoo42x/main/sc/source/ui/view/ |
H A D | notemark.cxx | 55 aMapMode( rMap ), in ScNoteMarker() 68 aVisRect = pWindow->PixelToLogic( aVisPixel, aMapMode ); in ScNoteMarker() 152 lcl_DrawWin( pObject, pWindow, aMapMode ); in Draw() 156 Size aWinSize = pWindow->PixelToLogic( pWindow->GetOutputSizePixel(), aMapMode ); in Draw() 159 lcl_MoveMapMode( aMapMode, Size( aWinSize.Width(), 0 ) ) ); in Draw() 162 lcl_MoveMapMode( aMapMode, Size( 0, aWinSize.Height() ) ) ); in Draw() 164 lcl_DrawWin( pObject, pDiagWin, lcl_MoveMapMode( aMapMode, aWinSize ) ); in Draw() 177 Size aWinSize = pWindow->PixelToLogic( pWindow->GetOutputSizePixel(), aMapMode ); in InvalidateWin() 180 lcl_MoveMapMode( aMapMode, Size( aWinSize.Width(), 0 ) ), in InvalidateWin() 184 lcl_MoveMapMode( aMapMode, Size( 0, aWinSize.Height() ) ), in InvalidateWin() [all …]
|
H A D | gridwin5.cxx | 231 MapMode aMapMode = GetDrawMapMode( sal_True ); in ShowNoteMarker() local 232 Size aLeftSize = pLeft->PixelToLogic( pLeft->GetOutputSizePixel(), aMapMode ); in ShowNoteMarker() 233 Point aOrigin = aMapMode.GetOrigin(); in ShowNoteMarker() 238 aMapMode.SetOrigin( aOrigin ); in ShowNoteMarker() 242 aMapMode, bLeftEdge, bFast, bKeyboard ); in ShowNoteMarker()
|
/aoo42x/main/sd/source/ui/docshell/ |
H A D | docshel2.cxx | 123 MapMode aMapMode = aOldMapMode; in Draw() local 127 aMapMode.SetOrigin(aOrigin); in Draw() 128 pOut->SetMapMode(aMapMode); in Draw() 264 MapMode aMapMode( MAP_100TH_MM ); in GetPagePreviewBitmap() local 269 aVDev.SetMapMode( aMapMode ); in GetPagePreviewBitmap() 275 aMapMode.SetScaleX( aFrac ); in GetPagePreviewBitmap() 276 aMapMode.SetScaleY( aFrac ); in GetPagePreviewBitmap() 277 aVDev.SetMapMode( aMapMode ); in GetPagePreviewBitmap() 282 aMapMode.SetScaleX( aFrac ); in GetPagePreviewBitmap() 283 aMapMode.SetScaleY( aFrac ); in GetPagePreviewBitmap() [all …]
|
/aoo42x/main/sd/source/ui/accessibility/ |
H A D | AccessibleOutlineEditSource.cxx | 141 MapMode aMapMode(mrWindow.GetMapMode()); in GetVisArea() local 142 aMapMode.SetOrigin(Point()); in GetVisArea() 143 return mrWindow.LogicToPixel( aVisArea, aMapMode ); in GetVisArea() 155 MapMode aMapMode(mrWindow.GetMapMode()); in LogicToPixel() local 156 aMapMode.SetOrigin(Point()); in LogicToPixel() 157 return mrWindow.LogicToPixel( aPoint, aMapMode ); in LogicToPixel() 167 MapMode aMapMode(mrWindow.GetMapMode()); in PixelToLogic() local 168 aMapMode.SetOrigin(Point()); in PixelToLogic() 169 Point aPoint( mrWindow.PixelToLogic( rPoint, aMapMode ) ); in PixelToLogic()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | impgraph.cxx | 826 MapMode aMapMode; in ImplGetPrefMapMode() local 829 aMapMode = maSwapInfo.maPrefMapMode; in ImplGetPrefMapMode() 864 return aMapMode; in ImplGetPrefMapMode() 1127 MapMode aMapMode; in ImplReadEmbedded() local 1160 rIStm >> aMapMode; in ImplReadEmbedded() 1214 if( aMapMode != MapMode() ) in ImplReadEmbedded() 1216 maEx.SetPrefMapMode( aMapMode ); in ImplReadEmbedded() 1222 maMetaFile.SetPrefMapMode( aMapMode ); in ImplReadEmbedded() 1339 ImplSetPrefMapMode( aMapMode ); in ImplReadEmbedded() 1382 rOStm << aMapMode; in ImplWriteEmbedded() [all …]
|
H A D | pdfwriter_impl2.cxx | 452 MapMode aMapMode( pDummyVDev->GetMapMode() ); in playMetafile() local 453 aMapMode.SetOrigin( aPoint ); in playMetafile() 454 pVDev->SetMapMode( aMapMode ); in playMetafile() 464 aTmpMtf.SetPrefMapMode( aMapMode ); in playMetafile() 511 MapMode aMapMode( aSubstitute.GetPrefMapMode() ); in playMetafile() local 512 Size aOutSize( pDummyVDev->LogicToLogic( pA->GetSize(), pDummyVDev->GetMapMode(), aMapMode ) ); in playMetafile() 513 aMapMode.SetScaleX( Fraction( aOutSize.Width(), aSubstitute.GetPrefSize().Width() ) ); in playMetafile() 514 aMapMode.SetScaleY( Fraction( aOutSize.Height(), aSubstitute.GetPrefSize().Height() ) ); in playMetafile() 515 …aMapMode.SetOrigin( pDummyVDev->LogicToLogic( pA->GetPoint(), pDummyVDev->GetMapMode(), aMapMode )… in playMetafile() 517 m_rOuterFace.SetMapMode( aMapMode ); in playMetafile() [all …]
|
/aoo42x/main/sw/source/core/view/ |
H A D | viewpg.cxx | 124 MapMode aMapMode( MAP_TWIP ); in PrintProspect() local 125 Size aPrtSize( pPrinter->PixelToLogic( pPrinter->GetPaperSizePixel(), aMapMode ) ); in PrintProspect() 195 aMapMode.SetOrigin( Point() ); in PrintProspect() 214 aMapMode.SetScaleY( aScY ); in PrintProspect() 215 aMapMode.SetScaleX( aScY ); in PrintProspect() 218 Size aTmpPrtSize( pPrinter->PixelToLogic( pPrinter->GetPaperSizePixel(), aMapMode ) ); in PrintProspect() 233 aMapMode.SetOrigin( aPos ); in PrintProspect() 234 pPrinter->SetMapMode( aMapMode ); in PrintProspect()
|
H A D | pagepreviewlayout.cxx | 229 MapMode aMapMode( MAP_TWIP ); in Init() local 245 aMapMode.SetScaleY( aYScale ); in Init() 246 aMapMode.SetScaleX( aYScale ); in Init() 1108 MapMode aMapMode( pOutputDev->GetMapMode() ); in Paint() local 1109 MapMode aSavedMapMode = aMapMode; in Paint() 1121 aMapMode.SetOrigin( (*aPageIter)->aMapOffset ); in Paint() 1122 pOutputDev->SetMapMode( aMapMode ); in Paint() 1192 aMapMode.GetScaleX(), in Paint() 1268 MapMode aMapMode( pOutputDev->GetMapMode() ); in _PaintSelectMarkAtPage() local 1270 MapMode aSavedMapMode = aMapMode; in _PaintSelectMarkAtPage() [all …]
|
H A D | viewsh.cxx | 273 pVout->SetMapMode( aMapMode ); in ImplEndAction() 310 aMapMode.SetOrigin( aOrigin ); in ImplEndAction() 311 pVout->SetMapMode( aMapMode ); in ImplEndAction() 1272 MapMode aMapMode( GetWin()->GetMapMode() ); in VisPortChgd() local 1273 aMapMode.SetOrigin( aPt ); in VisPortChgd() 1274 GetWin()->SetMapMode( aMapMode ); in VisPortChgd() 1361 pVout->SetMapMode( aMapMode ); in SmoothScroll() 1386 aMapMode.SetOrigin( aPt ); in SmoothScroll() 1387 pVout->SetMapMode( aMapMode ); in SmoothScroll() 2685 aMapMode.SetOrigin( aOffset ); in GetPageNumAndSetOffsetForPDF() [all …]
|
H A D | vprint.cxx | 210 MapMode aMapMode( pOut->GetMapMode() ); in SetSwVisArea() local 211 aMapMode.SetOrigin( aPt ); in SetSwVisArea() 212 pOut->SetMapMode( aMapMode ); in SetSwVisArea() 229 MapMode aMapMode( pOutDev->GetMapMode() ); in InitPrt() local 230 aMapMode.SetMapUnit( MAP_TWIP ); in InitPrt() 231 pOutDev->SetMapMode( aMapMode ); in InitPrt()
|
/aoo42x/main/starmath/source/ |
H A D | accessibility.cxx | 934 MapMode aMapMode(pOutDev->GetMapMode()); in GetVisArea() local 938 aMapMode.SetOrigin(Point()); in GetVisArea() 953 MapMode aMapMode(pOutDev->GetMapMode()); in LogicToPixel() local 956 aMapMode.SetOrigin(Point()); in LogicToPixel() 970 MapMode aMapMode(pOutDev->GetMapMode()); in PixelToLogic() local 971 aMapMode.SetOrigin(Point()); in PixelToLogic() 1597 aMapMode.SetOrigin(Point()); in GetVisArea() 1612 MapMode aMapMode(pOutDev->GetMapMode()); in LogicToPixel() local 1615 aMapMode.SetOrigin(Point()); in LogicToPixel() 1629 MapMode aMapMode(pOutDev->GetMapMode()); in PixelToLogic() local [all …]
|
/aoo42x/main/svx/source/table/ |
H A D | celleditsource.cxx | 821 MapMode aMapMode(mpWindow->GetMapMode()); in GetVisArea() local 822 aMapMode.SetOrigin(Point()); in GetVisArea() 823 return mpWindow->LogicToPixel( aVisArea, aMapMode ); in GetVisArea() 853 MapMode aMapMode(mpWindow->GetMapMode()); in LogicToPixel() local 854 aMapMode.SetOrigin(Point()); in LogicToPixel() 855 return mpWindow->LogicToPixel( aPoint2, aMapMode ); in LogicToPixel() 878 MapMode aMapMode(mpWindow->GetMapMode()); in PixelToLogic() local 879 aMapMode.SetOrigin(Point()); in PixelToLogic() 880 Point aPoint1( mpWindow->PixelToLogic( rPoint, aMapMode ) ); in PixelToLogic()
|
/aoo42x/main/sfx2/source/doc/ |
H A D | objembed.cxx | 248 MapMode aMapMode( GetMapUnit() ); in DoDraw_Impl() local 249 aMapMode.SetScaleX( rScaleX ); in DoDraw_Impl() 250 aMapMode.SetScaleY( rScaleY ); in DoDraw_Impl() 253 Point aOrg = pDev->LogicToLogic( rViewPos, NULL, &aMapMode ); in DoDraw_Impl() 258 aMapMode.SetOrigin( aDelta ); in DoDraw_Impl() 269 pDev->SetRelativeMapMode( aMapMode ); in DoDraw_Impl()
|
/aoo42x/main/svx/source/unodraw/ |
H A D | unoshtxt.cxx | 962 MapMode aMapMode(mpWindow->GetMapMode()); in GetVisArea() local 963 aMapMode.SetOrigin(Point()); in GetVisArea() 964 return mpWindow->LogicToPixel( aVisArea, aMapMode ); in GetVisArea() 995 MapMode aMapMode(mpWindow->GetMapMode()); in LogicToPixel() local 996 aMapMode.SetOrigin(Point()); in LogicToPixel() 997 return mpWindow->LogicToPixel( aPoint2, aMapMode ); in LogicToPixel() 1020 MapMode aMapMode(mpWindow->GetMapMode()); in PixelToLogic() local 1021 aMapMode.SetOrigin(Point()); in PixelToLogic() 1022 Point aPoint1( mpWindow->PixelToLogic( rPoint, aMapMode ) ); in PixelToLogic()
|
/aoo42x/main/sw/source/core/access/ |
H A D | accmap.cxx | 3274 MapMode aMapMode; in LogicToPixel() local 3275 GetMapMode( aPoint, aMapMode ); in LogicToPixel() 3291 MapMode aMapMode; in LogicToPixel() local 3292 GetMapMode( Point(0,0), aMapMode ); in LogicToPixel() 3307 MapMode aMapMode; in PixelToLogic() local 3308 GetMapMode( aPoint, aMapMode ); in PixelToLogic() 3324 MapMode aMapMode; in PixelToLogic() local 3503 MapMode aMapMode; in PixelToCore() local 3504 GetMapMode( rPoint, aMapMode ); in PixelToCore() 3549 MapMode aMapMode; in CoreToPixel() local [all …]
|
/aoo42x/main/sw/source/core/layout/ |
H A D | virtoutp.cxx | 225 MapMode aMapMode( pOut->GetMapMode() ); in Enter() local 228 ::SetMappingForVirtDev( aRect.Pos(), &aMapMode, pOut, pVirDev ); in Enter() 230 if( aMapMode != pVirDev->GetMapMode() ) in Enter() 231 pVirDev->SetMapMode( aMapMode ); in Enter()
|
/aoo42x/main/sc/source/ui/Accessibility/ |
H A D | AccessibleDocumentPagePreview.cxx | 524 const MapMode& aMapMode); 550 const MapMode& aMapMode) in ScIAccessibleViewForwarder() argument 553 maMapMode(aMapMode), in ScIAccessibleViewForwarder() 733 void FillShapes(const Rectangle& aPixelPaintRect, const MapMode& aMapMode, sal_uInt8 nRangeId); 938 MapMode aMapMode; in Init() local 944 rData.GetDrawRange(i, aPixelPaintRect, aMapMode, nRangeId); in Init() 945 FillShapes(aPixelPaintRect, aMapMode, nRangeId); in Init() 1125 void ScShapeChilds::FillShapes(const Rectangle& aPixelPaintRect, const MapMode& aMapMode, sal_uInt8… in FillShapes() argument 1142 maShapeRanges[nRangeId].maMapMode = aMapMode; in FillShapes() 1143 ScIAccessibleViewForwarder aViewForwarder(mpViewShell, mpAccDoc, aMapMode); in FillShapes() [all …]
|
/aoo42x/main/svtools/source/misc/ |
H A D | embedtransfer.cxx | 218 MapMode aMapMode( MAP_100TH_MM ); in FillTransferableObjectDescriptor() local 223 aMapMode = pGraphic->GetPrefMapMode(); in FillTransferableObjectDescriptor() 244 … aMapMode = MapMode( VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( rDesc.mnViewAspect ) ) ); in FillTransferableObjectDescriptor() 247 rDesc.maSize = OutputDevice::LogicToLogic( aSize, aMapMode, MapMode( MAP_100TH_MM ) ); in FillTransferableObjectDescriptor()
|
/aoo42x/main/svx/workben/ |
H A D | edittest.cxx | 1473 MapMode aMapMode( GetMapMode() ); in Paint() local 1474 aMapMode.SetOrigin( pEditView->GetOutputArea().TopLeft() ); in Paint() 1475 SetMapMode( aMapMode ); in Paint() 1477 aMapMode.SetOrigin( Point() ); in Paint() 1478 SetMapMode( aMapMode ); in Paint() 1565 MapMode aMapMode( MAP_100TH_MM, Point(0,0), Fraction(nZoom,100), Fraction(nZoom,100) ); in KeyInput() local 1566 SetMapMode( aMapMode ); in KeyInput() 1572 pEditEngine->SetRefMapMode( aMapMode ); in KeyInput() 1617 MapMode aMapMode( GetMapMode() ); in KeyInput() local 1618 aMapMode.SetOrigin( Point( 41, 41 ) ); in KeyInput() [all …]
|