xlsx-0.2.1: Simple and incomplete Excel file parser/writer

Safe HaskellNone
LanguageHaskell2010

Codec.Xlsx.Writer.Internal

Contents

Synopsis

Rendering documents

Rendering elements

class ToElement a where Source

Methods

toElement :: Name -> a -> Element Source

Instances

ToElement PageSetup Source

See CT_PageSetup, p. 3922

ToElement Pane Source

See CT_Pane, p. 3913

ToElement Selection Source

See CT_Selection, p. 3914

ToElement SheetView Source

See CT_SheetView, p. 3913

ToElement Protection Source

See CT_CellProtection, p. 4484

ToElement Font Source

See CT_Font, p. 4489

ToElement FillPattern Source

See CT_PatternFill, p. 4484

ToElement Fill Source

See CT_Fill, p. 4484

ToElement Color Source

See CT_Color, p. 4484

ToElement BorderStyle Source

See CT_BorderPr, p. 4483

ToElement Border Source

See CT_Border, p. 4483

ToElement Alignment Source

See CT_CellAlignment, p. 4482

ToElement CellXf Source

See CT_Xf, p. 4486

ToElement StyleSheet Source

See CT_Stylesheet, p. 4482

ToElement RunProperties Source

See CT_RPrElt, p. 3903

ToElement RichTextRun Source

See CT_RElt, p. 3903

ToElement StringItem Source

See CT_Rst, p. 3903

ToElement SharedStringTable Source

See CT_Sst, p. 3902.

TODO: The count and uniqCount attributes are currently unsupported.

Rendering attributes

(.=) :: ToAttrVal a => Name -> a -> (Name, Text) Source

Dealing with namespaces

addNS :: Text -> Element -> Element Source

Set the namespace for the entire document

This follows the same policy that the rest of the xlsx package uses.

mainNamespace :: Text Source

The main namespace for Excel