Using Built-in Styles

How to use Built-in Styles

The method Workbook.createBuiltinStyle(BuiltinStyleType) and the enumeration BuiltinStyleType make it convenient to use built-in styles. Here is a list of all possible built-in styles:

  • TwentyPercentAccent1
  • TwentyPercentAccent2
  • TwentyPercentAccent3
  • TwentyPercentAccent4
  • TwentyPercentAccent5
  • TwentyPercentAccent6
  • FortyPercentAccent1
  • FortyPercentAccent2
  • FortyPercentAccent3
  • FortyPercentAccent4
  • FortyPercentAccent5
  • FortyPercentAccent6
  • SixtyPercentAccent1
  • SixtyPercentAccent2
  • SixtyPercentAccent3
  • SixtyPercentAccent4
  • SixtyPercentAccent5
  • SixtyPercentAccent6
  • Accent1
  • Accent2
  • Accent3
  • Accent4
  • Accent5
  • Accent6
  • Bad
  • Calculation
  • CheckCell
  • Comma
  • Comma1
  • Currency
  • Currency1
  • ExplanatoryText
  • Good
  • Header1
  • Header2
  • Header3
  • Header4
  • Hyperlink
  • FollowedHyperlink
  • Input
  • LinkedCell
  • Neutral
  • Normal
  • Note
  • Output
  • Percent
  • Title
  • Total
  • WarningText
  • RowLevel
  • ColumnLevel

Node.js code to use built-in styles