jfreereport-template.xml 2.37 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE report PUBLIC "-//JFreeReport//DTD report definition//EN//simple/version 0.8.5"
                        "http://jfreereport.sourceforge.net/report-085.dtd">
                        
<report bottommargin="36" leftmargin="36" name="template1" orientation="portrait" pageformat="LETTER" rightmargin="36" topmargin="36">
	<parser-config>
		<property name="reportheader"><!-- label --></property>
		<property name="reportfooter"><!-- label --></property>
		<property name="pageheader"><!-- label --></property>
		<property name="pagefooter"><!-- label --></property>	
	</parser-config>
	<reportheader color="#BB1A5B" fontname="Arial" fontsize="16">
		<message-field alignment="left" height="24" vertical-alignment="middle" width="100%" x="0%" y="0">${reportheader}</message-field>
	</reportheader>
	<reportfooter color="#BB1A5B" fontname="Arial" fontsize="16">
		<message-field alignment="left" height="24" vertical-alignment="middle" width="100%" x="0%" y="0">${reportfooter}</message-field>
	</reportfooter>
	<items></items>
	<pageheader color="#2F2C35" fontname="Arial" fontsize="8">
		<round-rectangle height="18" arc-height="6" arc-width="6"
			color="#D5B8D0" width="100%" x="0%" y="0" fill="true" draw="true"
			dynamic="false" layout-cachable="false" />
		<message-field alignment="left" height="18" vertical-alignment="middle" width="50%" x="0%" y="0">${pageheader}</message-field>
		<message-field alignment="right" height="18" vertical-alignment="middle" width="50%" x="50%" y="0">$(report.date, date, MMMM dd, yyyy @ hh:mm )</message-field>
		<line color="#BB1A5B" height="3" weight="3" width="100%" x1="0%" x2="100%" y1="18" y2="18"/>
	</pageheader>
	<pagefooter color="#2F2C35" fontname="Arial" fontsize="8">
		<round-rectangle height="18" arc-height="6" arc-width="6"
			color="#D5B8D0" width="100%" x="0%" y="0" fill="true" draw="true"
			dynamic="false" layout-cachable="false" />
		<line color="#BB1A5B" height="3" weight="3" width="100%" x1="0%" x2="100%" y1="18" y2="18"/>
		<message-field alignment="left" height="18" width="50%" x="0" y="0">${pagefooter}</message-field>
		<message-field alignment="right" height="18" width="50%" x="50%" y="0">Page $(PageofPages)</message-field>
	</pagefooter>
	<functions>
		<property-ref name="report.date"/>
		<function class="org.jfree.report.function.PageOfPagesFunction" name="PageofPages"/>
	</functions>
</report>