Creating an XSD style

To create an XSD style, that is to add a style group in a catalog, follow the steps below:

  1. In JReport Designer, open the catalog to which you want to add the style group.
  2. In the Styles tab of the Catalog Browser, right-click any of the existing group and select New Style Group from the shortcut menu.
  3. In the New Style Group dialog, enter the name and description of the group, then click OK. A new style group will be added to the tree.
  4. Right-click the group and click New Style.
  5. In the New Style dialog, specify the name, type and description of the new style, then click OK.

    The style type indicates the application scope of a style, for example, a style with Label type can only be applied to label objects, and a style with DBField type can only be applied to DBFields.

  6. In the Save Style dialog, add the properties to be included in the style and change the property values as required. See the dialog.

    To add a property, select it from the All Properties box and click . To add all the available properties to the style at a time, click .

    To edit the value of a property, click its value cell in the Selected Properties box, then input the new value and press Enter on the keyboard to confirm the change.

    To remove a property that has been added, select it from the Selected Properties box and click . To remove all the added properties at a time, click .

  7. Click Save to add the style to the group.
  8. Repeat steps 4 to 7 to add more styles to the group.

Now, an XSD style will have been created. You can then apply the style to your reports.

Notes: