Index

A

API

UNIX 11

Writing Tools 23

Areas, tool data 31

B

BitmapPath parameter 78

ButtonBarText parameter 77

C

C-callable functions 36

Client, writing tool 24

Client application, initializing 78

Command line method, detection 13

Communication

between applications 79

initializing 14

terminating, UOAPI 20

UOAPI 14

Constants, symbolic 50

D

Data packet

initializing 14

token 16

DescriptiveName parameter 77

Detection

command line method 13

initilization file method 13

UOAPI 12

Disclaimer 5

E

Editing with WTAPI 34

Enumerated types (WTAPI)

WTBOOL 48

WTENDBLOCK 49

WTMODE 48

WTMSGID 46

WTPOS 48

WTSTATUS 47

WTTBQTYPE 49

WTTOOL 48

Example wtapi.init file 76

F

Files

.h 21

example wtapi.init 76

included with SDK 8

wtapi.init 76

Format

character strings 12

parameters, token 21

token 21

Functions

wtcClSend 37

wtClReceive 38

wtcTlSend 40

wtqClSend 41

wtqTlSend 42

wtTlReceive 45

H

Handling, token 16

HelpFileKey parameter 78

HelpFilePath parameter 78

I

Initialization file method 13

Initializing

client application 78

communication 14

writing tool 79

writing tool client 78

Initiation, writing tools 27

Installing

UNIX writing tools 76

writing tools 27

Invoking a writing tool 79, 81

L

LongPrompt parameter 77

M

Manipulating variables 17

merge, reading 18

merge, setting 20

system variables 17

MenuName parameter 77

Merge variables

reading 18

setting 20

Messages

sending 79

WTAPI 28, 54

Method of detection

command line 13

initialization file 13

N

Notice and Disclaimer 5

O

Overview

UOAPI 11

Writing Tool Session 27

WTAPI 23

P

Parameters

BitmapPath 78

ButtonBarText 77

DescriptiveName 77

HelpFileKey 78

HelpFilePath 78

LongPrompt 77

MenuName 77

Parameters 77

PathExe 77

Parameters parameter 77

Parameters, format token 21

PathExe parameter 77

Pipes, transport protocol 78

Platform-specific

structures 79

types 81

writing tools 76

Polling, UOAPI 17

Programming concerns 12

Protocol, transport 78

R

Range, token 15

Reading

merge variables 18

system variables 17

S

Sample program, UOAPI 21

Sending messages 79

Server, writing tool 24

Session, writing tool 27

Setting merge variables 20

Software Developer's Kit diskette 8

Standard in 12

Standard out 12

Starting writing tool 79

Strings, character 12

Structures, platform-specific 79

Switch, command line 13

Symbolic constants

WTACTION 52

WTAPI_VERSION 50

WTDAMODE 50

WTINFO 52

WTTEXT 51

WTUNIT 51

System variables 17

T

Terminating

UOAPI communication 20

WTAPI session 35

Text

correction (WTAPI) 34

transmission (WTAPI) 33

Token

format 21

handling 16

range 15

Tool data areas 31

Transport protocol, UNIX 78

Types and structures

platform-specific 81

WTACTION 53, 81

WTBUF 53, 81

WTBUFP 53, 81

WTC_CLACTIVE 54

WTC_CLINACTIVE 54

WTC_INIT 55

WTC_RQCLACTIVE 55

WTC_RQINIT 56

WTC_RQTLTERM 56

WTC_TLINACTIVE 57

WTC_TLTERM 57

WTCCLACTIVEP 54

WTCCLINACTIVEP 54

WTCINITP 55

WTCOMM 53, 79

WTCOMMDATA 79

WTCOUNT 53, 81

WTCOUNTP 53, 81

WTCRQCLACTIVEP 55

WTCRQINITP 56

WTCRQTLTERMP 56

WTCTLTERMP 57

WTDAMODE 53, 81

WTINFO 53, 81

WTLANG 53, 80

WTLANGP 53, 80

WTPIPE 79

WTQ_GOTO 58

WTQ_HILITE 59

WTQ_INFOBLOCK 59

WTQ_NEXTTEXTBLOCK 60

