We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a8482c commit 038f56eCopy full SHA for 038f56e
src/excel_clj/poi.clj
@@ -121,6 +121,9 @@
121
poi-cell (.createCell poi-row cidx)]
122
123
(when (or (> width 1) (> height 1))
124
+ ;; If the width is > 1, move the cursor along so that the next write on
125
+ ;; this row happens in the next free cell, skipping the merged area
126
+ (vswap! col-cursor + (dec width))
127
(let [ridx @row-cursor
128
cra (CellRangeAddress.
129
ridx (dec (+ ridx height))
@@ -213,7 +216,14 @@
213
216
;; This one won't be visible, because it's hidden behind the tall cell
214
217
(write! t "1")
215
218
(write! t "2")
- (write! t "3"))))
219
+ (write! t "3")
220
+
221
+ (newline! t)
222
+ (write! t "Wide" nil 2 1)
223
+ (write! t "Wider" nil 3 1)
224
+ (write! t "Much Wider" nil 5 1)))
225
226
+ )
227
228
229
(defn performance-test
0 commit comments