Kodall
Packages

Package: word

Methods

appendTableRows

ONE Workflow
method appendTableRows(doc as textdocument, search as string, nrOfNewRows as int)

createDocument

ONE Workflow
function createDocument() as textdocument

Creates an instance of textdocument. Obsolete and will be removed in future versions.

createTableRows

ONE Workflow
method createTableRows(doc as textdocument, search as string, nrOfNewRows as int)

Creates new rows based on an existing template row. The template row is the one that contains the search on the first column.

The template row is duplicated by nrOfNewRows and for each new row replaces all occurrences of search in all columns with the index.

Only one template row is permitted per table and should be the last row in the table.

Since 1.5.2.

insertTableRows

ONE Workflow
method insertTableRows(doc as textdocument, search as string, nrOfNewRows as int)

open

ONE Workflow
function open(idStorageFile as int) as textdocument

Opens a textdocument from storage.

replaceText

ONE Workflow
function replaceText(doc as textdocument, search as string, replace as string) as int

Replaces all occurrences of search string in textdocument with the replace string. Returns the number of replacements made.

save

ONE Workflow
function save(doc as textdocument, fileName as string) as int

Saves a textdocument to storage with the given name.

update

ONE Workflow
function update(doc as textdocument, fileName as string, idStorageFile as int) as int

Updates a textdocument in storage with the given name.