Lines Matching refs:pPara
549 ParagraphElement* pPara = dynamic_cast<ParagraphElement*>(*next_page_element); in visit() local
550 if( pPara && ! pPara->Children.empty() ) in visit()
551 pText = dynamic_cast<TextElement*>(pPara->Children.front()); in visit()
672 ParagraphElement* pPara = dynamic_cast<ParagraphElement*>(*it); in checkHeaderAndFooter() local
673 if( pPara ) in checkHeaderAndFooter()
675 if( pPara->y+pPara->h < rElem.h*0.15 && pPara->isSingleLined( m_rProcessor ) ) in checkHeaderAndFooter()
683 if( pNextPara && pNextPara->y > pPara->y+pPara->h*2 ) in checkHeaderAndFooter()
685 rElem.HeaderElement = pPara; in checkHeaderAndFooter()
686 pPara->Parent = NULL; in checkHeaderAndFooter()
687 rElem.Children.remove( pPara ); in checkHeaderAndFooter()
699 ParagraphElement* pPara = dynamic_cast<ParagraphElement*>(*rit); in checkHeaderAndFooter() local
700 if( pPara ) in checkHeaderAndFooter()
702 if( pPara->y > rElem.h*0.85 && pPara->isSingleLined( m_rProcessor ) ) in checkHeaderAndFooter()
710 if( pNextPara && pNextPara->y < pPara->y-pPara->h*2 ) in checkHeaderAndFooter()
712 rElem.FooterElement = pPara; in checkHeaderAndFooter()
713 pPara->Parent = NULL; in checkHeaderAndFooter()
714 rElem.Children.remove( pPara ); in checkHeaderAndFooter()