WTQ_READTEXTOBJECT 61

WTQ_READTOOLDATA 61

WTQ_REPLACE 62

WTQ_TEXTBLOCK 63

WTQ_TLACTIVE 65

WTQ_UNDOREPLACE 65

WTQ_UNITINFO 65

WTQ_WRITETEXTOBJECT 66

WTQ_WRITETOOLDATA 66

WTQDEHILIT 58

WTQDEHILITEP 58

WTQGOTOP 58

WTQHILITEP 59

WTQINFOBLOCKP 60

WTQNEXTTEXTBLOCKP 60

WTQREADTEXTOBJECTP 61

WTQREADTOOLDATAP 62

WTQREPLACEP 63

WTQTEXTBLOCKP 64

WTQTLACTIVEP 65

WTQUNDOREPLACEP 65

WTQUNITINFOP 66

WTQWRITETEXTOBJEC TP 66

WTQWRITETOOLDATAP 67

WTR_DEHILITE 67

WTR_GOTO 68

WTR_HILITE 68

WTR_INFOBLOCK 69

WTR_READTEXTOBJECT 70

WTR_READTOOLDATA 71

WTR_REPLACE 71

WTR_TEXTBLOCK 72

WTR_TLACTIVE 73

WTR_UNITINFO 73

WTR_WRITETEXTOBJECT 74

WTR_WRITETOOLDATA 75

WTRDEHILITEP 67

WTRGOTOP 68

WTRHILITEP 68

WTRINFOBLOCKP 69

WTRREADTEXTOBJECT P 70

WTRREADTOOLDATAP 71

WTRREPLACEP 72

WTRTEXTBLOCKP 72

WTRTLACTIVEP 73

WTRUNITINFOP 74

WTRWRITETEXTOBJECTP 74

WTRWRITETOOLDATAP 75

WTSIZE 53, 81

WTSIZEP 53, 81

WTTEXT 53, 81

WTUNIT 53, 81

U

UNIX

platform-specific information 76

platform-specific structures 79

platform-specific types 81

transport protocol 78

writing tool 76

UOAPI

communication 14

detection 12

files 21

overview 11

polling 17

program files 21

programming 12

terminating communication 20

token handling 16

uoapi.c file 21

uoapi.h file 21

User, writing tool 24

UWPMRS.WP file 21

V

Variables

manipulating 17

merge, reading 18

merge, setting 20

reading 17

system, reading 17

W

Word strings 12

WordPerfect for UNIX, invoking writing tools from 81

WordPerfect characters 12

WP 7 word strings 12

wpthird.ini file 13

Writing tool

client 24

initializing 79

installation 76

invoking from WP60 81

server 24

user 24

Writing tool client, initializing 78

Writing tool session

initiating 29

installation/initiation 27

termination 35

Writing tools, platform-specific 76

Writing Tools API

C-callable functions 36

customizing parameters 30

documentation 26

installation/initiation 27

messages, sending 28

overview 23

platform-specific 76

session 27

termination 35

text correction 34

text transmission 33

tool data areas 31

user editing 34

Writing Tools Application Program Interface (WTAPI) 23

WTACTION type 52, 53, 81

WTAPI (Writing Tools Application Program Interface) 23

communication 79

installing writing tools 76

messages 79

platform-specific information 76

WTAPI messages

WTC_CLACTIVE 54

WTC_CLINACTIVE 54

WTC_INIT 55

WTC_RQCLACTIVE 55

WTC_RQINIT 56

WTC_RQTLTERM 56

WTC_TLINACTIVE 57

WTC_TLTERM 57

WTQ_DEHILITE 58

WTQ_GOTO 58

WTQ_HILITE 59

WTQ_INFOBLOCK 59

WTQ_NEXTTEXTBLOCK 60

WTQ_READTEXTOBJECT 61

WTQ_READTOOLDATA 61

WTQ_REPLACE 62

WTQ_TEXTBLOCK 63

WTQ_TLACTIVE 65

WTQ_UNDOREPLACE 65

WTQ_UNITINFO 65

WTQ_WRITETEXTOBJECT 66

WTQ_WRITETOOLDATA 66

WTR_DEHILITE 67

