
Inserting a UDO into a report
A UDO can be inserted in the report areas listed in Component placement.
To insert a UDO to a report:
- Start JReport Designer with the modified batch file, then create a new report, or open an existing report.
- Do one of the following:
- Click Insert > UDO on the menu bar (or the Insert UDO button
on the Insert toolbar).
- Drag UDO from the Toolbox panel to the destination where you want to insert the UDO.
- In the Insert UDO dialog, select a UDO as required from the UDO drop-down. The list contains all UDOs that have been registered in the file JReport.bat in
<install_root>\bin.
- Click OK in the dialog.
- If you use menu or toolbar command to insert the UDO, click the mouse button in the desired location to insert the UDO there.
- If you take the dragging and dropping method to insert the UDO, the UDO will be inserted there upon clicking the OK button.
After a UDO has been inserted, you can then customize its appearance and behavior by setting properties in the Report Inspector, which can be saved as a CSS style for future use (for details, see Creating a CSS style).
