Lines Matching refs:pFmtDevice
221 OutputDevice* pFmtDevice = pOutput->pFmtDevice; in SetShrinkScale() local
229 pPattern->GetFont( aTmpFont, SC_AUTOCOL_RAW, pFmtDevice, &aFraction, pCondSet, nScript ); in SetShrinkScale()
237 if ( pFmtDevice != pDev ) in SetShrinkScale()
238 pFmtDevice->SetFont( aFont ); in SetShrinkScale()
240 aMetric = pFmtDevice->GetFontMetric(); in SetShrinkScale()
241 if ( pFmtDevice->GetOutDevType() == OUTDEV_PRINTER && aMetric.GetIntLeading() == 0 ) in SetShrinkScale()
245 pDefaultDev->SetMapMode( pFmtDevice->GetMapMode() ); in SetShrinkScale()
272 OutputDevice* pFmtDevice = pOutput->pFmtDevice; in SetPattern() local
288 pPattern->GetFont( aFont, eColorMode, pFmtDevice, NULL, pCondSet, nScript, in SetPattern()
291 pPattern->GetFont( aFont, eColorMode, pFmtDevice, &pOutput->aZoomY, pCondSet, nScript, in SetPattern()
358 if ( pFmtDevice != pDev ) in SetPattern()
359 pFmtDevice->SetFont( aFont ); in SetPattern()
361 aMetric = pFmtDevice->GetFontMetric(); in SetPattern()
368 if ( pFmtDevice->GetOutDevType() == OUTDEV_PRINTER && aMetric.GetIntLeading() == 0 ) in SetPattern()
372 pDefaultDev->SetMapMode( pFmtDevice->GetMapMode() ); in SetPattern()
598 long nActualTextWidth = pOutput->pFmtDevice->GetTextWidth(aString); in SetTextToWidthOrHash()
615 OutputDevice* pFmtDevice = pOutput->pFmtDevice; in SetAutoText() local
616 aTextSize.Width() = pFmtDevice->GetTextWidth( aString ); in SetAutoText()
617 aTextSize.Height() = pFmtDevice->GetTextHeight(); in SetAutoText()
649 long n = pOutput->pFmtDevice->GetTextWidth(String(cDigit)); in GetMaxDigitWidth()
660 nSignWidth = pOutput->pFmtDevice->GetTextWidth(String('-')); in GetSignWidth()
670 nDotWidth = pOutput->pFmtDevice->GetTextWidth(sep); in GetDotWidth()
679 nExpWidth = pOutput->pFmtDevice->GetTextWidth(String('E')); in GetExpWidth()
686 OutputDevice* pFmtDevice = pOutput->pFmtDevice; in TextChanged() local
687 aTextSize.Width() = pFmtDevice->GetTextWidth( aString ); in TextChanged()
688 aTextSize.Height() = pFmtDevice->GetTextHeight(); in TextChanged()
745 if ( pRefDevice == pFmtDevice ) in GetStretch()
1291 ( !bBreak || pRefDevice == pFmtDevice ) ) in GetOutputArea()
1623 if ( pFmtDevice != pRefDevice ) in DrawStrings()
1854 if (bMetaFile || pFmtDevice != pDev || aZoomX != aZoomY) in DrawStrings()
1857 pFmtDevice->GetTextArray( aString, pDX ); in DrawStrings()
1909 pEngine->SetRefDevice( pFmtDevice ); in CreateOutputEditEngine()
1915 if ( eType == OUTTYPE_WINDOW && pRefDevice == pFmtDevice ) in CreateOutputEditEngine()
2371 if ( bBreak && !bAsianVertical && pRefDevice != pFmtDevice ) in DrawEdit()
2377 … Rectangle aUtilRect = ScEditUtil( pDoc, nCellX, nCellY, nTab, Point(0,0), pFmtDevice, in DrawEdit()
2596 if ( pFmtDevice != pRefDevice ) in DrawEdit()