<item action="com.cohga.client.action.simplereportmenu">
<label>Quick Reports</label>
<tooltip>
<title>Quick Report</title>
<text>Generate a preset report</text>
</tooltip>
<!-- Set a default format, the user can't choose one if you do this -->
<format>pdf</format>
<reports>
<report>
<label>A4 Portrait Map Report</label>
<report>birt.map<report>map_portrait_a4/report>
</report>
<!-- Overwrite the report label -->
<report>
<label>A4 Landscape Map Report</label>
<report>birt.map<report>map_landscape_a4/report>
</report>
<!-- Only enable the entry for a particular entity -->
<report>
<entity>property</entity>
<label>Property Detail</label>
<report>birt.property<report>property_details</report>
</report>
<!-- set the report parameter rather than the user having to enter it -->
<report>
<entity>property</entity>
<label>Property Detail - 1:5000</label>
<report>birt.property<report>property_details</report>
<!-- assumes the report has a parameter called 'scale' that the user usually inputs -->
<parameters>
<scale>5000</scale>
</parameters>
</report>
</reports>
</item>
|