/aoo4110/main/sc/source/ui/docshell/ |
H A D | docsh3.cxx | 389 OutputDevice* pRefDev = GetRefDevice(); in CalcOutputFactor() local 390 MapMode aOldMode = pRefDev->GetMapMode(); in CalcOutputFactor() 391 Font aOldFont = pRefDev->GetFont(); in CalcOutputFactor() 393 pRefDev->SetMapMode(MAP_PIXEL); in CalcOutputFactor() 394 pPattern->GetFont(aDefFont, SC_AUTOCOL_BLACK, pRefDev); // font color doesn't matter here in CalcOutputFactor() 395 pRefDev->SetFont(aDefFont); in CalcOutputFactor() 396 …nPrinterWidth = pRefDev->PixelToLogic( Size( pRefDev->GetTextWidth(aTestString), 0 ), MAP_100TH_MM… in CalcOutputFactor() 397 pRefDev->SetFont(aOldFont); in CalcOutputFactor() 398 pRefDev->SetMapMode(aOldMode); in CalcOutputFactor()
|
/aoo4110/main/chart2/source/controller/drawinglayer/ |
H A D | ViewElementListProvider.cxx | 219 … OutputDevice* pRefDev = m_pDrawModelWrapper ? m_pDrawModelWrapper->getReferenceDevice() : NULL; in getFontList() local 221 m_pFontList = new FontList( pRefDev ? pRefDev : pDefaultOut in getFontList() 222 , pRefDev ? pDefaultOut : NULL in getFontList()
|
/aoo4110/main/starmath/source/ |
H A D | document.cxx | 562 if ( 0 != (pRefDev = rDocShell.GetRefDev()) && pPrinter != pRefDev ) in SmPrinterAccess() 564 pRefDev->Push( PUSH_MAPMODE ); in SmPrinterAccess() 574 const MapUnit eOld = pRefDev->GetMapMode().GetMapUnit(); in SmPrinterAccess() 577 MapMode aMap( pRefDev->GetMapMode() ); in SmPrinterAccess() 583 pRefDev->SetMapMode( aMap ); in SmPrinterAccess() 593 if ( pRefDev && pRefDev != pPrinter ) in ~SmPrinterAccess() 594 pRefDev->Pop(); in ~SmPrinterAccess()
|
/aoo4110/main/editeng/source/outliner/ |
H A D | outliner.cxx | 1569 OutputDevice* pRefDev = pEditEngine->GetRefDevice(); in ImplGetBulletSize() local 1571 Font aRefFont( pRefDev->GetFont()); in ImplGetBulletSize() 1572 pRefDev->SetFont( aBulletFont ); in ImplGetBulletSize() 1574 pPara->aBulSize.Height() = pRefDev->GetTextHeight(); in ImplGetBulletSize() 1575 pRefDev->SetFont( aRefFont ); in ImplGetBulletSize() 1604 void Outliner::SetRefDevice( OutputDevice* pRefDev ) in SetRefDevice() argument 1607 pEditEngine->SetRefDevice( pRefDev ); in SetRefDevice() 1711 Font aOldFont = pRefDev->GetFont(); in ImpCalcBulletArea() 1712 pRefDev->SetFont( aBulletFont ); in ImpCalcBulletArea() 1713 FontMetric aMetric( pRefDev->GetFontMetric() ); in ImpCalcBulletArea() [all …]
|
/aoo4110/main/editeng/source/editeng/ |
H A D | editobj2.hxx | 115 XParaPortionList( OutputDevice* pRefDev, sal_uLong nPW ) : in XParaPortionList() argument 116 aRefMapMode( pRefDev->GetMapMode() ) in XParaPortionList() 118 nRefDevPtr = (sal_uIntPtr)pRefDev; nPaperWidth = nPW; in XParaPortionList() 119 eRefDevType = pRefDev->GetOutDevType(); in XParaPortionList()
|
H A D | impedit2.cxx | 110 pRefDev = NULL; in ImpEditEngine() 173 pRefDev = EE_DLL()->GetGlobalData()->GetStdRefDevice(); in ImpEditEngine() 176 SetRefDevice( pRefDev ); in ImpEditEngine() 206 delete pRefDev; in ~ImpEditEngine() 213 delete pRefDev; in SetRefDevice() 215 pRefDev = pRef; in SetRefDevice() 219 pRefDev = EE_DLL()->GetGlobalData()->GetStdRefDevice(); in SetRefDevice() 238 pRefDev = new VirtualDevice; in SetRefMapMode() 239 pRefDev->SetMapMode( MAP_TWIP ); in SetRefMapMode() 240 SetRefDevice( pRefDev ); in SetRefMapMode() [all …]
|
H A D | impedit3.cxx | 1269 aTmpFont.SetPhysFont( pRefDev ); in CreateLines() 1270 ImplInitDigitMode( pRefDev, 0, 0, 0, aTmpFont.GetLanguage() ); in CreateLines() 1275 aTextSize.Height() = aTmpFont.GetPhysTxtSize( pRefDev, String() ).Height(); in CreateLines() 1634 aTmpFont.SetPhysFont( pRefDev ); in CreateAndInsertEmptyLine() 1637 pDummyPortion->GetSize() = aTmpFont.GetPhysTxtSize( pRefDev, String() ); in CreateAndInsertEmptyLine() 2783 rFont.SetPhysFont( pRefDev ); in RecalcFormatterFontMetrics() 2787 FontMetric aMetric( pRefDev->GetFontMetric() ); in RecalcFormatterFontMetrics() 2813 if ( ( nIntLeading == 0 ) && ( pRefDev->GetOutDevType() == OUTDEV_PRINTER ) ) in RecalcFormatterFontMetrics() 2817 VirtualDevice* pVDev = GetVirtualDevice( pRefDev->GetMapMode(), pRefDev->GetDrawMode() ); in RecalcFormatterFontMetrics()
|
H A D | impedit.hxx | 427 OutputDevice* pRefDev; member in ImpEditEngine 882 OutputDevice* GetRefDevice() const { return pRefDev; } in GetRefDevice() 885 const MapMode& GetRefMapMode() { return pRefDev->GetMapMode(); } in GetRefMapMode()
|
H A D | editdbg.cxx | 458 fprintf( fp, "\nRefMapMode: %i", pEE->pImpEditEngine->pRefDev->GetMapMode().GetMapUnit() ); in ShowEditEngineData()
|
H A D | editeng.cxx | 177 void EditEngine::SetRefDevice( OutputDevice* pRefDev ) in SetRefDevice() argument 180 pImpEditEngine->SetRefDevice( pRefDev ); in SetRefDevice()
|
H A D | impedit4.cxx | 3246 aSz = pRefDev->LogicToLogic( aSz, NULL, &aTwipsMode ); in LogicToTwips()
|
/aoo4110/main/sc/source/ui/view/ |
H A D | printfun.cxx | 732 OutputDevice* pRefDev = pDoc->GetPrinter(); // auch fuer Preview den Drucker nehmen in AdjustPrintArea() local 733 pRefDev->SetMapMode( MAP_PIXEL ); // wichtig fuer GetNeededSize in AdjustPrintArea() 735 pDoc->ExtendPrintArea( pRefDev, in AdjustPrintArea() 1130 aGrfSize = pRefDev->PixelToLogic( pGraphic->GetPrefSize(), aMapMM ); in lcl_DrawGraphic() 1299 OutputDevice* pRefDev; in DrawBorder() local 1301 pRefDev = pDev; // don't use printer for PDF in DrawBorder() 1303 pRefDev = pDoc->GetPrinter(); // use printer also for preview in DrawBorder() 1305 lcl_DrawGraphic( *pBackground, pDev, pRefDev, aFrameRect, aFrameRect ); in DrawBorder() 1633 OutputDevice* pRefDev = pDoc->GetPrinter(); // auch fuer Preview den Drucker nehmen in PrintArea() local 1636 pRefDev->SetMapMode( MapMode( MAP_100TH_MM, Point(), aPrintFrac, aPrintFrac ) ); in PrintArea() [all …]
|
/aoo4110/main/starmath/inc/ |
H A D | document.hxx | 86 OutputDevice* pRefDev; member in SmPrinterAccess 91 OutputDevice* GetRefDev() { return pRefDev; } in GetRefDev()
|
/aoo4110/main/sw/source/core/doc/ |
H A D | docdraw.cxx | 684 OutputDevice* pRefDev = getReferenceDevice( false ); in InitDrawModel() local 685 if ( pRefDev ) in InitDrawModel() 686 pDrawModel->SetRefDevice( pRefDev ); in InitDrawModel()
|
/aoo4110/main/editeng/inc/editeng/ |
H A D | outliner.hxx | 1028 void SetRefDevice( OutputDevice* pRefDev );
|