OwS Style Sheet Directive: table: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
(Syntax)
(Syntax)
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
 
{|border="0"  
 
{|border="0"  
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
| style="width:10em" | ''HeadingDirective''  
+
| style="width:10em" | ''TableDirective''  
 
| style="width:3em"  | :=  
 
| style="width:3em"  | :=  
| style="width:36em" | '''#table''' ''StartRow''? [[OwS Statement: Base Types|''TypeName'']] [[OwS Statement: Base Types|''DottedPropertyName'']]+ ''RowObligation''?
+
| style="width:46em" | '''#table''' ''StartRow''? [[OwS Statement: Base Types|''TypeName'']] ''ColumnMap''+ ''RowObligation''?
 
| style="width:1em" |  
 
| style="width:1em" |  
|                      <font face="arial" size="2"> </font>
+
|                      <font face="arial" size="2">define new objects together with their properties</font>
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| '''#table''' ''StartRow''? '''.''' ''ColumnMap''+ ''RowObligation''?
 +
|
 +
|<font face="arial" size="2">define property values for the recently defined object</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|  
 
|  
Zeile 13: Zeile 19:
 
| '''#table'''
 
| '''#table'''
 
|  
 
|  
|
+
|<font face="arial" size="2">disable the active #table directive</font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
| ''StartRow''  
 
| ''StartRow''  
 
| :=  
 
| :=  
 
| [1-9]+  
 
| [1-9]+  
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
| ''ColumnMap''
 +
| :=
 +
| [[OwS Statement: Base Types|''DottedPropertyName'']] ''ListSeparator''?
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
| ''ListSeparator''
 +
| :=
 +
| ''',''' &#124; ''';'''
 
|
 
|
 
|
 
|

Aktuelle Version vom 28. Dezember 2016, 11:43 Uhr

Syntax

TableDirective := #table StartRow? TypeName ColumnMap+ RowObligation?   define new objects together with their properties
| #table StartRow? . ColumnMap+ RowObligation? define property values for the recently defined object
| #table disable the active #table directive
StartRow := [1-9]+
ColumnMap := DottedPropertyName ListSeparator?
ListSeparator := ;
RowObligation := PackageName shall refer to a submodule defined per #package directive