Liking cljdoc? Tell your friends :D

bb-excel.core


A_CHAR_INDEXclj

source

BASE_COLUMN_INDEXclj

source

BASE_ROW_INDEXclj

source

crangeclj

(crange s e)

Creates as sequence of columns given a starting and ending column name.

Creates as sequence of columns given a starting and ending column name.
sourceraw docstring

create-xlsxclj

(create-xlsx file-path data)

Create an Excel spreadsheet file-path : Destination folder and filename. e.g /test/sample.xlsx will create the folder test if it does not exist and place the newly created sample.xlsx in that folder data : Data should be vector of maps or vector of vectors where each map or vector represents a row

Create an Excel spreadsheet
file-path : Destination folder and filename. e.g /test/sample.xlsx will create the folder test 
             if it does not exist and place the newly created sample.xlsx in that folder
data : Data should be vector of maps or vector of vectors where each map or vector represents a row
sourceraw docstring

create-zip-entryclj

(create-zip-entry zip-stream entry-name content)

For a given filepath and content add to a java ZipOuputStream

For a given filepath and content add to a java ZipOuputStream
sourceraw docstring

datesclj

source

defaultsclj

Default values for processing the Excel Spreadsheet :row integer :- Which row to begin data extraction defaults to 0 :fxn function :- Which function to use parse header rows :rows integer :- Number of rows to extract :hdr boolean :- Rename columns with data from the first row

Default values for processing the Excel Spreadsheet
:row  integer  :-  Which row to begin data extraction defaults to 0 
:fxn  function :-  Which function to use parse header rows
:rows integer  :-  Number of rows to extract
:hdr  boolean  :- Rename columns with data from the first row
sourceraw docstring

error-codesclj

source

excel-date-serialclj

(excel-date-serial datetime)

Convert a java LocalDate to an MS Excel integer value

Convert a java LocalDate to an MS Excel integer value
sourceraw docstring

excel-time-serialclj

(excel-time-serial datetime)

Convert a java LocalDateTime to an MS Excel decimal value.

Convert a java LocalDateTime to an MS Excel decimal value.
sourceraw docstring

extract-cell-valueclj

(extract-cell-value shared-strings styles cell)

Possible cell-value types well explained here https://stackoverflow.com/a/18346273

Possible cell-value types well explained here https://stackoverflow.com/a/18346273
sourceraw docstring

get-and-check-sheet-idclj

(get-and-check-sheet-id zipfile sheetname-or-idx)
source

get-cellsclj

(get-cells sheet rows cols)

Get range of values returned as list of rows

Get range of values returned as list of rows
sourceraw docstring

get-colclj

(get-col sheet col)

Get column from sheet by name. If columns have been renamed use the new name.

Get column from sheet by name. 
If columns have been renamed use the new name.
sourceraw docstring

get-col-indexclj

(get-col-index cell last-processed-col-index)

Self-calculated index is used only if cell-index attribute(:r) is missing on the cell

Self-calculated index is used only if cell-index attribute(:r) is missing on the cell
sourceraw docstring

get-rangeclj

(get-range sheet rg)

Get range of values using Excel cell coordinates e.g A1:C5

Get range of values using Excel cell coordinates
e.g A1:C5
sourceraw docstring

get-rowclj

(get-row sheet row)

Get row from sheet by row index

Get row from sheet by row index
sourceraw docstring

get-shared-stringsclj

(get-shared-strings zipfile)

Get dictionary of all unique strings in the Excel spreadsheet

Get dictionary of all unique strings in the Excel spreadsheet
sourceraw docstring

get-sheetclj

(get-sheet file-or-filename)
(get-sheet file-or-filename sheetname-or-idx)
(get-sheet file-or-filename sheetname-or-idx options)

Get sheet from file or filename

Get sheet from file or filename
sourceraw docstring

get-sheet-entryclj

(get-sheet-entry zipfile sheet-id)
source

get-sheet-namesclj

(get-sheet-names file-or-filename)

Retrieves a list of Sheet Names from a given Excel Spreadsheet

Retrieves a list of Sheet Names from a given Excel Spreadsheet
sourceraw docstring

get-sheet-names*clj

(get-sheet-names* zipfile)
source

get-sheetsclj

(get-sheets file-or-filename)
(get-sheets file-or-filename options)

Get all or specified sheet from the excel spreadsheet

Get all or specified sheet from the excel spreadsheet
sourceraw docstring

get-stylesclj

(get-styles zipfile)
source

num2dateclj

(num2date n)

Format Excel Date

Format Excel Date
sourceraw docstring

num2pctclj

(num2pct n)

Format Percentage

Format Percentage
sourceraw docstring

num2timeclj

(num2time n)

Format Excel Time

Format Excel Time
sourceraw docstring

number->column-letterclj

(number->column-letter n)
source

parse-rangeclj

(parse-range s)

Takes in an Excel coordinate and returns a hashmap of rows and columns to pull

Takes in an Excel coordinate and returns a hashmap of rows and columns to pull
sourceraw docstring

parse-xlongclj

(parse-xlong x)

Adds support for passing in nil into parse-long Return an empty string if x is nil

Adds support for passing in nil into parse-long
Return an empty string if x is nil
sourceraw docstring

pctsclj

source

process-rowclj

(process-row shared-strings styles row)

Process Excel row of data

Process Excel row of data
sourceraw docstring

process-rowsclj

(process-rows shared-strings styles last-processed-row-index rows)
source

SDFclj

source

style-checkclj

(style-check cell-attrs styles ids)

Check if the style id is within a range.

Check if the style id is within a range.
sourceraw docstring

timesclj

source

to-colclj

(to-col num)

Takes in an ordinal and returns its equivalent column heading.

Takes in an ordinal and returns its equivalent column heading.
sourceraw docstring

valid-cell-index?clj

(valid-cell-index? cell-index)
source

wb-relationshipsclj

source

when-numclj

(when-num s)

Returns nil for empty strings when a number is expected

Returns nil for empty strings when a number is expected
sourceraw docstring

when-strclj

(when-str s)

Returns nil for empty strings

Returns nil for empty strings
sourceraw docstring

ws-relationshipsclj

(ws-relationships n)
source

xlnsclj

source

xmlhclj

source

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

× close