The Thot Tool Kit API
1 Introduction to the document model
1.1 Logical structure
1.2 Presentation
2 Tool kit structure
2.1 Structure of this manual
2.2 Libraries
2.2.1 Thot Kernel library
2.2.2 Thot Editor library
3 Using the Thot tool kit
3.1 Errors
3.2 Include files
3.3 Buffers
4 Types used by the Thot editing tool kit
5 Initialization
5.1 Constructors
5.1.1 TtaInitialize
5.1.2 TtaQuit
5.1.3 TtaInitializeAppRegistry
5.1.4 TtaSaveAppRegistry
5.1.5 TtaGetEnvString
6 Application
6.1 Constructors
6.1.1 TtaGetMemory
6.1.2 TtaFreeMemory
6.2 Modificators
6.2.1 TtaSetErrorMessages
6.2.2 TtaSetEnvString
6.3 Accessors
6.3.1 TtaGetVersion
6.3.2 TtaGetErrorCode
6.3.3 TtaGetStrError
7 Interface
7.1 Constructors
7.1.1 TtaSetCallback
7.1.2 TtaHandlePendingEvents
7.1.3 TtaHandleOneEvent
7.1.4 TtaCreatePixmapLogo
7.1.5 TtaCreateBitmapLogo
7.1.6 TtaAddButton
7.1.7 TtaAddTextZone
7.2 Accessors
7.2.1 TtaGetCurrentDisplay
7.2.2 TtaGetScreenDepth
7.2.3 TtaClickAnElement
7.3 Modificators
7.3.1 TtaChangeButton
7.3.2 TtaSetTextZone
7.3.3 TtaSetMenuOff
7.3.4 TtaSetMenuOn
7.3.5 TtaSetActionOff
7.3.6 TtaSetActionOn
7.3.7 TtaSetToggleItem
7.3.8 TtaSetCursorWatch
7.3.9 TtaResetCursor
8 Messages
8.1 Constructors
8.1.1 TtaGetMessageTable
8.2 Accessors
8.2.1 TtaGetMessage
8.2.2 TtaDisplaySimpleMessage
8.2.3 TtaDisplayMessage
9 Dialogue
9.1 Constructors
9.1.1 TtaSetCallback
9.1.2 TtaNewForm
9.1.3 TtaNewSheet
9.1.4 TtaNewDialogSheet
9.1.5 TtaNewSubmenu
9.1.6 TtaNewIconMenu
9.1.7 TtaNewToggleMenu
9.1.8 TtaNewSelector
9.1.9 TtaNewLabel
9.1.10 TtaNewTextForm
9.1.11 TtaNewNumberForm
9.1.12 TtaDestroyDialogue
9.1.13 TtaListDirectory
9.1.14 TtaIsSuffixFileIn
9.2 Modificators
9.2.1 TtaSetMenuForm
9.2.2 TtaSetToggleMenu
9.2.3 TtaShowDialogue
9.2.4 TtaUnmapDialogue
10 Documents and schemas
10.1 Constructors
10.1.1 TtaNewDocument
10.1.2 TtaOpenDocument
10.1.3 TtaSaveDocument
10.1.4 TtaExportDocument
10.1.5 TtaCloseDocument
10.1.6 TtaRemoveDocument
10.1.7 TtaSetDocumentPath
10.1.8 TtaAppendDocumentPath
10.1.9 TtaSetSchemaPath
10.2 Modificators
10.2.1 TtaNewNature
10.2.2 TtaNewSchemaExtension
10.2.3 TtaRemoveSchemaExtension
10.2.4 TtaSetPSchema
10.2.5 TtaSetDocumentDirectory
10.2.6 TtaSetDocumentName
10.2.7 TtaSetDocumentAccessMode
10.2.8 TtaSetDocumentBackUpInterval
10.2.9 TtaSetNotificationMode
10.2.10 TtaSetDocumentModified
10.2.11 TtaSetDocumentUnmodified
10.3 Accessors
10.3.1 TtaGetSchemaExtension
10.3.2 TtaGetDocumentName
10.3.3 TtaGetDocumentFromName
10.3.4 TtaGetDocumentSSchema
10.3.5 TtaGetSSchemaName
10.3.6 TtaGetPSchemaName
10.3.7 TtaGetDocumentDirectory
10.3.8 TtaGetSSchema
10.3.9 TtaSameSSchemas
10.3.10 TtaGiveSchemasOfDocument
10.3.11 TtaNextSchemaExtension
10.3.12 TtaNextNature
10.3.13 TtaIsDocumentModified
10.3.14 TtaGetDocumentBackUpInterval
10.3.15 TtaGetDocumentAccessMode
10.3.16 TtaGetNotificationMode
10.3.17 TtaGetDocumentPath
10.3.18 TtaGetSchemaPath
10.3.19 TtaGetDocumentOfSavedElements
11 Tree structures
11.1 Constructors
11.1.1 TtaNewElement
11.1.2 TtaNewTree
11.1.3 TtaCopyTree
11.1.4 TtaCreateDescent
11.1.5 TtaCreateDescentWithContent
11.1.6 TtaDeleteTree
11.1.7 TtaAttachNewTree
11.2 Modificators
11.2.1 TtaInsertSibling
11.2.2 TtaInsertFirstChild
11.2.3 TtaCreateElement
11.2.4 TtaInsertElement
11.2.5 TtaRemoveTree
11.2.6 TtaSetAccessRight
11.2.7 TtaHolophrastElement
11.2.8 TtaSetCheckingMode
11.3 Accessors
11.3.1 TtaGetMainRoot
11.3.2 TtaNextAssociatedRoot
11.3.3 TtaGetFirstChild
11.3.4 TtaGetLastChild
11.3.5 TtaPreviousSibling
11.3.6 TtaNextSibling
11.3.7 TtaGetSuccessor
11.3.8 TtaGetPredecessor
11.3.9 TtaGetParent
11.3.10 TtaGetCommonAncestor
11.3.11 TtaGetTypedAncestor
11.3.12 TtaGetElementType
11.3.13 TtaGetElementTypeName
11.3.14 TtaGiveTypeFromName
11.3.15 TtaSameTypes
11.3.16 TtaGetElementLabel
11.3.17 TtaIsConstant
11.3.18 TtaIsLeaf
11.3.19 TtaGetConstructOfType
11.3.20 TtaGetConstruct
11.3.21 TtaGetAccessRight
11.3.22 TtaIsHolophrasted
11.3.23 TtaIsReadOnly
11.3.24 TtaIsHidden
11.3.25 TtaIsInAnInclusion
11.3.26 TtaIsAncestor
11.3.27 TtaIsBefore
11.3.28 TtaIsFirstPairedElement
11.3.29 TtaCanInsertSibling
11.3.30 TtaCanInsertFirstChild
11.3.31 TtaGetDocument
11.3.32 TtaNextCopiedElement
11.3.33 TtaGetCopiedDocument
11.4 Locators
11.4.1 TtaSearchTypedElement
11.4.2 TtaSearchElementByLabel
11.4.3 TtaSearchEmptyElement
11.4.4 TtaSearchOtherPairedElement
11.4.5 TtaSearchNoPageBreak
11.5 Help
11.5.1 TtaListAbstractTree
12 Contents
12.1 Modificators
12.1.1 TtaSetTextContent
12.1.2 TtaAppendTextContent
12.1.3 TtaInsertTextContent
12.1.4 TtaDeleteTextContent
12.1.5 TtaSplitText
12.1.6 TtaMergeText
12.1.7 TtaSetGraphicsShape
12.1.8 TtaAddPointInPolyline
12.1.9 TtaDeletePointInPolyline
12.1.10 TtaModifyPointInPolyline
12.1.11 TtaChangeLimitOfPolyline
12.1.12 TtaCopyPage
12.2 Accessors
12.2.1 TtaGetPictureType
12.2.2 TtaGetTextLength
12.2.3 TtaGiveTextContent
12.2.4 TtaGiveSubString
12.2.5 TtaGetGraphicsShape
12.2.6 TtaGetPolylineLength
12.2.7 TtaGivePolylinePoint
12.2.8 TtaGetPageNumber
12.2.9 TtaGetPageView
13 Logical attributes
13.1 Constructors
13.1.1 TtaNewAttribute
13.1.2 TtaAttachAttribute
13.1.3 TtaRemoveAttribute
13.2 Modificators
13.2.1 TtaSetAttributeValue
13.2.2 TtaSetAttributeText
13.3 Accessors
13.3.1 TtaNextAttribute
13.3.2 TtaGetAttribute
13.3.3 TtaGiveAttributeType
13.3.4 TtaGiveAttributeTypeFromName
13.3.5 TtaGetAttributeName
13.3.6 TtaSameAttributeTypes
13.3.7 TtaGetAttributeValue
13.3.8 TtaGetTextAttributeLength
13.3.9 TtaGiveTextAttributeValue
13.4 Locators
13.4.1 TtaSearchAttribute
14 References and links
14.1 Modificators
14.1.1 TtaSetReference
14.1.2 TtaNewInclusion
14.1.3 TtaCopyReference
14.1.4 TtaSetAttributeReference
14.1.5 TtaCopyAttributeReference
14.2 Accessors
14.2.1 TtaGiveReferredElement
14.2.2 TtaIsElementTypeReference
14.2.3 TtaSameReferences
14.2.4 TtaGiveReferenceAttributeValue
14.2.5 TtaIsElementReferred
14.2.6 TtaSameReferenceAttributes
14.3 Locators
14.3.1 TtaNextLoadedReference
14.3.2 TtaNextUnloadedReferringDocument
14.3.3 TtaSearchReferenceElement
15 Languages
15.1 Constructors
15.1.1 TtaNewLanguage
15.1.2 TtaRemoveLanguage
15.1.3 TtaLoadLanguageDictionaries
15.1.4 TtaUnLoadLanguageDictionaries
15.1.5 TtaLoadTypoDictionaries
15.1.6 TtaUnLoadTypoDictionaries
15.2 Accessors
15.2.1 TtaGetLanguageIdFromName
15.2.2 TtaGetDefaultLanguage
15.2.3 TtaGetLanguageIdFromAlphabet
15.2.4 TtaGetAlphabet
15.2.5 TtaGetLanguageName
15.2.6 TtaGetLanguageNameFromCode
15.2.7 TtaGetLanguageCodeFromName
15.2.8 TtaGetPrincipalDictionary
15.2.9 TtaGetSecondaryDictionary
15.2.10 TtaGetPrincipalTypoDictionary
15.2.11 TtaGetSecondaryTypoDictionary
15.2.12 TtaGetNumberOfLanguages
16 Specific presentation
16.1 Constructors
16.1.1 TtaNewPRule
16.1.2 TtaNewPRuleForNamedView
16.1.3 TtaCopyPRule
16.1.4 TtaAttachPRule
16.1.5 TtaRemovePRule
16.2 Modificators
16.2.1 TtaSetPRuleValue
16.2.2 TtaSetPRuleView
16.2.3 TtaChangeBoxSize
16.2.4 TtaChangeBoxPosition
16.3 Accessors
16.3.1 TtaGiveBoxSize
16.3.2 TtaGiveBoxPosition
16.3.3 TtaNextPRule
16.3.4 TtaGetPRule
16.3.5 TtaGetPRuleType
16.3.6 TtaGetPRuleValue
16.3.7 TtaGetPRuleView
16.3.8 TtaSamePRules
17 Views
17.1 Constructors
17.1.1 TtaOpenMainView
17.1.2 TtaOpenView
17.1.3 TtaOpenSubView
17.1.4 TtaChangeViewTitle
17.1.5 TtaCloseView
17.2 Modificators
17.2.1 TtaSetSensibility
17.2.2 TtaSetZoom
17.2.3 TtaShowElement
17.2.4 TtaRaiseView
17.2.5 TtaSetDisplayMode
17.3 Accessors
17.3.1 TtaGetSensibility
17.3.2 TtaGetZoom
17.3.3 TtaGetDisplayMode
17.3.4 TtaIsPSchemaValid
17.3.5 TtaGiveViewsToOpen
17.3.6 TtaGetViewName
17.3.7 TtaGetViewFromName
17.3.8 TtaGiveActiveView
17.3.9 TtaIsViewOpened
17.4 Help
17.4.1 TtaListView
18 Selection
18.1 Constructors
18.1.1 TtaSelectElement
18.1.2 TtaSelectView
18.1.3 TtaSelectString
18.1.4 TtaExtendSelection
18.1.5 TtaSelectInterval
18.1.6 TtaUnselect
18.1.7 TtaSetSelectionMode
18.2 Accessors
18.2.1 TtaIsDocumentSelected
18.2.2 TtaGiveFirstSelectedElement
18.2.3 TtaGiveNextSelectedElement
19 Printing
19.1 Constructors
19.1.1 TtaPrint
19.2 Modificators
19.2.1 TtaSetPrintExportProc
19.2.2 TtaSetPrintSchema
19.2.3 TtaSetPrintParameter
19.2.4 TtaSetPrintCommand
19.2.5 TtaSetPsFile
19.3 Accessors
19.3.1 TtaGetPrintParameter
19.3.2 TtaGetPrintCommand
19.3.3 TtaGetPsFile