Atlas · inline · Plate 09 of 16
datatypes · inline
IdElements
Diagram view views/IdElements.lml composing
10 LML includes
and 10 associations.
Model definitions
BasicElement¶
classmodels/inline/BasicElement.lml
Container of inline content in BasicDocument.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+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. |
IdElement¶
classmodels/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.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+id |
String
|
1 | Identifier of BasicElement. |
Media¶
classmodels/inline/id/Media.lml
Container for media content.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+filename |
String
|
0..1 | File name corresponding to the media, to which the media can be extracted if it is represented inline (e.g. in Base64 encoding in the URI). |
+source |
Uri | 1 | URI of the media file. |
+type |
MediaType | 1 | Type of the media file. |
+alt |
String
|
0..1 | Alternate text, supplied for accessibility. |
+title |
String
|
0..1 | Title, supplied for accessibility. |
+longdesc |
Uri | 0..1 | URI pointing to more extensive alternate text description, supplied for accessibility. |
Image¶
classmodels/inline/id/Image.lml
Container for image content.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+height |
ImageSizeType | 0..1 | Height of image. Can have "auto" as value. |
+width |
ImageSizeType | 0..1 | Width of image. Can have "auto" as value. |
Audio¶
classmodels/inline/id/Audio.lml
Container for audio content.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+altsource |
AltSource | 0..* | Alternative files to use as media. |
Video¶
classmodels/inline/id/Video.lml
Container for video content.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+altsource |
AltSource | 0..* | Alternative files to use as media. |
+height |
Integer
|
0..1 | Height of video. Can have "auto" as value. |
+width |
Integer
|
0..1 | Width of video. Can have "auto" as value. |
AltSource¶
classmodels/inline/id/AltSource.lml
Alternative file to use as media.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+filename |
String
|
0..1 | File name corresponding to the media, to which the media can be extracted if it is represented inline (e.g. in Base64 encoding in the URI). |
+source |
Uri | 1 | URI of the media file. |
+type |
MediaType | 1 | Type of the media file. |
Bookmark¶
classmodels/inline/id/Bookmark.lml
Anchor for cross-references which do not have scope over blocks or sections. Anchors within a block under the BasicDocument model cannot span across a number of inline elements; bookmarks are intended as point anchors. For that reason, the Review block has a starting reference and an optional ending reference, which can be bookmarks as well as block or section references.
MediaType¶
data typemodels/inline/id/MediaType.lml
Type of a media file. Open value; the use of MIME types is recommended.
ImageSizeType¶
data typemodels/datatypes/ImageSizeType.lml
Size of an image or video: a real number with optional percent sign, or the string "auto".