StyleTagclass | output.t[920]

Style tag. This defines an HTML-like tag that can be used in output text to display an author-customizable substitution string.

Each StyleTag object defines the name of the tag, which can be invoked in output text using the syntax "<.name>" - we require the period after the opening angle-bracket to plainly distinguish the sequence as a style tag, not a regular HTML tag.

Each StyleTag also defines the text string that should be substituted for each occurrence of the "<.name>" sequence in output text, and, optionally, another string that is substituted for occurrences of the "closing" version of the tag, invoked with the syntax "<./name>".

`class StyleTag : object`

Superclass Tree (in declaration order)

`StyleTag`
`object`

Subclass Tree

`StyleTag`
`HtmlStyleTag`

Global Objects

`announceObjStyleTag assumeStyleTag extraHintStyleTag notificationStyleTag parserStyleTag roomcontentsStyleTag roomdescStyleTag roomnameStyleTag roomparaStyleTag`

Summary of Properties

`closeText openText tagName`

Summary of Methods

``

(none)

Properties

`closeText` | `output.t[935]`

Closing text - this is substituted for each instance of the tag with a '/' prefix (<./xxx>). Note that non-container tags don't have closing text at all.

`openText` | `output.t[928]`

opening text - this is substituted for each instance of the tag without a '/' prefix

`tagName` | `output.t[922]`

name of the tag - the tag appears in source text in <.xxx> notation

Methods

(none)

Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1