Font

Definition of a font. Define the font face, the size, color and styles. It is possible to refer to a defined font from the catalog and add further properties or override existing ones.

Examples

"font1":{
    "fontName": "Source Sans Pro",
    "fontSize": 13,
    "fontColor": {
        "rgb": [255,140,0]
    }
}

Implementations

Workbook

Format

Properties

name type description
fontName string Font face name (e.g. 'Helvetica')
fontRef string Name of a Font Definition
bold boolean Toggle bold font style
italic boolean Toggle italic font style
underline integer Toggle underline style of the font.
0 no underline
1 single
2 double
33 acc single
34 acc double
fontColor object Contains color as Name, Ref or RGB
Color
fontSize integer Font Size in pt