|
21.
|
|
|
If a style does not exist, the style statement creates it. Otherwise, the existing style is modified by the style statement.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:106
|
|
22.
|
|
|
A style statement begins with the keyword ``style`` and the name of the style to define. This is followed on the first line by zero or more clauses, and an optional colon.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:109
|
|
23.
|
|
|
If the colon is present, a block must follow. Each line of the block should contain one ore more clauses. Otherwise, the statement is complete.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:113
|
|
24.
|
|
|
The style statement accepts the following clauses:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:116
|
|
25.
|
|
|
`style-property` `simple-expression`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:120
|
|
26.
|
|
|
Assigns the value of the simple expression to the given style property.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:119
|
|
27.
|
|
|
``is`` `parent`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:124
|
|
28.
|
|
|
Sets the parent of this style. The parent must be a word giving the name of a style.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:123
|
|
29.
|
|
|
``clear``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:129
|
|
30.
|
|
|
Removes all properties of this style that were assigned before this style statement was run. This does not prevent the style from inheriting property values from its parents.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:127
|