FormattingDslGrammarDef

Formatting DSL Grammar

Definitions:

cellAttributes: CellAttributes

    

color: RgbColor

Notation:

- Returning CellAttributes:

cellAttributesandcellAttributes

| italic| bold| underline

| background(color)

| background(r: Short,g: Short,b: Short)

| linearBg(value: Number,from: Pair<Number, RgbColor>,to: Pair<Number, RgbColor>)

| textColor(color)

| textColor(r: Short,g: Short,b: Short)

| attr(name: String,value: String)

- Returning RgbColor:

black| white| green| red| blue| gray| darkGray| lightGray

| rgb(r: Short,g: Short,b: Short)

| linear(value: Number,from: Pair<Number, RgbColor>,to: Pair<Number, RgbColor>)