Liking cljdoc? Tell your friends :D

excel-templates.formulas


*debug-prints*clj

Set to true to enable the trace prints that show how formulas are being translated

Set to true to enable the trace prints that show how formulas are being translated
raw docstring

build-forward-tableclj

(build-forward-table data-seq)

Build the translation table to from source to dest

Build the translation table to from source to dest
raw docstring

build-reverse-tableclj

(build-reverse-table xlate-seq)

Build the translation from destination back to source

Build the translation from destination back to source
raw docstring

build-translation-tablesclj

(build-translation-tables data-map)

Build the translation tables for all the worksheets mentioned in the data map

Build the translation tables for all the worksheets mentioned in the data map
raw docstring

debug-printlnclj

(debug-println & args)

Print the arguments if debug-prints is bound to true.

Print the arguments if *debug-prints* is bound to true.
raw docstring

external-sheetsclj

(external-sheets workbook sheet formula)

Find any references to external sheets in the formula (note: all referenced sheets need to actually exist).

Find any references to external sheets in the formula (note: all referenced sheets need
to actually exist).
raw docstring

map-valuesclj

(map-values f m)

Build a new map that has [k v] -> [k (f v)]. I don't know why clojure doesn't have this

Build a new map that has [k v] -> [k (f v)]. I don't know why clojure doesn't have this
raw docstring

parseclj

(parse workbook sheet-num formula-string)

Parse a formula into a PTG array

Parse a formula into a PTG array
raw docstring

PtgExternalSheetscljprotocol

Protocol to find any external sheet references in the formula and return them

Protocol to find any external sheet references in the formula and return them

external-sheets-ptgclj

(external-sheets-ptg ptg)
raw docstring

PtgRelocatorcljprotocol

Protocol to handle translating various PTG classes by modifying cell references appropriately

Protocol to handle translating various PTG classes by modifying cell references appropriately

relocate-ptgclj

(relocate-ptg ptg old-index new-index)
raw docstring

PtgTranslatorcljprotocol

Protocol to handle translating various PTG classes by modifying cell references appropriately

Protocol to handle translating various PTG classes by modifying cell references appropriately

translate-ptgclj

(translate-ptg ptg translation-table sheet target-cell)
raw docstring

relocate-formulaclj

(relocate-formula workbook sheet old-index new-index formula)

Relocate any references to the sheet at old-index in the formula to refer to new-index

Relocate any references to the sheet at old-index in the formula to refer to new-index
raw docstring

renderclj

(render workbook ptgs)

Render a PTG array back to a formula string

Render a PTG array back to a formula string
raw docstring

sheet-numberclj

(sheet-number sheet)

Find the sheet number of this sheet object within its workbook

Find the sheet number of this sheet object within its workbook
raw docstring

src->dstclj

(src->dst translation-table
          worksheet
          [row col]
          [target-row target-col]
          max?
          abs?)

Translate a cell location from the source template to the target, accounting for cell motion and expansion. Returns a [row col] pair.

Translate a cell location from the source template to the target,
accounting for cell motion and expansion. Returns a [row col] pair.
raw docstring

translate-formulaclj

(translate-formula translation-table workbook sheet target-cell formula)

Translate a formula from the source sheet to the output workbook based on the translation table

Translate a formula from the source sheet to the output workbook based on the translation table
raw docstring

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

× close