How To - Auto List 1.2 ------------------------------------------------------------------------------------ 1. List description file 2. The header 3. List body 4. XML file example 1. List description file ------------------------ The applet it is configured using the XML list description file. The name of the .xml file is set up by the value of the "listDescriptionFile" applet parameter. The XML document should contain the root element, with a child element, which also must contain at least one element. The element may contain an optional element. The configuration elements may be gruped under this optional element or under the root element. E. g.: ... configuration elements (optional) ... ... configuration elements (optional) ... ... 2. The header ------------- The number of columns and the names of the columns printed on the header are determined by the first element from the section. The names of the columns correspond to the names of the XML attributes of the first row. The default size of each column is the double of its name length. The default font for the column names is "Arial 11". It may be changed by using the configuration element. This element has three attributes: name - the name of the font, style - font style (italic, bold, plain) and size - the size of the font. E. g.: ... The size of the columns may be changed using the configuration element . This element has attributes named "colX", where X is the index (starting with 1) of the column for each the size is specified. The size of a column having the index N can be specified only if all column sizes for indices less than N are specified too. E. g.: The height of the header is predefined and can not be changed. 3. List body ------------ The body of the list contains the rows from the section. The height of the rows depend on the size of the used font. For the font customization the following element is used . This element is similar with the element. E. g.: ... The background color of the list it is controled by the element. The default color is white. The element has the attributes: red, green and blue, each of them requiring values form 0 to 255. E. g.: ... 4. XML file example -------------------