Liking cljdoc? Tell your friends :D

excel-clj.file

Write Clojure grids of [[cell]] as Excel worksheets, convert Excel worksheets to PDFs, and read Excel worksheets.

A cell can be either a plain value (a string, java.util.Date, etc.) or such a value wrapped in a map which also includes style and dimension data.

Check out the (example) function at the bottom of this namespace for more.

Write Clojure grids of `[[cell]]` as Excel worksheets, convert Excel
worksheets to PDFs, and read Excel worksheets.

A cell can be either a plain value (a string, java.util.Date, etc.) or such
a value wrapped in a map which also includes style and dimension data.

Check out the (example) function at the bottom of this namespace for more.
raw docstring

append!clj

(append! workbook from-path to-path)
(append! workbook
         from-path
         to-path
         {:keys [streaming? auto-size-cols?] :or {streaming? true} :as ops})
source

append-stream!clj

(append-stream! workbook from-stream stream)
(append-stream!
  workbook
  from-stream
  stream
  {:keys [streaming? auto-size-cols?] :or {streaming? true} :as ops})
source

convert-pdf!clj

(convert-pdf! from-document pdf-path)

Convert the from-document, either a File or a path to any office document, to pdf format and write the pdf to the given pdf-path.

Requires LibreOffice or Apache OpenOffice https://github.com/sbraconnier/jodconverter

Returns a File pointing at the PDF.

Convert the `from-document`, either a File or a path to any office document,
to pdf format and write the pdf to the given pdf-path.

Requires LibreOffice or Apache OpenOffice https://github.com/sbraconnier/jodconverter

Returns a File pointing at the PDF.
sourceraw docstring

default-opsclj

(default-ops workbook)

Decide if sheet columns should be autosized by default based on how many rows there are.

This check is careful to preserve the laziness of grids as much as possible.

Decide if sheet columns should be autosized by default based on how many
rows there are.

This check is careful to preserve the laziness of grids as much as possible.
sourceraw docstring

force-extensionclj

(force-extension path ext)
source

openclj

(open file-path)

Open the given file path with the default program.

Open the given file path with the default program.
sourceraw docstring

quick-open!clj

(quick-open! workbook)
source

quick-open-pdf!clj

(quick-open-pdf! workbook)
source

tempclj

(temp ext)

Return a (string) path to a temp file with the given extension.

Return a (string) path to a temp file with the given extension.
sourceraw docstring

write!clj

(write! workbook path)
(write! workbook
        path
        {:keys [streaming? auto-size-cols?] :or {streaming? true} :as ops})
source

write*clj

(write* workbook poi-writer {:keys [streaming? auto-size-cols?] :as ops})

For best performance, use {:streaming true, :auto-size-cols? false}.

For best performance, use `{:streaming true, :auto-size-cols? false}`.
sourceraw docstring

write-pdf!clj

(write-pdf! workbook path)
source

write-rows!clj

(write-rows! sh rows-seq)

Write the rows via the poi/SheetWriter sh, returning the max row width.

Write the rows via the `poi/SheetWriter` `sh`, returning the max row width.
sourceraw docstring

write-stream!clj

(write-stream! workbook stream)
(write-stream!
  workbook
  stream
  {:keys [streaming? auto-size-cols?] :or {streaming? true} :as ops})
source

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

× close