Atlas · inline · Plate 16 of 16

inline

TextElements

Diagram view views/TextElements.lml composing 25 LML includes and 24 associations.

Includes25
Associations24
Types25
Full UML diagram for TextElements

Model definitions

BasicElement

class models/inline/BasicElement.lml

Container of inline content in BasicDocument.

AttributeTypeCardinalityDefinition
+contribMetadata ContributionElementMetadata 0..* Metadata of the contributor responsible for the action.
+attributes Attribute 0..* Entries from the generic attribute register: an open key-value set that markup languages bind their own attribute types into.

TextElement

class models/inline/text/TextElement.lml

Any inline element containing text and associated formatting information. Includes inline elements that are identifiers or references to identifiers.

AttributeTypeCardinalityDefinition
+content TextElementType 1 Content of the Text Element. May recursively contain other Text Elements.

PureTextElement

class models/inline/text/PureTextElement.lml

Inline element containing text and associated formatting information, but which does not contain any associated identifiers or references to identifiers. Restricted to contain only other such inline elements with no identifiers or references to identifiers.

AttributeTypeCardinalityDefinition
+content PureTextElementType 1 Content of the Text Element. May recursively contain other Pure Text Elements.

StemElement

class models/inline/text/StemElement.lml

Mathematically formatted text.

AttributeTypeCardinalityDefinition
+stemType StemType 1 The notation used to mathematically format the text.
+stemValue StemValue 1 The content of the mathematically formatted text.

UnderlineElement

class models/inline/text/UnderlineElement.lml

Underlined text. Corresponds to HTML 4 `u`.

AttributeTypeCardinalityDefinition
+style String 0..1 CSS style to apply to underline (intended for text-decoration-style attribute keyword values: solid double dotted dashed wavy)

RubyElement

class models/inline/text/RubyElement.lml

Text with Ruby annotations in East Asian languages. Corresponds to HTML `ruby`.

AttributeTypeCardinalityDefinition
+pronunciation RubyPronunciation 0..1 Ruby annotation giving pronunciation. Mutually exclusive with annotation.
+annotation RubyAnnotation 0..1 Ruby annotation giving other (semantic) information. Mutually exclusive with pronunciation.
+text String 0..1 Ruby annotated text which contains no further annotations. Mutually exclusive with ruby.
+ruby RubyElement 0..1 Ruby annotated text which itself contains other Ruby annotations. Mutually exclusive with text.

RubyPronunciation

class models/inline/text/RubyPronunciation.lml

Ruby annotation giving pronunciation of text.

AttributeTypeCardinalityDefinition
+value String 1 Ruby annotation value.
+script String 0..1 Indication of script of annotation.
+lang String 0..1 Indication of language of annotation.

RubyAnnotation

class models/inline/text/RubyAnnotation.lml

Ruby annotation giving information other than pronunciation of text.

AttributeTypeCardinalityDefinition
+value String 1 Ruby annotation value.
+script String 0..1 Indication of script of annotation.
+lang String 0..1 Indication of language of annotation.

AsciiML

class models/inline/text/AsciiML.lml

Mathematical text formatted in AsciiMath.

AttributeTypeCardinalityDefinition
+value String 1 AsciiMath content.

IdElement

class models/inline/id/IdElement.lml

`BasicElement` with an identifier, to be used in crossreferencing by Reference Elements. The `IdElement` itself acts as a reference point, such as in a `SourcecodeBlock` for callout references (the `IdElement` is the location), and for delimiting `ReviewComment` start/end places.

AttributeTypeCardinalityDefinition
+id String 1 Identifier of BasicElement.

ReferenceElement

class models/inline/reference/ReferenceElement.lml

Inline element, which references an identifier of a document, a block in a document, or an element in a document.

AttributeTypeCardinalityDefinition
+type ReferenceFormat 1 The type of Reference Element, prescribing how it is to be rendered.
+text BasicElement 0..1 The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `<xx>my link text</xx>`)
+alt String 0..1 Alternate text, used for accessibility.