File tree Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ common sense styling.
8
8
9
9
Lein:
10
10
```
11
- [org.clojars.mjdowney/excel-clj "1.3.0 "]
11
+ [org.clojars.mjdowney/excel-clj "1.3.1 "]
12
12
```
13
13
14
14
- [ Getting Started] ( #getting-started )
Original file line number Diff line number Diff line change 1
- (defproject org.clojars.mjdowney /excel-clj " 1.3.0 "
1
+ (defproject org.clojars.mjdowney /excel-clj " 1.3.1 "
2
2
:description " Generate Excel documents & PDFs from Clojure data."
3
3
:url " https://github.com/matthewdowney/excel-clj"
4
4
:license {:name " Eclipse Public License"
Original file line number Diff line number Diff line change 259
259
(open (convert-pdf! (example ) (temp " .pdf" )))
260
260
261
261
; ; Expose ordering / styling issues in v1.2.X
262
- (quick-open
263
- [[" Test"
264
- (table
265
- (for [x (range 10000 )]
266
- {" N" x " N^2" (* x x) " N^3" (* x x x)}))]])
262
+ (quick-open {" Test" (table
263
+ (for [x (range 10000 )]
264
+ {" N" x, " N^2" (* x x), " N^3" (* x x x)}))})
267
265
268
266
; ; Ballpark performance test
269
267
(dotimes [_ 5 ]
Original file line number Diff line number Diff line change 2
2
" Prototype features to be included in v2.0.0 -- everything subject to change."
3
3
{:author " Matthew Downey" }
4
4
(:require [excel-clj.poi :as poi]
5
- [excel-clj.cell :as cell]
6
5
[clojure.java.io :as io]
7
6
[clojure.string :as string]
8
7
[taoensso.encore :as enc])
Original file line number Diff line number Diff line change 59
59
workbook :font {:bold true :font-height-in-points 10}))))"
60
60
{:author " Matthew Downey" }
61
61
(:require [clojure.string :as string]
62
- [clojure.reflect :as reflect])
62
+ [clojure.reflect :as reflect]
63
+ [rhizome.viz :as viz])
63
64
(:import (org.apache.poi.ss.usermodel
64
65
DataFormat BorderStyle HorizontalAlignment FontUnderline
65
66
FillPatternType)
348
349
" If one wanted to visualize all of the nested setters & POI objects...
349
350
Keep in mind that this requires $ apt-get install graphviz"
350
351
[]
351
- (require '[rhizome.viz :as viz])
352
352
(let [param-type (fn [setter] (resolve (first (:parameter-types setter))))
353
353
is-setter? (fn [{:keys [name parameter-types]}]
354
354
(and (string/starts-with? (str name) " set" )
You can’t perform that action at this time.
0 commit comments