Options
All
  • Public
  • Public/Protected
  • All
Menu

Cell styling settings for docx templates

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new CellStyleDocx(cellBackgroundColor?: string, width?: string | number): CellStyleDocx

Properties

cellBackgroundColor

cellBackgroundColor: undefined | string

width

width: undefined | string | number

Methods

asDict

  • asDict(propertyName: string): {}
  • Get the dict representation of this cell style.

    Parameters

    • propertyName: string

      The name of the property for which you want to define the cell style

    Returns {}

    the dict representation of this cell style

    • [key: string]: string | number | boolean

asDictSuffixes

  • asDictSuffixes(): {}
  • Get the dict representation of the suffixes that need to be appended to the name of this property in this CellStyle object's dict representation.

    Returns {}

    the dict representation of the suffixes that need to be appended to the name of this property in this CellStyle object's dict representation

    • [key: string]: string | number | boolean

Generated using TypeDoc