There is a variety of style parameters that can be defined with each control representing a text block: background color, foreground color, margins, padding definitions, borders, etc.
You either can define this parameter with every control or you can define explicit styles. By referencing the name of the style from the controls, the style parameters are taken over automatically. Of course you can still override style definitions locally.
The CISFO:STYLE2 control represents a certain style. It is placed into
the CISFO:STYLECLASSES2 container, directly below the page control
(CISFO:FOPPAGE2). In the FO form, you refer to this style by using the
control's name (property
stylename
).
Basis | |||
stylename |
Name for the style. Must be unique inside the form. Other controls reference this style name in order to take over the style's rendering information. |
Obligatory | |
backgroundcolor |
This attribute sets the background color of an element, either a andlt;colorandgt; value or the keyword "transparent", to make the underlying colors shine through. |
Optional |
#000000 #808080 #FFFFFF #FF0000 |
columnsspanned |
A positive integer, specifying the number of columns spanned. |
Optional |
2 3 |
color |
Color in which the element is output. |
Optional |
#000000 #808080 #FFFFFF #FF0000 |
rowsspanned |
A positive integer, specifying the number of rows taht this cell spans. |
Optional |
2 3 |
textalign |
The alignment of the text. Valid values are 'center', 'left' or 'right'. |
Optional |
left center right |
textdecoration |
Different values for printing the text, so as underline, overline or line-through. |
Optional |
overline line-through underline |
Border | |||
bordercolor |
Color for all borders (bottom, top, left, right). Values are any valid color specification. |
Optional |
#000000 #808080 #FFFFFF #FF0000 |
borderstyle |
This attribute specifies the line style of all box's border. Some valid values are "solid", "double" or "dashed". |
Optional |
solid none |
borderwidth |
The border width attribute specifies the width of all borders. Some valid values are "thin", "medium", "thick" or a concrete size (e.g. "2pt"). |
Optional |
1pt 5pt 1mm 5mm |
bordertopcolor |
Color for the border on the top. Values are any valid color specification. |
Optional |
#000000 #808080 #FFFFFF #FF0000 |
bordertopstyle |
This attribute specifies the line style of a box's top border. Some valid values are "solid", "double" or "dashed". |
Optional |
solid none |
bordertopwidth |
The border width attribute specifies the width of the top border. Some valid values are "thin", "medium", "thick" or a concrete size (e.g. "2pt"). |
Optional |
1pt 5pt 1mm 5mm |
borderleftcolor |
Color for the border on the left side. Values are any valid color specification. |
Optional |
#000000 #808080 #FFFFFF #FF0000 |
borderleftstyle |
This attribute specifies the line style of a box's left border. Some valid values are "solid", "double" or "dashed". |
Optional |
solid none |
borderleftwidth |
The border width attribute specifies the width of the left border. Some valid values are "thin", "medium", "thick" or a concrete size (e.g. "2pt"). |
Optional |
1pt 5pt 1mm 5mm |
borderbottomcolor |
Color for the border on the bottom. Values are any valid color specification. |
Optional |
#000000 #808080 #FFFFFF #FF0000 |
borderbottomstyle |
This attribute specifies the line style of a box's bottom border. Valid values are 'solid', 'double' or 'dashed'. |
Optional |
solid none |
borderbottomwidth |
The border width attribute specifies the width of the bottom border. Valid values are "thin", "medium", "thick" or a concrete size (e.g. "2pt"). |
Optional |
1pt 5pt 1mm 5mm |
borderrightcolor |
Color for the border on the right side. Values are any valid color specification. |
Optional |
#000000 #808080 #FFFFFF #FF0000 |
borderrightstyle |
This attribute specifies the line style of a box's right border. Some valid values are "solid", "double" or "dashed". |
Optional |
solid none |
borderrightwidth |
The border width attribute specifies the width of the right border. Some valid values are "thin", "medium", "thick" or a concrete size (e.g. "2pt"). |
Optional |
1pt 5pt 1mm 5mm |
Font | |||
fontfamily |
This attribute specifies a priorized list of font family names and/or generic family names. To deal with the problem that a single font may not contain glyphs to display all the characters in a document, or that not all fonts are available on all systems, this property allows authors to specify a list of fonts, all of the same style and size, that are tried in sequence to see if they contain a glyph for a certain character. This list is called a "font set". |
Optional |
Helvetica Times Courier Symbol ZapfDingbats |
fontsize |
This attribute describes the size of the font when set as "solid". The font size corresponds to the em square, a concept used in typography. Note that certain glyphs may bleed outside their em squares. Some valid values are "xxsmall", "medium", "smaller" or a concrete size, e.g. "110%". |
Optional |
8pt 10pt 16pt |
fontstyle |
This attribute requests normal (sometimes referred to as "roman" or "upright"), italic, and oblique faces within a font family. Valid values are "normal", "italic" and "oblique". |
Optional |
normal italic oblique |
fontvariant |
In a small-caps font, the glyphs for lowercase letters look similar to the uppercase ones, but in a smaller size and with slightly different proportions. The "font-variant" property requests such a font for bicameral (having two cases, as with Roman script). This property has no visible effect for scripts that are unicameral (having only one case, as with most of the world's writing systems). Valid values are "normal" and "small-caps". |
Optional |
normal small-caps |
fontweight |
This attribute specifies the weight of the font. Some valid values are 'normal', 'bold', 'bolder', 'lighter', '100' or '900', where 'normal' is the same as '400', 'bold' is the same as '700'. |
Optional |
normal bold 100 200 300 400 500 600 700 800 900 |
Margin | |||
margin |
Sets the margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits. |
Optional |
1pt 5pt 1mm 5mm |
margintop |
Sets the top margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits. |
Optional |
1pt 5pt 1mm 5mm |
marginleft |
Sets the left margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits. |
Optional |
1pt 5pt 1mm 5mm |
marginbottom |
Sets the bottom margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits. |
Optional |
1pt 5pt 1mm 5mm |
marginright |
Sets the right margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits. |
Optional |
1pt 5pt 1mm 5mm |
Padding | |||
padding |
Specifies the width of the padding of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative. |
Optional |
1pt 5pt 1mm 5mm |
paddingtop |
Specifies the width of the padding on the top of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative. |
Optional |
1pt 5pt 1mm 5mm |
paddingleft |
Specifies the width of the padding on the left of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative. |
Optional |
1pt 5pt 1mm 5mm |
paddingbottom |
Specifies the width of the padding on the bottom of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative. |
Optional |
1pt 5pt 1mm 5mm |
paddingright |
Specifies the width of the padding on the right of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative. |
Optional |
1pt 5pt 1mm 5mm |