Lines Matching refs:pText
202 TextElement* pText = NULL, *pLastText = NULL; in isSingleLined() local
209 pText = dynamic_cast< TextElement* >(*it); in isSingleLined()
210 if( pText ) in isSingleLined()
212 const FontAttributes& rFont = rProc.getFont( pText->FontId ); in isSingleLined()
213 if( pText->h > rFont.size*1.5 ) in isSingleLined()
217 if( pText->y > pLastText->y+pLastText->h || in isSingleLined()
218 pLastText->y > pText->y+pText->h ) in isSingleLined()
222 pLastText = pText; in isSingleLined()
237 TextElement* pText = NULL; in getLineHeight() local
244 else if( (pText = dynamic_cast< TextElement* >( *it )) != NULL ) in getLineHeight()
246 const FontAttributes& rFont = rProc.getFont( pText->FontId ); in getLineHeight()
247 double lh = pText->h; in getLineHeight()
248 if( pText->h > rFont.size*1.5 ) in getLineHeight()
259 TextElement* pText = NULL; in getFirstTextChild() local
261 it != Children.end() && ! pText; ++it ) in getFirstTextChild()
263 pText = dynamic_cast<TextElement*>(*it); in getFirstTextChild()
265 return pText; in getFirstTextChild()
297 TextElement* pText = dynamic_cast<TextElement*>(*it); in updateParagraphGeometry() local
298 if( pText ) in updateParagraphGeometry()
299 pChild = pText; in updateParagraphGeometry()
323 TextElement* pText = dynamic_cast<TextElement*>(*it); in resolveHyperlink() local
324 if( pText ) in resolveHyperlink()
436 TextElement* pText = dynamic_cast< TextElement* >(pEle); in resolveUnderlines() local
437 if( pText ) in resolveUnderlines()
439 const GraphicsContext& rTextGC = rProc.getGraphicsContext( pText->GCId ); in resolveUnderlines()
444 FontAttributes aAttr = rProc.getFont( pText->FontId ); in resolveUnderlines()
446 pText->FontId = rProc.getFontId( aAttr ); in resolveUnderlines()