beautypg.com

Kofax DOKuStar Validation User Manual

Page 3

background image

DOKuStar Validation Programming Manual

Page

i

Contents

Introduction 1

Integration 2

Development Environments ......................................................................................................... 2

The Document Model: Overview................................................................................................. 7

Schema ......................................................................................................................................... 8

Manual Generation............................................................................................................ 8

Generation by Software .................................................................................................. 15

Data ............................................................................................................................................ 18

Entering Data Manually .................................................................................................. 18

Adding Data by Software................................................................................................ 20

Table data........................................................................................................................ 26

Scripting 30

Introduction ................................................................................................................................ 30

The VBA Studio......................................................................................................................... 34

Events......................................................................................................................................... 35

Concept ........................................................................................................................... 35

Events for the FieldType Object ................................................................................................ 37

OnFieldActivated............................................................................................................ 37

OnFieldChanged ............................................................................................................. 37

OnFieldDeactivated ........................................................................................................ 37

Sub-field Events.............................................................................................................. 38

OnFieldDataSourceChanged........................................................................................... 38

TableFields...................................................................................................................... 39

Event Order..................................................................................................................... 41

Events for the DocumentType Object ........................................................................................ 43

OnField Events................................................................................................................ 43

OnDocumentActivated.................................................................................................... 44

OnDocumentDeactivated ................................................................................................ 44

OnDocumentDeleted....................................................................................................... 44

OnDocumentCreated....................................................................................................... 45

OnDocumentDataSourceChanged .................................................................................. 45

OnDocumentDescriptorLost, OnDocumentDescriptorGot ............................................. 46

Controller Events........................................................................................................................ 47

OnDocumentActivated.................................................................................................... 47

OnDocumentDeactivating............................................................................................... 47

OnDocumentDeleted....................................................................................................... 48

OnDocumentCreated....................................................................................................... 48

OnFieldDeactivated ........................................................................................................ 48

OnFieldActivated............................................................................................................ 48

OnFieldChanged ............................................................................................................. 49

OnCursorChanged........................................................................................................... 49

Data Objects ............................................................................................................................... 50

Dataset........................................................................................................................................ 50

Schema ....................................................................................................................................... 51