zebra striping + single table for column-per-location
This commit is contained in:
@@ -41,7 +41,8 @@
|
||||
(= :dollar (:format cell)) (assoc :align :right)
|
||||
(= :percent (:format cell)) (assoc :align :right)
|
||||
(:bold cell) (assoc-in [:ttf-name] "fonts/calibri-bold.ttf")
|
||||
(:color cell) (assoc :color (:color cell)))
|
||||
(:color cell) (assoc :color (:color cell))
|
||||
(:bg-color cell) (assoc :background-color (:bg-color cell)))
|
||||
|
||||
cell-contents
|
||||
]))
|
||||
@@ -195,7 +196,7 @@
|
||||
report (l-reports/summarize-pnl pnl-data)
|
||||
output-stream (ByteArrayOutputStream.)]
|
||||
(pdf/pdf
|
||||
(-> [{:left-margin 10 :right-margin 10 :top-margin 15 :bottom-margin 15
|
||||
(-> [{:left-margin 10 :right-margin 10 :top-margin 5 :bottom-margin 15
|
||||
:size (cond
|
||||
(and (>= (count (-> pnl-data :args :periods)) 8 )
|
||||
(-> pnl-data :args :include-deltas))
|
||||
|
||||
Reference in New Issue
Block a user