/trunk/main/forms/source/richtext/ |
H A D | richtextimplcontrol.cxx | 533 MapMode aMapMode( m_pAntiImpl->GetMapMode() ); in notifyZoomChanged() local 534 aMapMode.SetScaleX( rZoom ); in notifyZoomChanged() 535 aMapMode.SetScaleY( rZoom ); in notifyZoomChanged() 536 m_pAntiImpl->SetMapMode( aMapMode ); in notifyZoomChanged() 539 m_pViewport->SetMapMode( aMapMode ); in notifyZoomChanged()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | emfwr.cxx | 1163 MapMode aMapMode( aSubstitute.GetPrefMapMode() ); in ImplWrite() local 1164 Size aOutSize( maVDev.LogicToLogic( pA->GetSize(), maVDev.GetMapMode(), aMapMode ) ); in ImplWrite() 1165 aMapMode.SetScaleX( Fraction( aOutSize.Width(), aSubstitute.GetPrefSize().Width() ) ); in ImplWrite() 1166 aMapMode.SetScaleY( Fraction( aOutSize.Height(), aSubstitute.GetPrefSize().Height() ) ); in ImplWrite() 1167 aMapMode.SetOrigin( maVDev.LogicToLogic( pA->GetPoint(), maVDev.GetMapMode(), aMapMode ) ); in ImplWrite() 1168 maVDev.SetMapMode( aMapMode ); in ImplWrite()
|
H A D | winmtf.cxx | 1643 MapMode aMapMode( MAP_100TH_MM ); in ImplDrawBitmap() local 1644 aMapMode.SetOrigin( Point( -rPos.X(), -rPos.Y() ) ); in ImplDrawBitmap() 1645 const Size aOutputSizePixel( aVDev.LogicToPixel( rSize, aMapMode ) ); in ImplDrawBitmap() 1649 aMapMode.SetScaleX( Fraction( aSizePixel.Width(), aOutputSizePixel.Width() ) ); in ImplDrawBitmap() 1650 aMapMode.SetScaleY( Fraction( aSizePixel.Height(), aOutputSizePixel.Height() ) ); in ImplDrawBitmap() 1652 aVDev.SetMapMode( aMapMode ); in ImplDrawBitmap()
|
/trunk/main/filter/source/svg/ |
H A D | svgwriter.cxx | 1921 MapMode aMapMode( rMtf.GetPrefMapMode() ); in WriteMetaFile() local 1923 Fraction aFractionX( aMapMode.GetScaleX() ); in WriteMetaFile() 1924 Fraction aFractionY( aMapMode.GetScaleY() ); in WriteMetaFile() 1928 Size aSize( OutputDevice::LogicToLogic( rSize100thmm, MAP_100TH_MM, aMapMode ) ); in WriteMetaFile() 1929 aMapMode.SetScaleX( aFractionX *= Fraction( aSize.Width(), aPrefSize.Width() ) ); in WriteMetaFile() 1930 aMapMode.SetScaleY( aFractionY *= Fraction( aSize.Height(), aPrefSize.Height() ) ); in WriteMetaFile() 1932 Point aOffset( OutputDevice::LogicToLogic( rPos100thmm, MAP_100TH_MM, aMapMode ) ); in WriteMetaFile() 1933 aMapMode.SetOrigin( aOffset += aMapMode.GetOrigin() ); in WriteMetaFile() 1935 mpVDev->SetMapMode( aMapMode ); in WriteMetaFile()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | SectionWindow.cxx | 389 MapMode aMapMode( m_aReportSection.GetMapMode() ); in scrollChildren() local 390 const Point aOld = aMapMode.GetOrigin(); in scrollChildren() 393 aMapMode = m_aReportSection.GetMapMode(); in scrollChildren() 394 const Point aNew = aMapMode.GetOrigin(); in scrollChildren()
|
H A D | ViewsWindow.cxx | 1843 const MapMode& aMapMode = GetMapMode(); in zoom() local 1846 if ( _aZoom < aMapMode.GetScaleX() ) in zoom() 1847 aStartWidth *= aMapMode.GetScaleX(); in zoom() 1875 MapMode aMapMode = GetMapMode(); in scrollChildren() local 1876 const Point aOld = aMapMode.GetOrigin(); in scrollChildren() 1877 aMapMode.SetOrigin(m_pParent->GetMapMode().GetOrigin()); in scrollChildren() 1879 const Point aPosY(m_pParent->PixelToLogic(_aThumbPos,aMapMode)); in scrollChildren() 1881 aMapMode.SetOrigin( Point(aOld.X() , - aPosY.Y())); in scrollChildren() 1882 SetMapMode( aMapMode ); in scrollChildren()
|
/trunk/main/sc/source/ui/Accessibility/ |
H A D | AccessibleText.cxx | 318 MapMode aMapMode(pWindow->GetMapMode().GetMapUnit()); in LogicToPixel() local 319 Point aPoint2( OutputDevice::LogicToLogic( rPoint, rMapMode, aMapMode) ); in LogicToPixel() 337 MapMode aMapMode(pWindow->GetMapMode()); in PixelToLogic() local 338 aMapMode.SetOrigin(Point()); in PixelToLogic() 341 aMapMode.GetMapUnit(), in PixelToLogic() 628 MapMode aMapMode(mpEditView->GetEditEngine()->GetRefMapMode()); in GetVisArea() local 630 aVisArea = mpWindow->LogicToPixel( mpEditView->GetVisArea(), aMapMode ); in GetVisArea()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colex.cxx | 352 MapMode aMapMode( GetMapMode() ); in SwColumnOnlyExample() local 353 aMapMode.SetScaleX( aScale ); in SwColumnOnlyExample() 354 aMapMode.SetScaleY( aScale ); in SwColumnOnlyExample() 355 SetMapMode( aMapMode ); in SwColumnOnlyExample()
|
/trunk/main/vcl/source/gdi/ |
H A D | gfxlink.cxx | 357 MapMode aMapMode; in operator >>() local 370 rIStream >> aSize >> aMapMode; in operator >>() 385 rGfxLink.SetPrefMapMode( aMapMode ); in operator >>()
|
H A D | print3.cxx | 873 const MapMode aMapMode( MAP_100TH_MM ); in getPageCountProtected() local 876 mpImplData->mpPrinter->SetMapMode( aMapMode ); in getPageCountProtected() 884 const MapMode aMapMode( MAP_100TH_MM ); in getPageParametersProtected() local 887 mpImplData->mpPrinter->SetMapMode( aMapMode ); in getPageParametersProtected() 920 const MapMode aMapMode( MAP_100TH_MM ); in getPageFile() local 923 mpImplData->mpPrinter->SetMapMode( aMapMode ); in getPageFile() 929 o_rMtf.SetPrefMapMode( aMapMode ); in getPageFile()
|
H A D | cvtsvm.cxx | 543 MapMode aMapMode; in ImplConvertFromSVM1() local 556 ImplReadMapMode( rIStm, aMapMode ); // MapMode in ImplConvertFromSVM1() 560 rMtf.SetPrefMapMode( aMapMode ); in ImplConvertFromSVM1() 1044 ImplReadMapMode( rIStm, aMapMode ); in ImplConvertFromSVM1() 1045 rMtf.AddAction( new MetaMapModeAction( aMapMode ) ); in ImplConvertFromSVM1() 1048 aFontVDev.SetMapMode( aMapMode ); in ImplConvertFromSVM1()
|
/trunk/main/chart2/source/view/main/ |
H A D | DrawModelWrapper.cxx | 181 MapMode aMapMode = m_apRefDevice->GetMapMode(); in DrawModelWrapper() local 182 aMapMode.SetMapUnit(MAP_100TH_MM); in DrawModelWrapper() 183 m_apRefDevice->SetMapMode(aMapMode); in DrawModelWrapper()
|
/trunk/main/sd/source/ui/presenter/ |
H A D | PresenterTextView.cxx | 581 MapMode aMapMode (mpOutputDevice->GetMapMode()); in GetBitmap() local 582 aMapMode.SetOrigin(Point(0,0)); in GetBitmap() 583 mpOutputDevice->SetMapMode(aMapMode); in GetBitmap()
|
/trunk/main/filter/source/graphicfilter/etiff/ |
H A D | etiff.cxx | 211 const MapMode aMapMode( aBmp.GetPrefMapMode() ); in WriteTIFF() local 212 if ( aMapMode.GetMapUnit() != MAP_PIXEL ) in WriteTIFF() 215 aDestMapSize = OutputDevice::LogicToLogic( aPrefSize, aMapMode, MAP_INCH ); in WriteTIFF()
|
/trunk/main/sw/source/ui/lingu/ |
H A D | sdrhhcwrap.cxx | 76 MapMode aMapMode (MAP_TWIP); in SdrHHCWrapper() local 77 SetRefMapMode(aMapMode); in SdrHHCWrapper()
|
/trunk/main/cui/source/tabpages/ |
H A D | grfpage.cxx | 822 MapMode aMapMode( GetMapMode() ); in SetFrameSize() local 824 aMapMode.SetScaleX( aXScale ); in SetFrameSize() 825 aMapMode.SetScaleY( aXScale ); in SetFrameSize() 827 SetMapMode( aMapMode ); in SetFrameSize()
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsLayouter.cxx | 408 MapMode aMapMode (mpWindow->GetMapMode()); in _SetZoom() local 409 aMapMode.SetScaleX (nZoomFactor); in _SetZoom() 410 aMapMode.SetScaleY (nZoomFactor); in _SetZoom() 411 mpWindow->SetMapMode (aMapMode); in _SetZoom()
|
/trunk/main/filter/source/graphicfilter/eps/ |
H A D | eps.cxx | 1144 MapMode aMapMode( aSubstitute.GetPrefMapMode() ); in ImplWriteActions() local 1145 Size aOutSize( rVDev.LogicToLogic( aSize, rVDev.GetMapMode(), aMapMode ) ); in ImplWriteActions() 1146 Point aOrigin( rVDev.LogicToLogic( aPoint, rVDev.GetMapMode(), aMapMode ) ); in ImplWriteActions() 1148 aMapMode.SetOrigin( aOrigin ); in ImplWriteActions() 1149 aMapMode.SetScaleX( aOutSize.Width() / ( nBoundingBox[ 2 ] - nBoundingBox[ 0 ] ) ); in ImplWriteActions() 1150 aMapMode.SetScaleY( aOutSize.Height() / ( nBoundingBox[ 3 ] - nBoundingBox[ 1 ] ) ); in ImplWriteActions() 1152 ImplGetMapMode( aMapMode ); in ImplWriteActions()
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpicn.cxx | 775 MapMode aMapMode( pView->GetMapMode()); in Clear() local 776 aMapMode.SetOrigin( Point() ); in Clear() 777 pView->SetMapMode( aMapMode ); in Clear() 1200 MapMode aMapMode( pView->GetMapMode()); in ImpArrange() local 1201 aMapMode.SetOrigin( Point() ); in ImpArrange() 1202 pView->SetMapMode( aMapMode ); in ImpArrange() 2906 MapMode aMapMode( pView->GetMapMode() ); in MakeVisible() local 2907 Point aOrigin( aMapMode.GetOrigin() ); in MakeVisible() 2952 aMapMode.SetOrigin( aOrigin ); in MakeVisible() 2953 pView->SetMapMode( aMapMode ); in MakeVisible()
|
/trunk/main/sw/source/ui/wrtsh/ |
H A D | wrtsh1.cxx | 467 MapMode aMapMode( MAP_TWIP ); in InsertObject() local 468 Size aSize = xObj.GetSize( &aMapMode ); in InsertObject() 562 MapMode aMapMode( MAP_TWIP ); in InsertOleObject() local 563 Size aSz = xRef.GetSize( &aMapMode ); in InsertOleObject()
|
/trunk/main/sc/source/ui/view/ |
H A D | drawvie4.cxx | 312 MapMode aMapMode( MAP_100TH_MM ); in SetMarkedOriginalSize() local 313 aOriginalSize = ((SdrOle2Obj*)pObj)->GetOrigObjSize( &aMapMode ); in SetMarkedOriginalSize()
|
/trunk/main/svtools/source/filter/ |
H A D | filter2.cxx | 1250 MapMode aMapMode; in ImpDetectSVM() local 1253 rStm >> aMapMode; in ImpDetectSVM() 1255 aLogSize = OutputDevice::LogicToLogic( aLogSize, aMapMode, MapMode( MAP_100TH_MM ) ); in ImpDetectSVM()
|
/trunk/main/sc/source/ui/app/ |
H A D | transobj.cxx | 361 MapMode aMapMode( pEmbObj->GetMapUnit() ); in GetData() local 365 aVDev.SetMapMode( aMapMode ); in GetData() 367 aMtf.SetPrefMapMode( aMapMode ); in GetData()
|
/trunk/main/vcl/workben/ |
H A D | svptest.cxx | 239 MapMode aMapMode( MAP_100TH_MM ); in Paint() local 241 SetMapMode( aMapMode ); in Paint()
|
/trunk/main/extensions/source/scanner/ |
H A D | twain.cxx | 407 … const MapMode aMapMode( MAP_100TH_INCH, Point(), Fraction( 100, nXRes ), Fraction( 100, nYRes ) ); in ImplXfer() local 408 aBitmap.SetPrefMapMode( aMapMode ); in ImplXfer()
|