Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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)
Table | |
|
Instances
Generic Table Source # | |
Show Table Source # | |
NFData Table Source # | |
Defined in Codec.Xlsx.Types.Table | |
Eq Table Source # | |
FromCursor Table Source # | |
Defined in Codec.Xlsx.Types.Table 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-1.1.0.1-FKUF1Jx3xuq9irRu3xJWCs" '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)
Instances
Generic TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table type Rep TableColumn :: Type -> Type # from :: TableColumn -> Rep TableColumn x # to :: Rep TableColumn x -> TableColumn # | |
Show TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table showsPrec :: Int -> TableColumn -> ShowS # show :: TableColumn -> String # showList :: [TableColumn] -> ShowS # | |
NFData TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table rnf :: TableColumn -> () # | |
Eq TableColumn Source # | |
Defined in Codec.Xlsx.Types.Table (==) :: TableColumn -> TableColumn -> Bool # (/=) :: TableColumn -> TableColumn -> Bool # | |
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))) |