Liking cljdoc? Tell your friends :D

excel-clj.deprecated

To provide some minimal backwards compatibility with v1.x

To provide some minimal backwards compatibility with v1.x
raw docstring

default-tree-formattersclj

source

default-tree-total-formattersclj

source

old->new-treeclj

(old->new-tree [title tree])
source

tablecljdeprecated

(table tabular-data
       &
       {:keys [headers header-style data-style]
        :or {data-style (constantly {})}})

Build a sheet grid from the provided collection of tabular data, where each item has the format {Column Name, Cell Value}. If provided headers is an ordered coll of column names header-style is a function header-name => style map for the header. data-style is a function that takes (datum-map, column name) and returns a style specification or nil for the default style.

Build a sheet grid from the provided collection of tabular data, where each
item has the format {Column Name, Cell Value}.
If provided
  headers      is an ordered coll of column names
  header-style is a function header-name => style map for the header.
  data-style   is a function that takes (datum-map, column name) and returns
               a style specification or nil for the default style.
sourceraw docstring

treecljdeprecated

(tree core-table
      with-title
      t
      &
      {:keys [headers formatters total-formatters min-leaf-depth data-format]
       :or {formatters default-tree-formatters
            total-formatters default-tree-total-formatters
            min-leaf-depth 2
            data-format :accounting}})

Build a sheet grid from the provided tree of data [Tree Title [[Category Label [Children]] ... [Category Label [Children]]]] with leaves of the shape [Category Label {:column :value}]. E.g. The assets section of a balance sheet might be represented by the tree [:balance-sheet [:assets [[:current-assets [[:cash {2018 100M, 2017 90M}] [:inventory {2018 1500M, 2017 1200M}]]] [:investments {2018 50M, 2017 45M}]]]] If provided, the formatters argument is a function that takes the integer depth of a category (increases with nesting) and returns a cell format for the row, and total-formatters is the same for rows that are totals.

Build a sheet grid from the provided tree of data
  [Tree Title [[Category Label [Children]] ... [Category Label [Children]]]]
with leaves of the shape [Category Label {:column :value}].
E.g. The assets section of a balance sheet might be represented by the tree
[:balance-sheet
  [:assets
   [[:current-assets
     [[:cash {2018 100M, 2017 90M}]
      [:inventory {2018 1500M, 2017 1200M}]]]
    [:investments {2018 50M, 2017 45M}]]]]
If provided, the formatters argument is a function that takes the integer
depth of a category (increases with nesting) and returns a cell format for
the row, and total-formatters is the same for rows that are totals.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close