(build-sheet wb sheetname rows)
Build sheet from seq of seq (representing cells in row of rows).
Build sheet from seq of seq (representing cells in row of rows).
(build-workbook wb-map)
(build-workbook wb wb-map)
Build workbook from map of sheet names to multi dimensional seqs (ie a seq of seq).
Build workbook from map of sheet names to multi dimensional seqs (ie a seq of seq).
(cell-value cell)
(cell-value cell cell-type)
Return proper getter based on cell-value
Return proper getter based on cell-value
(cells row)
Return seq of cells from row. Simple seq cast via Iterable implementation.
Return seq of cells from row. Simple seq cast via Iterable implementation.
(constantize klass kw)
Helper to read constants from constant like keywords within a class. Reflection powered.
Helper to read constants from constant like keywords within a class. Reflection powered.
(create-cell-style wb
&
{format :format
alignment :alignment
border :border
fontspec :font
bg-color :background-color
fg-color :foreground-color
pattern :pattern})
Create style for workbook
Create style for workbook
(data-format wb sformat)
Get dataformat by number or create new.
Get dataformat by number or create new.
(get-cell row col)
(get-cell sheet row col)
Sell cell within row
Sell cell within row
(lazy-sheet sheet & opts)
Lazy seq of seqs representing rows and cells of sheet.
Options: :cell-fn function called on each cell, defaults to cell-value :mode either :logical (default) or :physical
Modes: :logical returns all cells even if they are blank :physical returns only the physically defined cells
Lazy seq of seqs representing rows and cells of sheet. Options: :cell-fn function called on each cell, defaults to cell-value :mode either :logical (default) or :physical Modes: :logical returns all cells even if they are blank :physical returns only the physically defined cells
(lazy-workbook wb)
(lazy-workbook wb sheet-fn)
Lazy workbook report.
Lazy workbook report.
(merge-rows sheet start rows)
Add rows at end of sheet.
Add rows at end of sheet.
(row-seq row & opts)
Returns a lazy seq of cells of row.
Options: :cell-fn function called on each cell, defaults to cell-value :mode either :logical (default) or :physical
Modes: :logical returns all cells even if they are blank :physical returns only the physically defined cells
Returns a lazy seq of cells of row. Options: :cell-fn function called on each cell, defaults to cell-value :mode either :logical (default) or :physical Modes: :logical returns all cells even if they are blank :physical returns only the physically defined cells
(rows sheet)
Return rows from sheet as seq. Simple seq cast via Iterable implementation.
Return rows from sheet as seq. Simple seq cast via Iterable implementation.
(save wb path)
Write workbook to output-stream as coerced by OutputStream.
Write workbook to output-stream as coerced by OutputStream.
(set-border cs all)
(set-border cs caps sides)
(set-border cs top right bottom left)
Set borders, css order style. Borders set CSS order.
Set borders, css order style. Borders set CSS order.
(set-cell cell value)
(set-cell row col value)
(set-cell sheet row col value)
Set cell at specified location with value.
Set cell at specified location with value.
(values row)
Return cells from sheet as seq.
Return cells from sheet as seq.
(workbook-hssf)
(workbook-hssf input)
Create or open new excel workbook. Defaults to xls format.
Create or open new excel workbook. Defaults to xls format.
(workbook-xssf)
(workbook-xssf input)
Create or open new excel workbook. Defaults to xlsx format.
Create or open new excel workbook. Defaults to xlsx format.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close