void Blockquote::printTex( PrintWriter& p ) const { switch ( this->type ) { case START: p.printf( "\\begin{quote}\n" ); break; case END: p.printf( "\\end{quote}\n" ); } }
void Blockquote::print( PrintWriter& p ) const { switch ( this->type ) { case START: p.printf( "<blockquote>\n" ); break; case END: p.printf( "</blockquote>\n" ); } }
void Paragraph::printTex( PrintWriter& p ) const { p.printf( "\n" ); IPIterator<Line>* it = this->lines->positions(); while ( it->hasNext() ) { IPosition<Line>* pos = it->next(); { pos->getElement().printTex( p ); } delete pos; } delete it; p.printf( "\n" ); }