Liking cljdoc? Tell your friends :D

clj-excel.core


*row-missing-policy*clj

source

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).
sourceraw 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).
sourceraw docstring

caching-style-builderclj

(caching-style-builder wb)
source

cell-commentclj

(cell-comment cell)
source

cell-mutatorcljmultimethod

source

cell-style-constantclj

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

cell-valueclj

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

Return proper getter based on cell-value

Return proper getter based on cell-value
sourceraw 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.
sourceraw docstring

color-indicesclj

source

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.
sourceraw 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})

Create style for workbook

Create style for workbook
sourceraw docstring

create-commentclj

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

(create-link cell kw link-to)
source

create-rich-text-stringclj

(create-rich-text-string cell text)
source

create-sheet-data-styleclj

(create-sheet-data-style cache data)
source

data-formatclj

(data-format wb sformat)

Get dataformat by number or create new.

Get dataformat by number or create new.
sourceraw docstring

data-formatsclj

source

fontclj

(font wb fontspec)

Register font with

Register font with 
sourceraw docstring

get-cellclj

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

Sell cell within row

Sell cell within row
sourceraw docstring

get-creation-helperclj

(get-creation-helper cell)
source

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
sourceraw docstring

lazy-workbookclj

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

Lazy workbook report.

Lazy workbook report.
sourceraw docstring

merge-rowsclj

(merge-rows sheet start rows)

Add rows at end of sheet.

Add rows at end of sheet.
sourceraw 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
sourceraw 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.
sourceraw docstring

saveclj

(save wb path)

Write workbook to output-stream as coerced by OutputStream.

Write workbook to output-stream as coerced by OutputStream.
sourceraw 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.
sourceraw 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.
sourceraw docstring

sheet-namesclj

(sheet-names wb)
source

sheetsclj

(sheets wb)

Get seq of sheets.

Get seq of sheets.
sourceraw docstring

StyleCachecljprotocol

build-styleclj

(build-style this cell-data)
source

underline-indicesclj

source

valuesclj

(values row)

Return cells from sheet as seq.

Return cells from sheet as seq.
sourceraw 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.
sourceraw 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.
sourceraw docstring

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

× close