Home
last modified time | relevance | path

Searched refs:pRefDev (Results 1 – 15 of 15) sorted by relevance

/trunk/main/sc/source/ui/docshell/
H A Ddocsh3.cxx389 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()
/trunk/main/chart2/source/controller/drawinglayer/
H A DViewElementListProvider.cxx219 … 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()
/trunk/main/starmath/source/
H A Ddocument.cxx562 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()
/trunk/main/editeng/source/outliner/
H A Doutliner.cxx1569 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 …]
/trunk/main/editeng/source/editeng/
H A Deditobj2.hxx116 XParaPortionList( OutputDevice* pRefDev, sal_uLong nPW ) : in XParaPortionList() argument
117 aRefMapMode( pRefDev->GetMapMode() ) in XParaPortionList()
119 nRefDevPtr = (sal_uIntPtr)pRefDev; nPaperWidth = nPW; in XParaPortionList()
120 eRefDevType = pRefDev->GetOutDevType(); in XParaPortionList()
H A Dimpedit2.cxx110 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 Dimpedit3.cxx1269 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 Dimpedit.hxx427 OutputDevice* pRefDev; member in ImpEditEngine
882 OutputDevice* GetRefDevice() const { return pRefDev; } in GetRefDevice()
885 const MapMode& GetRefMapMode() { return pRefDev->GetMapMode(); } in GetRefMapMode()
H A Deditdbg.cxx458 fprintf( fp, "\nRefMapMode: %i", pEE->pImpEditEngine->pRefDev->GetMapMode().GetMapUnit() ); in ShowEditEngineData()
H A Dediteng.cxx177 void EditEngine::SetRefDevice( OutputDevice* pRefDev ) in SetRefDevice() argument
180 pImpEditEngine->SetRefDevice( pRefDev ); in SetRefDevice()
H A Dimpedit4.cxx3246 aSz = pRefDev->LogicToLogic( aSz, NULL, &aTwipsMode ); in LogicToTwips()
/trunk/main/sc/source/ui/view/
H A Dprintfun.cxx732 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 …]
/trunk/main/starmath/inc/
H A Ddocument.hxx86 OutputDevice* pRefDev; member in SmPrinterAccess
91 OutputDevice* GetRefDev() { return pRefDev; } in GetRefDev()
/trunk/main/sw/source/core/doc/
H A Ddocdraw.cxx656 OutputDevice* pRefDev = getReferenceDevice( false ); in InitDrawModel() local
657 if ( pRefDev ) in InitDrawModel()
658 pDrawModel->SetRefDevice( pRefDev ); in InitDrawModel()
/trunk/main/editeng/inc/editeng/
H A Doutliner.hxx1028 void SetRefDevice( OutputDevice* pRefDev );

Completed in 144 milliseconds