CF_XLS_Cell
Description
Creates a new global font. This global
font can then be used to create a global style with the
CF_XLS_Style tag. This tag can
only be used within the
CF_XLS_Workbook tag.
Syntax
<CF_XLS_Font
Color = "color"
Family = "Font Name"
ID = "Reference ID"
Size = "integer"
Style = "normal|italic"
Underline = "single|singleaccounting|double|doubleaccounting"
Weight = "bold|normal"/>
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.....
|
| ID |
Opt |
|
A string/name for this font. The name
can then be referenced later in the CF_XLS_Style tag. |
| Size |
Opt |
10 |
An integer representing the size of
the font. |
| 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.