Download Elixir Report Designer User Manual

Transcript
Report Elements
Progression: The Progression property in the property table of the Data Grid Wizard is to set the
properties such as Text Height, Line Height, Box Count and Fixed width similar to those in the Property
Wizard.
By default the progression value is a number which corresponds to the Fixed width. If for instance the
number is entered as 20 then all the cells will have the specified width. The other values are TextHeight, Line-Height, Box-Count # # where # is any number. The first # corresponds to the number of
cells that are to be displayed across and the second # corresponds to the number of cells that are to be
displayed downwards.
Image
The Image element is used to embed an image in the report. The Image element is a rectangular portion
into which picture files can be loaded. Elixir Report Designer support image formats such as jpg, png,
bmp and gif. The exact file formats supported varies with Java version and vendor implementation.
The jpg and png file formats are supported across all implementations, so they are the best choice. The
bmp file format is supported in Sun's Java 6 (1.6) and later.
Select a Image element from the tool bar and place it in the report layout. Select the Properties from
the pop up menu of the Image element.
Image Type
You can either embed a static or dynamic image in Elixir Report Designer. Static image is a prefixed
image that is embedded at design time. For example, company.jpg. This can be achieved by selecting
the URL Image type option.
A dynamic image allow a dynamic display of your images based on the data field name passed to in,
it is like the Data field element except that it renders image instead of text. An example of dynamic
images is a list of photo of the employee in the company. This can be achieved by using Field or Script
Image type options.
Javascript graphics can also be used by defining in Javascript graphics tab.
The image types and their description are given below:
URL:
On selecting URL from the Image Type combo box the URL text box and the URL Type combo box
appears.
The URL path is entered in the text box and the URL type is selected from the combo box. Either a
local URL e.g. file:/C:/apple.gif or repository:/EnsembleWorkspace/berry.gif can be specified or a
web URL link such as http://www.google.com/images/logo.gif can be entered.
Field:
Select the Field option from the Image Type combo box. The DataSource is selected from the list of
data sources in the combo box. Alternatively, by clicking the Add button on the right of the combo
box you can select a data source from the Configure DataSource Wizard. On clicking the Finish button
in the Configure DataSource Wizard the selected data source will be added to the list of data sources
in the DataSource combo box.
The data source field name and the corresponding data types are listed in a table in the Field tab. Select
the required field from the list of DataSource fields. The field will retrieve the image from the database.
41