Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Dec 5, 2020
1 parent 47d408a commit ca8e20c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 30 deletions.
Binary file modified images/StandardDoc_Blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 37 additions & 30 deletions models/StandardDoc_Blocks.wsd
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Hystory of changes:
- 07/09/2020: add to note contents
- 09/09/2020: amend block
- 06/11/2020: dl/@key
- 05/12/2020: table/colgroup
'/

'******* CONFIGURATION ************************************************
Expand Down Expand Up @@ -68,8 +69,8 @@ class DefinitionList <<BasicDocument>> {
}

class StandardNoteBlock {
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
+number: String[0..1]
+subsequence: String[0..1]
+unnumbered: Boolean[0..1]
Expand Down Expand Up @@ -103,73 +104,78 @@ class TableBlock <<BasicDocument>> {
class StandardTableBlock {
+width: String[0..1]
+number: String[0..1]
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
+colgroup: TableCol[0..*]
}

class TableCol {
+width: String[0..1]
}

class StandardFigureBlock {
+number: String[0..1]
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
}

class StandardSourcecodeBlock {
+number: String[0..1]
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
}

class StandardFormulaBlock {
+number: String[0..1]
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
}

class StandardExampleBlock {
+number: String[0..1]
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
}

class StandardParagraphBlock {
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
}

class StandardQuoteBlock {
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
}

class StandardAdmonitionBlock {
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
}

class StandardUnorderedList {
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
}

class StandardDefinitionList {
+keep-lines-together: Boolean[0..1],
+keep-with-next: Boolean[0..1],
+keep-lines-together: Boolean[0..1]
+keep-with-next: Boolean[0..1]
+key: Boolean[0..1]
}

class AmendBlock {
+change: ChangeType,
+bibLocality: BibItemLocality[0..*],
+path: String[0..1],
+path_end: String[0..1],
+name: String[0..1],
+description: BasicBlock[0..*],
+autonumber: AutoNumber[0..*],
+change: ChangeType
+bibLocality: BibItemLocality[0..*]
+path: String[0..1]
+path_end: String[0..1]
+name: String[0..1]
+description: BasicBlock[0..*]
+autonumber: AutoNumber[0..*]
+newcontent: BasicBlock[0..*]
}

class AutoNumber {
+type: ElementName,
+type: ElementName
+value: String
}

Expand Down Expand Up @@ -207,6 +213,7 @@ NoteBlock <|-- StandardNoteBlock
UnorderedList <|-- StandardUnorderedList
ListItem <|-- UnorderedCheckableListItem
TableBlock <|-- StandardTableBlock
StandardTableBlock <-- TableCol
BasicDocument <-- FigureBlock
FigureBlock <|-- StandardFigureBlock
BasicDocument <-- SourcecodeBlock
Expand Down

0 comments on commit ca8e20c

Please sign in to comment.