public String getHtmlControl ( ) { StringWriter sw = new StringWriter ( ) ; PrintWriter rw = new PrintWriter ( sw ) ; this . getScreenField ( ) . printData ( rw , HtmlConstants . HTML_DISPLAY ) ; // DO print screen String string = sw . toString ( ) ; return string ; }
Get this report s output as an HTML string .