After a report is built up, you can make further modifications to the report, in order to make it better satisfy your requirements. In JReport, to edit a report is actually to edit the components in it. This section only lists the basic operations used for editing a report. For more details, you can refer to the specific section of each component in the chapter Components.
Note: The other way to edit a report is by changing its properties in the Report Inspector. For detailed property descriptions, see Properties in the Report Inspector.
After the initial design work of a report, you are also free to insert more components into the report according to your requirements. To insert a component, you can either use the menu command or the Toolbox panel.
You can duplicate any component in a report without creating it the second time.
To resize a component in a report, follow the steps below:
The position of a component in a report can be Static, Relative or Absolute. To change the position of a component, right-click it and then on the shortcut, select the required item from the Position submenu.
In addition, when the position of some components in a report is set to Absolute, these components will be overlapped each other. You can decide the display order of the components by moving them backwards or forwards. For details, see Position property.
Some components in a report can be set up to show in a table of contents. Then when previewing the report in JReport Format, viewing it in JReport Web, exporting it to PDF or HTML format, TOC Browser can be used to locate the corresponding component.
To show a component in a TOC tree:
JReport also allows you to specify other properties for a TOC tree as you like, including its CSS style, colors and fonts. You can specify these properties by selecting TOC node in Report Inspector.
If you find any components contained in a report are not required, you can use either of the following two ways to remove it from the report: