| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Codec.Xlsx.Types.Table
Synopsis
- data Table = Table {- tblDisplayName :: Text
- tblName :: Maybe Text
- tblRef :: CellRef
- tblColumns :: [TableColumn]
- tblAutoFilter :: Maybe AutoFilter
 
- data TableColumn = TableColumn {}
- tableToDocument :: Table -> Int -> Document
- tableToElement :: Name -> Table -> Int -> Element
Documentation
Tables are ranges of data in the worksheet that have special behavior applied which allow users to better sort, analyze, format, manage, add, and delete data. Tables and table columns can also be referenced through formulas by the spreadsheet application using friendly names, making formula calculations that use tables much easier to understand and maintain. Tables provide a natural way for working with large sets of tabular data.
NOTE: as headerRowCount property isn't yet supported it's
 supposed that it's library user liability to guarantee that the 1st
 row of tblRef range contains cells with names specified in
 tblColumns
Section 18.5 "Tables" (p. 1728) Section 18.5.1 "Tables" (p. 1729) Section 18.5.1.2 "table (Table)" (p. 1730)
Constructors
| Table | |
| Fields 
 | |
Instances
| Eq Table Source # | |
| Show Table Source # | |
| Generic Table Source # | |
| NFData Table Source # | |
| Defined in Codec.Xlsx.Types.Table | |
| FromCursor Table Source # | |
| Defined in Codec.Xlsx.Types.Table Methods fromCursor :: Cursor -> [Table] Source # | |
| type Rep Table Source # | |
| Defined in Codec.Xlsx.Types.Table type Rep Table = D1 ('MetaData "Table" "Codec.Xlsx.Types.Table" "xlsx-0.8.4-HaLEmVo1ZhGFVO4n3Yfot" 'False) (C1 ('MetaCons "Table" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tblDisplayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "tblName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tblRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CellRef) :*: (S1 ('MetaSel ('Just "tblColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableColumn]) :*: S1 ('MetaSel ('Just "tblAutoFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AutoFilter)))))) | |
data TableColumn Source #
Single table column
TODO: styling information
Section 18.5.1.3 "tableColumn (Table Column)" (p. 1735)
Constructors
| TableColumn | |
Instances
| Eq TableColumn Source # | |
| Defined in Codec.Xlsx.Types.Table | |
| Show TableColumn Source # | |
| Defined in Codec.Xlsx.Types.Table Methods showsPrec :: Int -> TableColumn -> ShowS # show :: TableColumn -> String # showList :: [TableColumn] -> ShowS # | |
| Generic TableColumn Source # | |
| Defined in Codec.Xlsx.Types.Table Associated Types type Rep TableColumn :: Type -> Type # | |
| NFData TableColumn Source # | |
| Defined in Codec.Xlsx.Types.Table Methods rnf :: TableColumn -> () # | |
| type Rep TableColumn Source # | |
| Defined in Codec.Xlsx.Types.Table type Rep TableColumn = D1 ('MetaData "TableColumn" "Codec.Xlsx.Types.Table" "xlsx-0.8.4-HaLEmVo1ZhGFVO4n3Yfot" 'False) (C1 ('MetaCons "TableColumn" 'PrefixI 'True) (S1 ('MetaSel ('Just "tblcName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |