Local
Fonts
Description
Describes the font to be used for a
particular cell. The sytax is similiar to CSS styles where
attributes are paired with values using an equals sign and
semi-colon,
attribute = value;. Local fonts can
only be used as an attribute within the
CF_XLS_Cell tag.
Syntax
<CF_XLS_Cell
....
font="color:Color (see below); family:name of font family; size:integer;
style:normal or italic; weight:normal or bold;"
....
>
Attributes
| Attribute |
Req/Opt |
Default |
Description |
| Color |
Opt |
black |
One of the defined colors.
- GRAY
- BLACK
- BLUE
- BLUE_GREY
- BRIGHT_GREEN
- BROWN
- CORAL
- CORNFLOWER_BLUE
- DARK_BLUE
- DARK_GREEN
- DARK_RED
- DARK_TEAL
- DARK_YELLOW
- GOLD
- GREEN
- GREY_25_PERCENT
- GREY_40_PERCENT
- GREY_50_PERCENT
- GREY_80_PERCENT
- INDIGO
- LAVENDER
- LEMON_CHIFFON
- LIGHT_BLUE
- LIGHT_CORNFLOWER_BLUE
- LIGHT_GREEN
- LIGHT_ORANGE
- LIGHT_TURQUOISE
- LIGHT_YELLOW
- LIME
- MAROON
- OLIVE_GREEN
- ORANGE
- ORCHID
- PALE_BLUE
- PINK
- PLUM
- RED
- ROSE
- ROYAL_BLUE
- SEA_GREEN
- SKY_BLUE
- TAN
- TEAL
- TURQUOISE
- VIOLET
- WHITE
- YELLOW
|
| Family |
Opt |
Arial |
The name of a font available on the client machine.
- Arial
- Geneva
- New Times Roman
- etc.....
|
| Style |
Opt |
normal |
The style of the text, either
"normal" or "italic". |
| Weight |
Opt |
normal |
The weight of the font, either
"normal" or "bold". |
Example
See the examples
page.