Safe Haskell | Safe-Inferred |
---|---|
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
data TableColumn Source #
Single table column
TODO: styling information
Section 18.5.1.3 "tableColumn (Table Column)" (p. 1735)
Constructors
TableColumn | |
Instances
Generic TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table Associated Types type Rep TableColumn :: Type -> Type # | |
Show TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table Methods showsPrec :: Int -> TableColumn -> ShowS # show :: TableColumn -> String # showList :: [TableColumn] -> ShowS # | |
NFData TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table Methods rnf :: TableColumn -> () # | |
Eq TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table | |
type Rep TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table type Rep TableColumn = D1 ('MetaData "TableColumn" "Codec.Xlsx.Types.Table" "xlsx-1.1.0.1-FKUF1Jx3xuq9irRu3xJWCs" 'False) (C1 ('MetaCons "TableColumn" 'PrefixI 'True) (S1 ('MetaSel ('Just "tblcName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |