Customize the text format

You may want to make changes to the appearance of text in the application. You can control fonts, text color, and size in the header and footer areas by customizing the style.css file.

Text manipulation overview

Text styles, font, weight, and other characteristics are controlled by the styles.swf file. You can locate the styles.swf file at the following location:

<SRC_Root_Folder>\src\secure\configuration\default

However, the styles.swf file is an auto-generated .swf file derived from the corresponding styles.css file. Cascading Style Sheets are a well-known standard you can use easily configure attractive looking text according to your organization's branding guidelines. To convert the styles.css file to a styles.swf file, you must used the Adobe Flex Software Development Kit (SDK) compiler. You can download this open-source compiler from the following Web site: www.Adobe.com

Converting styles.css to styles.swf

Once you have downloaded the compiler, you can use it to convert the styles.css file to a styles.swf file. To do this, follow these steps:

  1. Extract the compiler to an easily accessible folder.
  2. Add the location of the mxml compiler to the Path environment variable.
  3. Open a command prompt, and then navigate to the location where you stored the styles.css.
  4. Enter the following command at the command prompt:
    mxmlc styles.css

    Note If SRC end users do not have the access to the Internet, enter the following command at the command prompt:

    mxmlc styles.css -static-link-runtime-shared-libraries=true
  5. When you do this, the compiler should generate the styles.swf file. Copy the styles.swf file, and replace the original styles.swf in the following location:
    <SRC_Root_Folder>\src\secure\configuration\default

    Note Make sure that you make a copy of the original styles.swf file and store it in a safe place.