Lines Matching refs:pSalLayout
5634 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen, rStartPt, 0, NULL, true ); in DrawText() local
5635 if( pSalLayout ) in DrawText()
5637 ImplDrawText( *pSalLayout ); in DrawText()
5638 pSalLayout->Release(); in DrawText()
5700 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen, rStartPt, 0, pDXAry, true ); in DrawTextArray() local
5701 if( pSalLayout ) in DrawTextArray()
5703 ImplDrawText( *pSalLayout ); in DrawTextArray()
5704 pSalLayout->Release(); in DrawTextArray()
5725 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen ); in GetTextArray() local
5726 if( !pSalLayout ) in GetTextArray()
5729 long nWidth = pSalLayout->FillDXArray( pDXAry ); in GetTextArray()
5730 int nWidthFactor = pSalLayout->GetUnitsPerPixel(); in GetTextArray()
5731 pSalLayout->Release(); in GetTextArray()
5774 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen, in GetCaretPositions() local
5776 if( !pSalLayout ) in GetCaretPositions()
5779 int nWidthFactor = pSalLayout->GetUnitsPerPixel(); in GetCaretPositions()
5780 pSalLayout->GetCaretPositions( 2*nLen, pCaretXArray ); in GetCaretPositions()
5781 long nWidth = pSalLayout->GetTextWidth(); in GetCaretPositions()
5782 pSalLayout->Release(); in GetCaretPositions()
5842 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen, rStartPt, nWidth, NULL, true ); in DrawStretchText() local
5843 if( pSalLayout ) in DrawStretchText()
5845 ImplDrawText( *pSalLayout ); in DrawStretchText()
5846 pSalLayout->Release(); in DrawStretchText()
6047 SalLayout* pSalLayout = NULL; in ImplLayout() local
6049 pSalLayout = mpPDFWriter->GetTextLayout( aLayoutArgs, &mpFontEntry->maFontSelData ); in ImplLayout()
6051 if( !pSalLayout ) in ImplLayout()
6052 pSalLayout = mpGraphics->GetTextLayout( aLayoutArgs, 0 ); in ImplLayout()
6055 if( pSalLayout && !pSalLayout->LayoutText( aLayoutArgs ) ) in ImplLayout()
6057 pSalLayout->Release(); in ImplLayout()
6058 pSalLayout = NULL; in ImplLayout()
6061 if( !pSalLayout ) in ImplLayout()
6068 pSalLayout = ImplGlyphFallbackLayout( pSalLayout, aLayoutArgs ); in ImplLayout()
6071 pSalLayout->AdjustLayout( aLayoutArgs ); in ImplLayout()
6072 pSalLayout->DrawBase() = ImplLogicToDevicePixel( rLogicalPos ); in ImplLayout()
6082 nRTLOffset = pSalLayout->GetTextWidth() / pSalLayout->GetUnitsPerPixel(); in ImplLayout()
6083 pSalLayout->DrawOffset().X() = 1 - nRTLOffset; in ImplLayout()
6086 return pSalLayout; in ImplLayout()
6091 SalLayout* OutputDevice::ImplGlyphFallbackLayout( SalLayout* pSalLayout, ImplLayoutArgs& rLayoutArg… in ImplGlyphFallbackLayout() argument
6199 pMultiSalLayout = new MultiSalLayout( *pSalLayout ); in ImplGlyphFallbackLayout()
6220 pSalLayout = pMultiSalLayout; in ImplGlyphFallbackLayout()
6223 pSalLayout->InitFont(); in ImplGlyphFallbackLayout()
6226 return pSalLayout; in ImplGlyphFallbackLayout()
6252 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen ); in GetTextBreak() local
6254 if( pSalLayout ) in GetTextBreak()
6260 long nWidthFactor = pSalLayout->GetUnitsPerPixel(); in GetTextBreak()
6270 …nRetVal = sal::static_int_cast<xub_StrLen>(pSalLayout->GetTextBreak( nTextPixelWidth, nExtraPixelW… in GetTextBreak()
6272 pSalLayout->Release(); in GetTextBreak()
6290 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen ); in GetTextBreak() local
6291 if( !pSalLayout ) in GetTextBreak()
6298 long nWidthFactor = pSalLayout->GetUnitsPerPixel(); in GetTextBreak()
6311 …xub_StrLen nRetVal = sal::static_int_cast<xub_StrLen>(pSalLayout->GetTextBreak( nTextPixelWidth, n… in GetTextBreak()
6328 …rHyphenatorPos = sal::static_int_cast<xub_StrLen>(pSalLayout->GetTextBreak( nTextPixelWidth, nExtr… in GetTextBreak()
6334 pSalLayout->Release(); in GetTextBreak()
7479 SalLayout* pSalLayout = ImplLayout( rTxt, nIdx, nLen ); in ValidateKashidas() local
7480 if( !pSalLayout ) in ValidateKashidas()
7485 if( !pSalLayout->IsKashidaPosValid( pKashidaPos[ i ] )) in ValidateKashidas()
7491 pSalLayout->Release(); in ValidateKashidas()
7532 SalLayout* pSalLayout = NULL; in GetTextBoundRect() local
7540 pSalLayout = ImplLayout( rStr, nStart, nOfsLen, aPoint, nLayoutWidth, pDXAry ); in GetTextBoundRect()
7541 if( pSalLayout ) in GetTextBoundRect()
7543 nXOffset = pSalLayout->GetTextWidth(); in GetTextBoundRect()
7544 nXOffset /= pSalLayout->GetUnitsPerPixel(); in GetTextBoundRect()
7545 pSalLayout->Release(); in GetTextBoundRect()
7552 pSalLayout = ImplLayout( rStr, nIndex, nLen, aPoint, nLayoutWidth, pDXAry ); in GetTextBoundRect()
7554 if( pSalLayout ) in GetTextBoundRect()
7556 bRet = pSalLayout->GetBoundRect( *mpGraphics, aPixelRect ); in GetTextBoundRect()
7560 int nWidthFactor = pSalLayout->GetUnitsPerPixel(); in GetTextBoundRect()
7576 aRotatedOfs -= pSalLayout->GetDrawPosition( Point( nXOffset, 0 ) ); in GetTextBoundRect()
7583 pSalLayout->Release(); in GetTextBoundRect()
7602 pSalLayout = aVDev.ImplLayout( rStr, nIndex, nLen, aPoint, nLayoutWidth, pDXAry ); in GetTextBoundRect()
7603 if( !pSalLayout ) in GetTextBoundRect()
7608 long nWidth = pSalLayout->GetTextWidth(); in GetTextBoundRect()
7616 pSalLayout->DrawBase() = aOffset; in GetTextBoundRect()
7620 aVDev.ImplDrawText( *pSalLayout ); in GetTextBoundRect()
7621 pSalLayout->Release(); in GetTextBoundRect()
7727 SalLayout* pSalLayout = NULL; in GetTextOutlines() local
7735 pSalLayout = ImplLayout( rStr, nStart, nOfsLen, Point(0,0), nTWidth, pDXArray ); in GetTextOutlines()
7736 if( pSalLayout ) in GetTextOutlines()
7738 nXOffset = pSalLayout->GetTextWidth(); in GetTextOutlines()
7739 pSalLayout->Release(); in GetTextOutlines()
7746 pSalLayout = ImplLayout( rStr, nIndex, nLen, Point(0,0), nTWidth, pDXArray ); in GetTextOutlines()
7747 if( pSalLayout ) in GetTextOutlines()
7749 bRet = pSalLayout->GetOutline( *mpGraphics, rVector ); in GetTextOutlines()
7755 int nWidthFactor = pSalLayout->GetUnitsPerPixel(); in GetTextOutlines()
7759 aRotatedOfs -= pSalLayout->GetDrawPosition( Point( nXOffset, 0 ) ); in GetTextOutlines()
7777 pSalLayout->Release(); in GetTextOutlines()
7797 pSalLayout = ImplLayout( rStr, nIndex, nLen, Point(0,0), nTWidth, pDXArray ); in GetTextOutlines()
7798 if (pSalLayout == 0) in GetTextOutlines()
7800 long nOrgWidth = pSalLayout->GetTextWidth(); in GetTextOutlines()
7803 pSalLayout->Release(); in GetTextOutlines()
7822 pSalLayout = aVDev.ImplLayout( rStr, nIndex, nLen, Point(0,0), nTWidth, pDXArray ); in GetTextOutlines()
7823 if (pSalLayout == 0) in GetTextOutlines()
7825 long nWidth = pSalLayout->GetTextWidth(); in GetTextOutlines()
7828 pSalLayout->Release(); in GetTextOutlines()
7842 pSalLayout = aVDev.ImplLayout( rStr, nStart, nLength, Point(0,0), nTWidth, pDXArray ); in GetTextOutlines()
7843 if( pSalLayout ) in GetTextOutlines()
7845 nXOffset = pSalLayout->GetTextWidth(); in GetTextOutlines()
7846 pSalLayout->Release(); in GetTextOutlines()
7861 …pSalLayout = aVDev.ImplLayout( rStr, static_cast< xub_StrLen >(nCharPos), 1, Point(0,0), nTWidth, … in GetTextOutlines()
7862 if (pSalLayout == 0) in GetTextOutlines()
7864 long nCharWidth = pSalLayout->GetTextWidth(); in GetTextOutlines()
7873 pSalLayout->DrawBase() += aOffset; in GetTextOutlines()
7874 …pSalLayout->DrawBase() += Point( ((OutputDevice*)&aVDev)->mnTextOffX, ((OutputDevice*)&aVDev)->mnT… in GetTextOutlines()
7875 pSalLayout->DrawText( *((OutputDevice*)&aVDev)->mpGraphics ); in GetTextOutlines()
7876 pSalLayout->Release(); in GetTextOutlines()