Liking cljdoc? Tell your friends :D

clj-excel.core


*row-missing-policy*clj


build-sheetclj

(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).
raw docstring

build-workbookclj

(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).
raw docstring

caching-style-builderclj

(caching-style-builder wb)

cell-commentclj

(cell-comment cell)

cell-mutatorcljmultimethod


cell-style-constantclj

(cell-style-constant kw)
(cell-style-constant kw prefix)

cell-valueclj

(cell-value cell)
(cell-value cell cell-type)

Return proper getter based on cell-value

Return proper getter based on cell-value
raw docstring

cellsclj

(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.
raw docstring

color-indicesclj


constantizeclj

(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.
raw docstring

create-cell-styleclj

(create-cell-style wb
                   &
                   {format :format
                    alignment :alignment
                    border :border
                    fontspec :font
                    bg-color :background-color
                    fg-color :foreground-color
                    pattern :pattern
                    wrap :wrap})

Create style for workbook

Create style for workbook
raw docstring

create-commentclj

(create-comment cell {:keys [width height text] :or {width 2 height 2}})

(create-link cell kw link-to)

create-rich-text-stringclj

(create-rich-text-string cell text)

create-sheet-data-styleclj

(create-sheet-data-style cache data)

data-formatclj

(data-format wb sformat)

Get dataformat by number or create new.

Get dataformat by number or create new.
raw docstring

data-formatsclj


fontclj

(font wb fontspec)

Register font with

Register font with 
raw docstring

get-cellclj

(get-cell row col)
(get-cell sheet row col)

Sell cell within row

Sell cell within row
raw docstring

get-creation-helperclj

(get-creation-helper cell)

lazy-sheetclj

(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
raw docstring

lazy-workbookclj

(lazy-workbook wb)
(lazy-workbook wb sheet-fn)

Lazy workbook report.

Lazy workbook report.
raw docstring

merge-rowsclj

(merge-rows sheet start rows)

Add rows at end of sheet.

Add rows at end of sheet.
raw docstring

row-seqclj

(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
raw docstring

rowsclj

(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.
raw docstring

saveclj

(save wb path)

Write workbook to output-stream as coerced by OutputStream.

Write workbook to output-stream as coerced by OutputStream.
raw docstring

set-borderclj

(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.
raw docstring

set-cellclj

(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.
raw docstring

sheet-namesclj

(sheet-names wb)

sheetsclj

(sheets wb)

Get seq of sheets.

Get seq of sheets.
raw docstring

StyleCachecljprotocol

build-styleclj

(build-style this cell-data)

underline-indicesclj


valuesclj

(values row)

Return cells from sheet as seq.

Return cells from sheet as seq.
raw docstring

workbook-hssfclj

(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.
raw docstring

workbook-sxssfclj

(workbook-sxssf)
(workbook-sxssf input)

Create or open new streaming excel workbook. Defaults to xlsx format.

Create or open new streaming excel workbook. Defaults to xlsx format.
raw docstring

workbook-xssfclj

(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.
raw docstring

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

× close