Lines Matching refs:it
56 for( std::list< Element* >::iterator it = Children.begin(); it != Children.end(); ++it ) in applyToChildren() local
57 (*it)->visitedBy( rVisitor, it ); in applyToChildren()
105 for( std::list< Element* >::iterator it = Children.begin(); it != Children.end(); ++it ) in emitStructure() local
106 (*it)->emitStructure(nLevel+1 ); in emitStructure()
187 for( std::list< Element* >::iterator it = Children.begin(); it != Children.end(); ++it ) in emitStructure() local
188 (*it)->emitStructure( nLevel+1 ); in emitStructure()
201 std::list< Element* >::const_iterator it = Children.begin(); in isSingleLined() local
203 while( it != Children.end() ) in isSingleLined()
206 if( dynamic_cast< ParagraphElement* >(*it) != NULL ) in isSingleLined()
209 pText = dynamic_cast< TextElement* >(*it); in isSingleLined()
224 ++it; in isSingleLined()
234 for( std::list< Element* >::const_iterator it = Children.begin(); it != Children.end(); ++it ) in getLineHeight() local
236 ParagraphElement* pPara = dynamic_cast< ParagraphElement* >(*it); in getLineHeight()
244 else if( (pText = dynamic_cast< TextElement* >( *it )) != NULL ) in getLineHeight()
260 for( std::list< Element* >::const_iterator it = Children.begin(); in getFirstTextChild() local
261 it != Children.end() && ! pText; ++it ) in getFirstTextChild()
263 pText = dynamic_cast<TextElement*>(*it); in getFirstTextChild()
285 for( std::list< Element* >::iterator it = pEle->Children.begin(); in updateParagraphGeometry() local
286 it != pEle->Children.end(); ++it ) in updateParagraphGeometry()
288 updateParagraphGeometry( *it ); in updateParagraphGeometry()
293 for( std::list< Element* >::iterator it = pEle->Children.begin(); in updateParagraphGeometry() local
294 it != pEle->Children.end(); ++it ) in updateParagraphGeometry()
297 TextElement* pText = dynamic_cast<TextElement*>(*it); in updateParagraphGeometry()
302 ParagraphElement* pPara = dynamic_cast<ParagraphElement*>(*it); in updateParagraphGeometry()
318 for( std::list<Element*>::iterator it = rElements.begin(); it != rElements.end(); ++it ) in resolveHyperlink() local
320 if( (*it)->x >= pLink->x && (*it)->x + (*it)->w <= pLink->x + pLink->w && in resolveHyperlink()
321 (*it)->y >= pLink->y && (*it)->y + (*it)->h <= pLink->y + pLink->h ) in resolveHyperlink()
323 TextElement* pText = dynamic_cast<TextElement*>(*it); in resolveHyperlink()
329 rElements.splice( it, Hyperlinks.Children, link_it ); in resolveHyperlink()
330 pLink->Parent = (*it)->Parent; in resolveHyperlink()
333 std::list<Element*>::iterator next = it; in resolveHyperlink()
335 Element::setParent( it, pLink ); in resolveHyperlink()
336 it = next; in resolveHyperlink()
337 --it; in resolveHyperlink()
343 if( dynamic_cast<ParagraphElement*>(*it) ) in resolveHyperlink()
345 if( resolveHyperlink( link_it, (*it)->Children ) ) in resolveHyperlink()
349 FrameElement* pFrame = dynamic_cast<FrameElement*>(*it); in resolveHyperlink()
353 rElements.splice( it, Hyperlinks.Children, link_it ); in resolveHyperlink()
354 pLink->Parent = (*it)->Parent; in resolveHyperlink()
356 Element::setParent( it, pLink ); in resolveHyperlink()
426 for( std::list< Element*>::iterator it = Children.begin(); in resolveUnderlines() local
427 it != Children.end(); ++it ) in resolveUnderlines()
429 Element* pEle = *it; in resolveUnderlines()