WTR_GOTO 68

WTR_HILITE 68

WTR_INFOBLOCK 69

WTR_READTEXTOBJECT 70

WTR_READTOOLDATA 71

WTR_REPLACE 71

WTR_TEXTBLOCK 72

WTR_TLACTIVE 73

WTR_UNITINFO 73

WTR_WRITETEXTOBJECT 74

WTR_WRITETOOLDATA 75

wtapi.init file 76, 78, 81

example 76

WTAPI_VERSION constant 50

WTBOOL type 48

WTBUF type 53, 81

WTBUFP type 53, 81

WTC_CLACTIVE message 54

WTC_CLINACTIVE message 54

WTC_INIT message 30, 55

WTC_RQCLACTIVE message 55

WTC_RQINIT message 30, 56

WTC_RQTLTERM message 56

WTC_TLINACTIVE message 57

WTC_TLTERM message 57

WTCCLACTIVEP type 54

WTCCLINACTIVEP type 54

WtcClSend function 37

WTCINITP type 55

WtClReceive function 38

WTCOMM type 53, 79

WTCOMMDATA type 79

WTCOUNT type 53, 81

WTCOUNTP type 53, 81

WTCRQCLACTIVEP type 55

WTCRQINITP type 56

WTCRQTLTERMP type 56

WtcTlSend function 40

WTCTLTERMP type 57

WTDAMODE constant 50, 53

WTDAMODE type 81

WTENDBLOCK type 49

WTINFO type 52, 53, 81

WTLANG type 53, 80

WTLANGP type 53, 80

WTMODE type 48

WTMSGID type 46

WTPIPE type 79

WTPOS type 48

WTQ_DEHILITE message 58

WTQ_GOTO message 58

WTQ_HILITE message 59

WTQ_INFOBLOCK message 30, 59

WTQ_NEXTTEXTBLOCK message 60

WTQ_READTEXTOBJECT message 61

WTQ_READTOOLDATA message 61

WTQ_REPLACE message 62

WTQ_TEXTBLOCK message 63

WTQ_TLACTIVE messge 65

WTQ_UNDOREPLACE message 65

WTQ_UNITINFO message 30, 65

WTQ_WRITETEXTOBJECT message 66

WTQ_WRITETOOLDATA message 66

WtqClSend function 41

WTQDEHILIT type 58

WTQDEHILITE structure 58

WTQDEHILITEP 58

WTQGOTOP type 58

WTQHILITEP type 59

WTQINFOBLOCKP type 60

WTQNEXTTEXTBLOCKP type 60

WTQREADTEXTOBJECTP type 61

WTQREADTOOLDATAP type 62

WTQREPLACEP type 63

WTQTEXTBLOCKP type 64

WTQTLACTIVEP type 65

WtqTlSend function 42

WTQUNDOREPLACEP type 65

WTQUNITINFOP type 66

WTQWRITETEXTOBJECTP type 66

WTQWRITETOOLDATAP type 67

WTR_DEHILITE message 67

WTR_GOTO message 68

WTR_HILITE message 68

WTR_INFOBLOCK message 30, 69

WTR_READTEXTOBJECT message 70

WTR_READTOOLDATA message 71

WTR_REPLACE message 71

WTR_TEXTBLOCK message 72

WTR_TLACTIVE message 73

WTR_UNITINFO message 30, 73

WTR_WRITETEXTOBJECT message 74

WTR_WRITETOOLDATA message 75

WTRDEHILITEP type 67

WTRGOTOP type 68

WTRHILITEP type 68

WTRINFOBLOCKP type 69

WTRREADTEXTOBJECTP type 70

WTRREADTOOLDATAP type 71

WTRREPLACEP type 72

WTRTEXTBLOCKP type 72

WTRTLACTIVEP type 73

WTRUNITINFOP type 74

WTRWRITETEXTOBJECTP type 74

WTRWRITETOOLDATAP type 75

WTSIZE type 81

WTSIZEP type 53, 81

WTSTATUS type 47

WTTBQTYPE type 49

WTTEXT type 51, 53, 81

WtTlReceive function 45

WTTOOL type 48

WTUNIT type 51, 53, 81