Description

class Axlsx::TableStyleElement
Note:

tables and table styles are not supported in this version. This class exists in preparation for that support.

an element of style that belongs to a table style.

creates a new TableStyleElement object

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • type (Symbol)
  • size (Integer)
  • dxfId (Integer)

The dxfId this style element points to

Number of rows or columns used in striping when the type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.

Serializes the object

Parameters:

  • str (String) (defaults to: '')

The type of style element. The following type are allowed

:wholeTable
:headerRow
:totalRow
:firstColumn
:lastColumn
:firstRowStripe
:secondRowStripe
:firstColumnStripe
:secondColumnStripe
:firstHeaderCell
:lastHeaderCell
:firstTotalCell
:lastTotalCell
:firstSubtotalColumn
:secondSubtotalColumn
:thirdSubtotalColumn
:firstSubtotalRow
:secondSubtotalRow
:thirdSubtotalRow
:blankRow
:firstColumnSubheading
:secondColumnSubheading
:thirdColumnSubheading
:firstRowSubheading
:secondRowSubheading
:thirdRowSubheading
:pageFieldLabels
:pageFieldValues

TableStyleElement is referenced in 0 repositories