The settings that can be adjusted by the main property file are:
content of menubar
content of toolbar
content of menus (menu items)
menu item's action
toolbar button's actions
menu item icons
toolbar icons
font size labels
lineHeight parameter
·
Menubar can consist of edit, format and info menu (all of them, some of them or non of them) which is determined by the property file line: menubar = edit format info - if you want all menus, menubar = edit format - if you want some of them. If you don't want menubar you don't write anything about that in property file
Toolbar can consist of cut, copy, paste, bold, italic, underline, left, center and right buttons and font family and font size combos (all of them, some of them or non of them), which is determined by the property file line: toolbar=cut copy paste - bold italic underline - left center right - fontfamily fontsize - if you want all of them, toolbar=cut copy paste - bold italic underline - left center right - if you want some of them. If you don't want toolbar at all, you don't write anything about that to the property file. (NOTE: '-' means that buttons are delimited by space)
Every menu consists of menu items, for e.g. edit menu consists of menu items cut, copy and paste which is determined by property file line: edit = cut copy paste, or for e.g. info menu consists of menu items parametar and about delimited by '-' which is determined by property file line: info = parametar - about
There are some standard predefined actions which can be managed in following way:cutAction = cut-to-clipboard copyAction = copy-to-clipboard and similar for other commands.
These are only labels that are defined in "main" property file because they always have the same numeric values which don't depend on language.
Menu item icons can be easily set by property file, for e.g. menu item 'cut' has icon which is determined by property file line: cutImageMenu =Images/Cut16.gif which means that icon is a gif file Cut16.gif located in subdirectory Images of directory where HTML file which contains our applet is placed. Menu item icons dimensions should be the same for all items (16x16 pixels recommended).
Toolbar button icons can also be easily set by property file, for e.g. toolbar button 'cut' has icon which is determined by property file line: cutImageTool = Images/Cut24.gif which means that icon is gif file Cut24.gif located in subdirectory Images of directory where HTML file which contains our applet is placed. Toolbar icons dimensions should be the same for all buttons (24x24 pixels recommended).
lineHeight parameter is used when applet context is formatted in a form of XSL:FO format, and it determines the height of lines in resulting PDF document. Valid values for this parameter are between 8 and 96.
These actions are shareable with corresponding menu items (except actions used to align text) and are not defined separately.