method appendTableRows(doc as textdocument, search as string, nrOfNewRows as int)
function createDocument() as textdocument
Creates an instance of textdocument.
Obsolete and will be removed in future versions.
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.
method insertTableRows(doc as textdocument, search as string, nrOfNewRows as int)
function open(idStorageFile as int) as textdocument
Opens a textdocument from storage.
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.
function save(doc as textdocument, fileName as string) as int
Saves a textdocument to storage with the given name.
function update(doc as textdocument, fileName as string, idStorageFile as int) as int
Updates a textdocument in storage with the given name.