1.3.2.2. Attribute-set segments

Each attribute-set segment (Figure 1.11) consists of a check-box , tooltip help , link to the attribute-set description , attribute-set name and a button with attribute-set name.

Figure 1.11. Attribute-set segment

Attribute-set segment

The check-box specifies whether the attribute-set is chosen or not. If it is checked, the attribute-set is chosen.

The tooltip help displays attribute-set description defined in the parameter reference. If the mouse moves over the tooltip icon, a tooltip with parameter purpose appears (Figure 1.12).

Figure 1.12. Attribute-set tooltip

Attribute-set tooltip

After clicking on the tooltip icon, a dialog with attribute-set description is displayed (Figure 1.13).

Figure 1.13. Dialog with attribute-set description

Dialog with attribute-set description

After clicking on the icon representing a link leading to the attribute-set description, a web browser page with the attribute-set description at http://docbook.souceforge.net/release/current/doc/fo/ is opened. After pressing the right mouse button on the link icon a popup menu appears. Menu item Open web browser opens the description page in a web browser, menu item Copy location copies the url of the description page into the clipboard (Figure 1.14).

Figure 1.14. Popup menu of attribute-set description

Popup menu of attribute-set description

Placement of attribute-sets within editor is defined in the configuration file config.xml.

After pressing the attribute-set button a dialog box with attributes appears.

Attribute dialog box

Attribute dialog box (Figure 1.15) consists of a tabbed pane with panels . Each panel contains a group of attribute segments and buttons Save and Cancel . After pressing the button Save, all changes are saved. After pressing Cancel, no changes are saved.

Figure 1.15. Attribute dialog box

Attribute dialog box

Each attribute segment (Figure 1.16) consists of a check-box , attribute name and one or more editable graphics parts same as are used for parameters (see Editable graphics parts).

Figure 1.16. Attribute segment

Attribute segment

If the attribute has a unit, then the standard editable graphics part is accompanied by a combo-box containing unit values (defined in types.xml by tags unit) (Figure 1.17).

Figure 1.17. Combo-box with units

Combo-box with units

The attributes are defined in the configuration file attributes.xml.