Lines Matching refs:pCur
745 TextElement* pCur = dynamic_cast<TextElement*>(*it); in optimizeTextElements() local
746 if( pCur ) in optimizeTextElements()
751 const GraphicsContext& rCurGC = m_rProcessor.getGraphicsContext( pCur->GCId ); in optimizeTextElements()
760 && pCur->Text.getLength() > 0 in optimizeTextElements()
761 && pCur->Text.charAt( pCur->Text.getLength()-1 ) != sal_Unicode(' ') in optimizeTextElements()
765 if( pNext->y > pCur->y+pCur->h ) in optimizeTextElements()
769 sal_Unicode aLastCode = pCur->Text.charAt( pCur->Text.getLength()-1 ); in optimizeTextElements()
777 pCur->Text.setLength( pCur->Text.getLength()-1 ); in optimizeTextElements()
782 pCur->Text.append( sal_Unicode( ' ' ) ); in optimizeTextElements()
789 if( pCur->x + pCur->w + pNext->h*0.15 < pNext->x ) in optimizeTextElements()
791 pCur->Text.append( sal_Unicode(' ') ); in optimizeTextElements()
797 if( pCur->FontId == pNext->FontId && in optimizeTextElements()
805 pCur->updateGeometryWith( pNext ); in optimizeTextElements()
807 pCur->Text.append( pNext->Text.getStr(), pNext->Text.getLength() ); in optimizeTextElements()
811 pCur->Children.splice( pCur->Children.end(), pNext->Children ); in optimizeTextElements()