unit IMTDocGlobals;

{
[IMTDocGlobals] [1.2]
Delphi 2005
September 2007

LICENSE

The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
"http://www.mozilla.org/MPL/"

Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
the specific language governing rights and limitations under the License.

The Original Code is "[IMTDocGlobals.pas]".

The Initial Developer of the Original Code is Martin Holmes (Victoria,
BC, Canada, "http://www.mholmes.com/"). Copyright (C) 2006 Martin Holmes
and the University of Victoria Computing and Media Centre. The code was
co-developed for university and personal projects, and rights are shared
by Martin Holmes and the University of Victoria. All Rights Reserved.
}

{
Written by Martin Holmes, Winter/Spring 2006. imtSchemaFilename changed
October 2006, December 2006, February 2007, September 2007, December 2007; other
updates September 2007 and December 2007.

This unit contains global declarations used by classes that form
part of the TIMTDoc hierarchy.
 }
interface

const teiAppInfoTag: WideString = 'appInfo';
const teiAppTag: WideString = 'application';
const teiAppLabelTag: WideString = 'label';
const teiAppDescTag: WideString = 'desc';
const teiAppRefTag: WideString = 'ref';

const teiAppDetailTag: WideString = 'appDetail';
const imtAppVersionInfoID: WideString = 'imtAppVersionInfo';
const teiAppName: WideString = 'appName';
const teiAppVersion: WideString = 'appVersion';
const teiAppURI: WideString = 'appURI';
const teiAppDesc: WideString = 'appDesc';
const teiSectionsTouched: WideString = 'sectionsTouched';
const teiLastSave: WideString = 'lastSave';
const imtWrapperType: WideString = 'imtAnnotatedImage';
const imtAnnWrapperType: WideString = 'imtImageAnnotations';
const imtAnnType: WideString = 'imtAnnotation';
const imtAreaPrefix: WideString = 'imtArea_';
const imtCategoryListID: WideString = 'imtAnnotationCategories';
const wsDefaultCategoryID: WideString = 'Default';
var imtSchemaFileName: WideString = 'imt_1_8';

//These were added to version 1.8.1.6 after I discovered that in WINE on
//Linux, these values are not successfully read from the exe's version info
//block.
//appURI changed for version 1.8.2.2 because tapor URIs are going away.
const appIdent = 'ImageMarkupTool01';
const appURI = 'http://hcmc.uvic.ca/~mholmes/image_markup/';
//These were added for version 1.8.1.7, for similar reasons.
const appDesc = 'Tool for annotating images using TEI';

//Constants for the shape of the annotation area signal drawing
const
  asRectangle = 0;
  asCross = 1;
  asEllipse = 2;
  asSpiral = 3;

implementation

end.
