OntoDL Style Sheet Directive: OntoDL.StyleName: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Syntax == The following syntax does not define a directive to be placed into an OntoDL file, because the ''OntoDL.StyleName'' directive does not come with a…“)
 
K (Examples)
Zeile 45: Zeile 45:
 
| Überschrift 4|| ||style="background:#fff588"| &nbsp;&nbsp;&nbsp;<span style="font-family:Arial;font-size:100%">'''''Cardiologic care ward for Intensive Care (ward 51.2) '''''</span>|| || Comment
 
| Überschrift 4|| ||style="background:#fff588"| &nbsp;&nbsp;&nbsp;<span style="font-family:Arial;font-size:100%">'''''Cardiologic care ward for Intensive Care (ward 51.2) '''''</span>|| || Comment
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
| OntoDL.Definition|| ||style="background:#fff588"| &nbsp;&nbsp;&nbsp;<span style="font-family:Times;font-size:100%">''Ward 51.2 is located on the third floor. Access to the wad is restricted.''</span>|| || Comment
+
| OntoDL.Definition|| ||style="background:#fff588"| &nbsp;&nbsp;&nbsp;<span style="font-family:Times;font-size:100%">''Ward 51.2 is located on the third floor. Access to the ward is restricted.''</span>|| || Comment
|- style="vertical-align:top"
 
| OntoDL|| ||style="background:#fff588"| <span style="font-family:Courier;font-size:110%"></span>|| || Comment
 
|- style="vertical-align:top"
 
| Standard|| ||style="background:#fff588"| <span style="font-family:Arial;font-size:100%"></span>|| || Comment
 
 
|}
 
|}
 
<hr>
 
<hr>

Version vom 10. September 2016, 21:39 Uhr

Syntax

The following syntax does not define a directive to be placed into an OntoDL file, because the OntoDL.StyleName directive does not come with any commands to be placed into the text. Instead it defines a syntax for custom MS Word style sheets, that looks as follows:


CustomOntoDLStyle := OntoDL PropertyReference+ PropertyQualifer*  



Description

Examples


Style Sheet      Text      Comment
OntoDL #heading 2 codesystem .Name ( .URI ) Comment
OntoDL #heading 3-4 concept .Display ( .Name ) Comment
Überschrift 2 Clinics and Wards (http://hospital.com/clinics) Comment
OntoDL.Description This terminology provides a list of all clinics and wards. Comment
Überschrift 3 Cardiologic Clinic, Prof. Smyth (cardiologic clinic) Comment
OntoDL.Designation[Language=de] Kardiologische Klinik Comment
OntoDL.Definition The cardiologic clinic is located in the Red-House-Building. Comment
Überschrift 4    Cardiologic care ward for Women and Children (ward 51.1) Comment
OntoDL.Designation[Language=de]    Kardiologische Station für Frauen und Kinder Comment
OntoDL.Definition    Ward 51.1 is located on the first floor. Comment
Überschrift 4    Cardiologic care ward for Intensive Care (ward 51.2) Comment
OntoDL.Definition    Ward 51.2 is located on the third floor. Access to the ward is restricted. Comment