Skip to content

Commit e8c6962

Browse files
committed
1 parent 269a601 commit e8c6962

14 files changed

+36
-0
lines changed

images/StandardDoc_Blocks.png

1.05 KB
Loading

images/StandardDoc_Blocks_New.png

1.62 KB
Loading

images/StandardDoc_Form.png

414 Bytes
Loading

images/StandardDoc_Inline.png

20.7 KB
Loading

images/StandardDoc_List.png

-12.8 KB
Loading

images/StandardDoc_Metadata.png

1.41 KB
Loading
1.41 KB
Loading

images/StandardDoc_Sections.png

1.48 KB
Loading
254 Bytes
Loading
1.94 KB
Loading

images/StandardDoc_Terms.png

6.72 KB
Loading

images/StandardDoc_Terms_models.png

23.9 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
class Date {
2+
definition {
3+
Localisable rendering of a date
4+
}
5+
value: String {
6+
definition {
7+
Date to be rendered in ISO 8601 format.
8+
}
9+
}
10+
format: String[0..1] {
11+
definition {
12+
Format to be used to render date, as a strftime formatting string.
13+
}
14+
}
15+
language: Iso639Code[0..1] {
16+
definition {
17+
Format to be used to render date, as a as an ISO-639 3-letter code.
18+
}
19+
}
20+
script: Iso15924Code[0..1] {
21+
definition {
22+
Script to be used to render date, as an ISO-15924 code.
23+
}
24+
}
25+
locale: String[0..1] {
26+
definition {
27+
Locale to be used to render date.
28+
}
29+
}
30+
}

views/StandardDoc_Inline.lutaml

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ diagram StandardDoc_Inline {
2424
include ../models/standard_document/elements/StandardPageBreakElement.lutaml
2525
include ../models/standard_document/elements/OrientationType.lutaml
2626
include ../models/standard_document/elements/Add.lutaml
27+
include ../models/standard_document/elements/Date.lutaml
2728
include ../models/standard_document/elements/Del.lutaml
2829
include ../models/standard_document/elements/Span.lutaml
2930

@@ -157,6 +158,11 @@ diagram StandardDoc_Inline {
157158
member Add
158159
owner_type inheritance
159160
}
161+
association {
162+
owner TextElement
163+
member Date
164+
owner_type inheritance
165+
}
160166
association {
161167
owner TextElement
162168
member Del

0 commit comments

Comments
 (0)