Java Reference
In-Depth Information
Exporting to Plain Text
Reports can be exported to plain text. For this section, we will export a more textual
report than the one we used for previous sections. The JRXML template for the
report we will export is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//
EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport name="PlainTextExportDemoReport">
<title>
<band height="30">
<staticText>
<reportElement x="0" y="0" width="555" height="30"/>
<text>
<![CDATA[Text Heavy Report]]>
</text>
 
Search WWH ::




Custom Search