xlsx-0.2.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 #

Minimal complete definition

toElement

Methods

toElement :: Name -> a -> Element Source #

Instances

ToElement Relationships Source # 
ToElement Relationship Source # 
ToElement PageSetup Source #

See CT_PageSetup, p. 3922

ToElement Protection Source #

See CT_CellProtection, p. 4484

ToElement Font Source #

See CT_Font, p. 4489

Methods

toElement :: Name -> Font -> Element Source #

ToElement FillPattern Source #

See CT_PatternFill, p. 4484

ToElement Fill Source #

See CT_Fill, p. 4484

Methods

toElement :: Name -> Fill -> Element Source #

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 XlsxText Source #

See CT_Rst, p. 3903

ToElement CommentTable Source # 
ToElement Pane Source #

See CT_Pane, p. 3913

Methods

toElement :: Name -> Pane -> Element Source #

ToElement Selection Source #

See CT_Selection, p. 3914

ToElement SheetView Source #

See CT_SheetView, p. 3913

ToElement SharedStringTable Source #

See CT_Sst, p. 3902.

TODO: The count and uniqCount attributes are currently unsupported.

ToElement CustomProperty Source # 
ToElement CustomProperties Source # 

Rendering attributes

class ToAttrVal a where Source #

Minimal complete definition

toAttrVal

Methods

toAttrVal :: a -> Text Source #

Instances

ToAttrVal Bool Source # 

Methods

toAttrVal :: Bool -> Text Source #

ToAttrVal Double Source # 
ToAttrVal Int Source # 

Methods

toAttrVal :: Int -> Text Source #

ToAttrVal Text Source # 

Methods

toAttrVal :: Text -> Text Source #

ToAttrVal String Source # 
ToAttrVal RefId Source # 

Methods

toAttrVal :: RefId -> Text Source #

ToAttrVal PaperSize Source #

See paperSize (attribute of pageSetup), p. 1659

ToAttrVal PageOrder Source #

See ST_PageOrder, p. 3923

ToAttrVal Orientation Source #

See ST_Orientation, p. 3923

ToAttrVal PrintErrors Source #

See ST_PrintError, p. 3923

ToAttrVal CellComments Source #

See ST_CellComments, p. 3923

ToAttrVal ReadingOrder Source # 
ToAttrVal PatternType Source # 
ToAttrVal LineStyle Source # 
ToAttrVal FontVerticalAlignment Source # 
ToAttrVal FontUnderline Source # 
ToAttrVal FontScheme Source # 
ToAttrVal FontFamily Source # 
ToAttrVal CellVerticalAlignment Source # 
ToAttrVal CellHorizontalAlignment Source # 
ToAttrVal PaneState Source #

See ST_PaneState, p. 3929

ToAttrVal PaneType Source #

See ST_Pane, p. 3914

ToAttrVal SheetViewType Source #

See ST_SheetViewType, p. 3913

(.=) :: 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

Misc