Configuration Setup
This version of VTT Java provides users choices of different set up options through the configuration file. The default configuration file is ${VTT_DIR}/data/config/vtt.properties. The variables used in the configuration file are listed in the following table. "Relative path" refers to the path relative to VTT top directory, ${VTT_DIR}.
I. Configuration variables
Variable Names | Descriptions | Variable Values |
VTT System Variables | ||
VTT_DIR | the absolute path of the Visual Tagging Tool directory |
|
VTT_FILE_DIR | the path (absolute or relative) of VTT file directory |
|
TAGS_FILE | the path (absolute or relative) of default tags file |
|
FILEPATH_DISPLAY_LENGTH | the length of display characters of opened file path shown in the title |
|
BASE_FONT_SIZE | the base font size for text and tag |
|
ZOOM_FACTOR | the global relative view factor of zoom in/out |
|
VTT_FORMAT | VTT file format on markups |
|
MARKUP_OFFSET_SIZE | size of markup offset field in FIX_LENGTH VTT format |
|
MARKUP_LENGTH_SIZE | size of markup length field in FIX_LENGTH VTT format |
|
MARKUP_TAG_NAME_SIZE | size of markup tag name field in FIX_LENGTH VTT format |
|
MARKUP_TAG_CATEGORY_SIZE | size of markup tag category field in FIX_LENGTH VTT format |
|
Select Markup Variables | ||
OVERWRITE_SELECT_BOLD | overwrite the bold attribute on select markup |
|
OVERWRITE_SELECT_ITALIC | overwrite the italic attribute on select markup |
|
OVERWRITE_SELECT_UNDERLINE | overwrite the underline attribute on select markup |
|
OVERWRITE_SELECT_FONT | overwrite the font attribute on select markup |
|
OVERWRITE_SELECT_SIZE | overwrite the size attribute on select markup |
|
OVERWRITE_SELECT_TEXT_COLOR | overwrite the text color on select markup |
|
OVERWRITE_SELECT_BACKGROUND_COLOR | overwrite the background color on select markup |
|
USE_TEXT_TAG_FOR_NOT_DISPLAY_SELECT_MARKUP | use textTag for not display selected markup |
|
SELECT_BOLD | select markup bold attribute |
|
SELECT_ITALIC | select markup italic attribute |
|
SELECT_UNDERLINE | select markup underline attribute |
|
SELECT_FONT | select markup font attribute |
|
SELECT_SIZE | select markup size attribute (+2|14|-2) |
|
SELECT_TEXT_COLOR_R | select markup text color-red (0 ~ 255) |
|
SELECT_TEXT_COLOR_G | select markup text color-green (0 ~ 255) |
|
SELECT_TEXT_COLOR_B | select markup text color-blue (0 ~ 255) |
|
SELECT_BACKGROUND_COLOR_R | select markup text color-red (0 ~ 255) |
|
SELECT_BACKGROUND_COLOR_G | select markup text color-green (0 ~ 255) |
|
SELECT_BACKGROUND_COLOR_B | select markup text color-blue (0 ~ 255) |
|
II. Syntax
III. File Location
Notes: The VTT installation program generates ${VTT_DIR}/data/config/vtt.properties automatically (from ${VTT_DIR}/data/config/vtt.properties.TEMPLATE) according to options users chose during the installation.