xlsx-templater-0.0.1: Simple and incomplete Excel file templater

Safe HaskellSafe-Infered

Codec.Xlsx.Templater

Synopsis

Documentation

data TemplateSettings Source

Constructors

TemplateSettings 

Fields

tsOrientation :: Orientation
 
tsRepeated :: Int

repeated row/column (depending on tsOrientation)

type TemplateDataRow = Map Text TemplateValueSource

data row as a map from template variable name to a TemplateValue

run :: FilePath -> FilePath -> [(TemplateDataRow, TemplateSettings, [TemplateDataRow])] -> IO ()Source

template runner: reads template, constructs new xlsx file based on template data and template settings