CrossClj

0.1.0 docs

SourceDocs



RECENT
    VARS
    blank-cells?
    border
    cell-style
    cell-value
    cells
    CellWrite
    color
    column-width
    data-format
    fill-pattern
    font
    parse-row
    parse-row-spec
    read-sheet
    rows
    sheet
    sheet->map
    static-formulas
    streaming-workbook
    strip-blank-rows
    to-file!
    ToWorkbook
    workbook
    write-cell!
    write-cells!
    write-row!
    write-rows!

    « Index of all namespaces of this project

    (blank-cells? row)
    (cell-style wb {:keys [background-color foreground-color border-bottom border-left border-right border-top wrap], :as options})
    (cell-value cell)
    protocol
    (-write value cell options)
    (color r g b)
    (column-width num-chars)(column-width num-chars padding)
    Column width is given in 1/256ths of character width.
    
    (data-format wb {:keys [type], :as data-format})
    (font wb {:keys [color name bold]})
    (parse-row specs row)(parse-row specs transform row)
    Private
    (parse-row-spec data [value spec])
    (read-sheet sheet)(read-sheet sheet {:keys [column-name-fn], :or {column-name-fn keyword}})
    Create map key names based on the column labels on the first row.
    
    (rows sheet)
    (sheet wb)(sheet wb sheet-name-or-index)
    Returns sheet with given name or index, or creates new sheet with
    given name if one doesn't exist.
    (sheet->map spec sheet)
    (streaming-workbook)(streaming-workbook input)(streaming-workbook input {:keys [row-access-window compress-tmp-files? shared-strings-table?], :or {row-access-window 100, compress-tmp-files? false, shared-strings-table? false}})
    Creates a new streaming workbook or opens existing workbook
    in streaming mode.
    
    Input can be File, InputStream, URL or Workbook.
    (strip-blank-rows rows)
    (to-file! file wb)
    protocol
    (-to-workbook this)
    Reads object to Workbook
    
    (workbook)(workbook input)
    Creates a new workbook or opens existing workbook.
    
    Input can be File, InputStream, URL or Workbook.
    (write-cell! cell {:keys [style], :as options} value)
    (write-cells! row options data)
    (write-row! sheet options row-num data)
    (write-rows! wb sheet options rows)