StyleTag class | output.t[952]

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 doubleTypographicalQuoteTag extraHintStyleTag notificationStyleTag parserStyleTag roomcontentsStyleTag roomdescStyleTag roomnameStyleTag roomparaStyleTag singleTypographicalQuoteTag tipStyleTag`

Summary of Properties

`closeText openText tagName`

Summary of Methods

``

(none)

Properties

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

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[960]`

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

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

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

Methods

(none)

Adv3Lite Library Reference Manual
Generated on 26/02/2025 from adv3Lite version 2.2