OwS Syntax: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
K (Syntax)
(Syntax)
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 31: Zeile 31:
 
| [[OwS Statement: define|''DefineStatement'']]
 
| [[OwS Statement: define|''DefineStatement'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">define a new type (class) or object (e.g. a codesystem or a concept)</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 37: Zeile 37:
 
| [[OwS Statement: default|''DefaultStatement'']]
 
| [[OwS Statement: default|''DefaultStatement'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">register a default value for a property</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 43: Zeile 43:
 
| [[OwS Statement: set|''SetStatement'']]
 
| [[OwS Statement: set|''SetStatement'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">assign a value to a property</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
 
| style="text-align:right" | &#124;  
 
| style="text-align:right" | &#124;  
| [[OwS Statement: Object Relationship|''PredicateStatement'']]
+
| [[OwS Statement: Object Relationship|''FullPredicateStatement'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">define a relationship between to concepts</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
| ''OwSDirective''  
 
| ''OwSDirective''  
Zeile 55: Zeile 55:
 
| [[OwS Style Sheet Directive: OwS.StyleName|''OwS.StyleName'']]
 
| [[OwS Style Sheet Directive: OwS.StyleName|''OwS.StyleName'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">link a style to a property</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 61: Zeile 61:
 
| [[OwS Style Sheet Directive: heading|''HeadingDirective'']]
 
| [[OwS Style Sheet Directive: heading|''HeadingDirective'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">align OwS object definitions with MS Word document chapters and sections</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 67: Zeile 67:
 
| [[OwS Style Sheet Directive: pattern|''PatternDirective'']]
 
| [[OwS Style Sheet Directive: pattern|''PatternDirective'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">transform a paragraph of a defined style into an OwS statement</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 73: Zeile 73:
 
| [[OwS Style Sheet Directive: obligation|''ObligationDirective'']]
 
| [[OwS Style Sheet Directive: obligation|''ObligationDirective'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">perform pre- or postprocessing operations</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 79: Zeile 79:
 
| [[OwS Style Sheet Directive: table|''TableDirective'']]
 
| [[OwS Style Sheet Directive: table|''TableDirective'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">create a set/hierarchy of concepts from an MS Word table</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 85: Zeile 85:
 
| [[OwS Style Sheet Directive: stylemapping|''StylemappingDirective'']]
 
| [[OwS Style Sheet Directive: stylemapping|''StylemappingDirective'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">define a trigger for inherently changing styles</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 91: Zeile 91:
 
| [[OwS Tokenizer Directive: goto|''GotoDirective'']]
 
| [[OwS Tokenizer Directive: goto|''GotoDirective'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">control how the OwS scanner processes a document</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 97: Zeile 97:
 
| [[OwS Tokenizer Directive: package|''PackageDirective'']]
 
| [[OwS Tokenizer Directive: package|''PackageDirective'']]
 
|  
 
|  
|
+
| <font face="arial" size="2">define a named script as a sequence of OwS statements</font>
 
|}
 
|}
 
</font>
 
</font>
 
<hr>
 
<hr>

Aktuelle Version vom 25. Januar 2017, 20:11 Uhr

Syntax


OwS := MsWordParagraph *   root element for any MS Word Document that shall be processed by the OwS interpreter
MsWordParagraph := OwSStatement must be either formatted using (1) style sheet "OwS", (2) any style sheet starting with "OwS." (3) any style sheet that is registered with OwS using an OwS Directive.
| OwSDirective must be formatted using style sheet "OwS"
| any MS Word Text any MS Word text that is formatted by a style sheet that is not registered with OwS is ignored by the OwS interpreter
OwSStatement := DefineStatement define a new type (class) or object (e.g. a codesystem or a concept)
| DefaultStatement register a default value for a property
| SetStatement assign a value to a property
| FullPredicateStatement define a relationship between to concepts
OwSDirective := OwS.StyleName link a style to a property
| HeadingDirective align OwS object definitions with MS Word document chapters and sections
| PatternDirective transform a paragraph of a defined style into an OwS statement
| ObligationDirective perform pre- or postprocessing operations
| TableDirective create a set/hierarchy of concepts from an MS Word table
| StylemappingDirective define a trigger for inherently changing styles
| GotoDirective control how the OwS scanner processes a document
| PackageDirective define a named script as a sequence of OwS statements