Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

Visual Tagging Tool

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 NamesDescriptions Variable Values
VTT System Variables
VTT_DIR the absolute path of the Visual Tagging Tool directory
  • /Projects/VTT/vtt2010
  • d:/Projects/VTT/vtt2010/
VTT_FILE_DIR the path (absolute or relative) of VTT file directory
  • /Projects/VTT/vtt2010/data/vtt
  • data/vtt
TAGS_FILEthe path (absolute or relative) of default tags file
  • /Projects/VTT/vtt2010/data/config/tags.data
  • data/config/tags.data
FILEPATH_DISPLAY_LENGTHthe length of display characters of opened file path shown in the title
  • 50
BASE_FONT_SIZEthe base font size for text and tag
  • 10
ZOOM_FACTORthe global relative view factor of zoom in/out
  • 2
  • 0
  • -2
VTT_FORMATVTT file format on markups
  • SIMPLE_FORMAT
  • READABLE_FORMAT
  • FIX_LENGTH_FORMAT
MARKUP_OFFSET_SIZEsize of markup offset field in FIX_LENGTH VTT format
  • 7
MARKUP_LENGTH_SIZEsize of markup length field in FIX_LENGTH VTT format
  • 2
MARKUP_TAG_NAME_SIZEsize of markup tag name field in FIX_LENGTH VTT format
  • 15
MARKUP_TAG_CATEGORY_SIZEsize of markup tag category field in FIX_LENGTH VTT format
  • 15
Select Markup Variables
OVERWRITE_SELECT_BOLDoverwrite the bold attribute on select markup
  • false
OVERWRITE_SELECT_ITALICoverwrite the italic attribute on select markup
  • false
OVERWRITE_SELECT_UNDERLINEoverwrite the underline attribute on select markup
  • false
OVERWRITE_SELECT_FONToverwrite the font attribute on select markup
  • false
OVERWRITE_SELECT_SIZEoverwrite the size attribute on select markup
  • true
OVERWRITE_SELECT_TEXT_COLORoverwrite the text color on select markup
  • false
OVERWRITE_SELECT_BACKGROUND_COLORoverwrite the background color on select markup
  • false
USE_TEXT_TAG_FOR_NOT_DISPLAY_SELECT_MARKUPuse textTag for not display selected markup
  • false
SELECT_BOLDselect markup bold attribute
  • true
SELECT_ITALICselect markup italic attribute
  • false
SELECT_UNDERLINEselect markup underline attribute
  • true
SELECT_FONTselect markup font attribute
  • Monospaced
SELECT_SIZEselect markup size attribute (+2|14|-2)
  • +4
SELECT_TEXT_COLOR_Rselect markup text color-red (0 ~ 255)
  • 0
SELECT_TEXT_COLOR_Gselect markup text color-green (0 ~ 255)
  • 0
SELECT_TEXT_COLOR_Bselect markup text color-blue (0 ~ 255)
  • 0
SELECT_BACKGROUND_COLOR_Rselect markup text color-red (0 ~ 255)
  • 255
SELECT_BACKGROUND_COLOR_Gselect markup text color-green (0 ~ 255)
  • 255
SELECT_BACKGROUND_COLOR_Bselect markup text color-blue (0 ~ 255)
  • 255

II. Syntax

  • comment lines begin with "#".
  • variable=value: set value to variable

III. File Location

  • default: ${VTT_DIR}/data/config/vtt.properties

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.