Emas III - Config Files Readme

March 2014 / F.G.


1. General Information

All config files use xml format. They use utf-8 encoding.

Use an appropriate editor like the free XML Notepad 2007 from Microsoft. It can be downloaded from http://www.microsoft.com/download/en/details.aspx?id=7973

2. config.xml - Main Config

The file config.xml is the main config file that is parsed first by Emas III.

nodeValuePurpose
config->version[###]version numbers
config->updatehttp://[URL]/path/to/some/file.txtURL to update text file. Text file needs to contain URL to new version
config->timeout[seconds]time in seconds for socket timeout
config->language[ln]set to desired default language, match filename emas_[ln].xml, [ln] - de, en, es, fr, int, it, es, pt
config->colourscontainergroups predefined EMAS colour codes
config->colours->[colourname]->pantone[text]not used, informative
config->colours->[colourname]->cmyk[c.cc m.mm y.yy k.kk]cmyk between 0.00 and 1.00
config->colours->[colourname]->gray[k.kk]k between 0.00 and 1.00
config->colours->regnocodecontainergroups Reg.No. properties
config->regnocode->fontcontainergroups Reg.No. font properties
config->regnocode->font->name[text]Reg.No. font name
config->regnocode->font->size[points]Reg.No. font size
config->vem->fontcontainergroups VEM text font properties
config->vem->font->name[text]VEM text font name
config->vem->font->size[points]VEM text font size
config->profile->cmyk[filename]cmyk icc profile filename in ../data/logo/icc/
config->profile->rgb[filename]rgb icc profile filename in ../data/logo/icc/
config->paths->im[path/filename]path/filename for image magick convert in ../data/bin/..
config->paths->gs[path/filename]path/filename for ghost script in ../data/bin/..
config->paths->pdfa[path/filename]path/filename for ghost script pdf exporter header in ../data/logo/pdf/..
config->paths->glyphs[path/filename]path/filename for adobe glyph list ../data/logo/aglfn/..

emas_[ln].xml - Language Config

The language config files of the the format emas_[ln].xml contain the language specfic details for Emas III and various other settings.

nodeValuePurpose
configcontainergroups most basic configuration data
config->languagetwo letter language code [ln]set to language of this file, de, en, es, fr, int, it, es, pt
config->layoutcontainergroups layout settings
config->layout->window->width[pixels]width of main window
config->layout->window->height[pixels]height of main window
config->layout->menubuttonwidth[pixels]max width of main menu button
config->layout->xstart[pixels]x of top left corner
config->layout->ystart[pixels]y of top left corner
config->layout->labelwidth[pixels]max text width in front of dropdowns
config->layout->selectwidth[pixels]max width of dropdowns
updatecontainergroups update pop-up window texts
update->title[text]update pop-up window title and udpate status text if version does not match
update->text[text]udpate pop-up window text to answer with OK
update->check_text[text]udpate status text before check
update->error_text[text]udpate status text if no answer or error from server
update->wrong_text[text]udpate status text if answer is invalid
update->recent_text[text]udpate status text if version matches
defaultcontainergroups default settings
default->filename[text]default file name for save logo
default->headlinecontainerfont properties headline
default->descriptioncontainerfont properties description
default->linkcontainerfont properties for links doc/href
default->textcontainerfont properties everything else
default->colourcontainercolour Reg.No. font properties preview
default->graycontainergray Reg.No. font properties preview
default->blackcontainerwhite on black Reg.No. font properties preview
default->whitecontainerblack on white Reg.No. font properties preview
default->fileformat[dropdown index number]set to desired default index number for dropdown
default->colourformat[dropdown index number]set to desired default index number for dropdown
default->logolanguage[dropdown index number]set to desired default index number for dropdown
default->logotexte[dropdown index number]set to desired default index number for dropdown
default->regnocountry[dropdown index number]set to desired default index number for dropdown
default->regnoregion[dropdown index number]set to desired default index number for dropdown
menucontainergroups menu buttons
menu->language->text[text]text of the language menu button
menu->language->menubuttonwidth[pixels]width of the language menu button
menu->logo->text[text]text of the logo menu button
menu->logo->menubuttonwidth[pixels]width of the logo menu button
menu->help->text[text]text of the help menu button
menu->help->menubuttonwidth[pixels]width of the help menu button
menu->about->text[text]text of the about menu button
menu->about->menubuttonwidth[pixels]width of the about menu button
menu->docs->text[text]text of the documents menu button
menu->docs->menubuttonwidth[pixels]width of the documents menu button
menu->links->text[text]text of the links menu button
menu->links->menubuttonwidth[pixels]width of the links menu button
menu->exit->text[text]text of the exit menu button
menu->exit->menubuttonwidth[pixels]width of the exit menu button
tabcontainergroups main tabs
tab->id[text]the id of this tab, do not change
tab->label[text]headline of this tab
tab->descriptioncontainergroups text elements on this tab
tab->separator[text]text between descriptions
tab->buttoncontainergroups button elements on this tab
tab->button->[name]->text[text]text of the button [name]
tab->button->[name]->xpos[pixels]xpos of the button [name]
tab->button->[name]->ypos[pixels]ypos of the button [name]
tab->selectcontainergroups dropdown elements on this tab
tab->select->id[text]id of this dropdown, do not change
tab->select->label[text]headline of this dropdown
tab->select->xpos[pixels]xpos of this dropdown
tab->select->ypos[pixels]ypos of this dropdown
tab->select->itemcontainergroups a dropdown item text and its data
tab->select->item->text[text]dropdown item text
tab->select->item->data[data]dropdown item data
tab->item->opencontainergroups links
tab->item->open->xpos[pixels]xpos of this link
tab->item->open->ypos[pixels]ypos of this link
tab->item->open->label[text]text before link item(s)
tab->item->open->itemcontainergroups link item
tab->item->open->item->text[text]text of the link
tab->item->open->item->doc[filename]open this [filename] from ../data/doc/
tab->item->open->item->href[url]open this [url]
tab->itemcontainergroups sub tab items
tab->item->label[text]text for the tab of this sub tab
tab->item->text[text]paragraph of text on this sub tab
tab->item->tabcontainergroups sub-sub tab items
tab->item->tab->itemcontainersub-sub tab item
tab->item->tab->item->label[text]headline of this sub-sub tab
tab->item->tab->item->box[text]text with scrollbars
tab->item->tab->item->opencontainergroups links
tab->item->tab->item->open->label[text]text before link item(s)
tab->item->tab->item->open->itemcontainergroups link item
tab->item->tab->item->open->item->text[text]text of the link
tab->item->tab->item->open->item->doc[filename]open this [filename] from ../data/doc/
tab->item->tab->item->open->item->href[url]open this [url]
tab->item->tab->item->paragraph[text]container for a paragraph of text with a link on this sub-sub tab
tab->item->tab->item->paragraph->text[text]paragraph of text on this sub-sub tab
tab->item->tab->item->paragraph->height[pixels]override auto height of text box on this sub-sub tab
tab->item->tab->item->paragraph->opencontainergroups links
tab->item->tab->item->paragraph->open->label[text]text before link item(s)
tab->item->tab->item->paragraph->open->itemcontainergroups link item
tab->item->tab->item->paragraph->open->item->text[text]text of the link
tab->item->tab->item->paragraph->open->item->doc[filename]open this [filename] from ../data/doc/
tab->item->tab->item->paragraph->open->item->href[url]open this [url]

3. emas_vem.xml - Logo Texts

The file emas_vem.xml contains the language specific translations for the logo text "VERIFIED ENVIROMENTAL MANAGENEMT".

nodeValuePurpose
two letter language code [ln]textused to add text to logo