Setting Installation Preferences

Documentation home

 

See also:          Ebase Startup Parameters, Color selection

 

This document describes how to change the list of standard fonts and standard colors offered in the Ebase Xi Designer.

 

Installation preferences can be set by editing the installation preferences XML file. This is a server file and the file location is specified in the Ufs.installationPreferencesFileName parameter of the Ebase startup parameters UFSSetup.properties. In the shipped system, this file is located at UfsServer/tomcat/webapps/ufs/preferences/installation_preferences.xml.  

 

The following preferences can be set:

 

  • The list of fonts that can be selected using the Ebase Designer
  • The list of standard colors that can be selected using the Ebase Designer

 

The supplied XML file is shown below. When changes are made, the Ebase Server and designers should be re-started to see the changes.

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<document type="InstallationPreferences">

  <BrowserPresentation>

 

<!-- The following fonts are available in the designer whenever a font selection is available. This list can be modified or extended as required. -->   

 

    <fonts>

      <font>Arial, Helvetica, sans-serif</font>

        <font>"Arial Black", sans-serif</font>

        <font>cursive</font>

        <font>"Courier New", Courier, monospace</font>

        <font>fantasy</font>

        <font>Geneva, Arial, Helvetica, sans-serif</font>

        <font>Georgia, "Times New Roman", Times, serif</font>

        <font>monospace</font>

        <font>serif</font>

        <font>sans-serif</font>

        <font>Tahoma, sans-serif</font>

        <font>"Times New Roman", Times, serif</font>

        <font>Verdana, Arial, Helvetica, sans-serif</font>

    </fonts>

 

<!-- The following colors appear in the designer as "standard colors" whenever a color choice is available. The supplied colors include all browser-safe colors. This list can be modified or extended as required. -->

   

  <colours>

     <colour><code>#000000</code></colour>

     <colour><code>#000033</code></colour>

     <colour><code>#000066</code></colour>

     <colour><code>#000099</code></colour>

     <colour><code>#0000CC</code></colour>

     <colour><code>#0000FF</code></colour>

     <colour><code>#003300</code></colour>

     <colour><code>#003333</code></colour>

     <colour><code>#003366</code></colour>

     <colour><code>#003399</code></colour>

     <colour><code>#0033CC</code></colour>

     .. more colors

     <colour><code>#FFFF33</code></colour>

     <colour><code>#FFFF66</code></colour>

     <colour><code>#FFFF99</code></colour>

     <colour><code>#FFFFCC</code></colour>

     <colour><code>#FFFFFF</code></colour>

    </colours>

  </BrowserPresentation>

</document>