TextMaker’s object model

<< Click to Display Table of Contents >>

TextMaker’s object model

TextMaker provides BasicMaker (and all other OLE Automation compatible programming languages) with the objects listed below.

Notes:

Properties marked with "R/O" are "Read Only" (i.e. write-protected). They can be read, but not changed.

The default property of an object is marked in italics.

The following table lists all objects and collections available in TextMaker:

Name

 

Type

 

Description

Application

 

Object

 

"Root object" of TextMaker

Options

 

Object

 

Global options

UserProperties

 

Collection

 

Collection of all components of the user's address

UserProperty

 

Object

 

An individual component of the user's address

CommandBars

 

Collection

 

Collection of all toolbars (toolbars work only in classic mode; they do not work with ribbons)

CommandBar

 

Object

 

A single toolbar (toolbars work only in classic mode; they do not work with ribbons)

AutoCorrect

 

Object

 

Automatic text correction and SmartText

AutoCorrectEntries

 

Collection

 

Collection of all SmartText entries

AutoCorrectEntry

 

Object

 

An individual SmartText entry

Documents

 

Collection

 

Collection of all open documents

Document

 

Object

 

An individual open document

DocumentProperties

 

Collection

 

Collection of all document properties of a document

DocumentProperty

 

Object

 

An individual document property

PageSetup

 

Object

 

The page settings of a document

Selection

 

Object

 

The selection or cursor in a document

Font

 

Object

 

The character formatting of the selection

Paragraphs

 

Collection

 

Collection of all paragraphs in a document

Paragraph

 

Object

 

An individual paragraph in a document

Range

 

Object

 

Starting and ending position of a paragraph

DropCap

 

Object

 

The drop cap character of a paragraph

Tables

 

Collection

 

Collection of all tables in a document

Table

 

Object

 

An individual table

Rows

 

Collection

 

Collection of all table rows in a table

Row

 

Object

 

An individual table row

Cells

 

Collection

 

Collection of all cells in a table row

Cell

 

Object

 

An individual table cell

Borders

 

Collection

 

Collection of all border lines (left, right, top, bottom, etc.) of a paragraph, a table, a table row, or a cell

Border

 

Object

 

An individual border line

Shading

 

Object

 

The shading of paragraphs, tables, table rows and cells

FormFields

 

Collection

 

Collection of all form objects in a document

FormField

 

Object

 

An individual form object

TextInput

 

Object

 

An individual form object, viewed as a text field

CheckBox

 

Object

 

An individual form object, viewed as a check box

DropDown

 

Object

 

An individual form object, viewed as a selection list

ListEntries

 

Collection

 

Collection of all entries in a selection list

ListEntry

 

Object

 

An individual entry in a selection list

Windows

 

Collection

 

Collection of all open document windows

Window

 

Object

 

An individual open document window

View

 

Object

 

The view settings of a document window

Zoom

 

Object

 

The zoom level of a document window

RecentFiles

 

Collection

 

Collection of all recently opened files, as listed in the File menu

RecentFile

 

Object

 

An individual recently opened file

FontNames

 

Collection

 

Collection of all installed fonts

FontName

 

Object

 

An individual installed font

Detailed descriptions of all objects and collections follow on the next pages.