Skip to content

Commit

Permalink
enhanced :excel module
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Sep 3, 2024
1 parent 203d052 commit 17ced18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public DocSection section() {
style.addItem(diBuilder.getDocItem("excel/add-font", false));
style.addItem(diBuilder.getDocItem("excel/add-style", false));
style.addItem(diBuilder.getDocItem("excel/add-merge-region", false));
style.addItem(diBuilder.getDocItem("excel/add-conditional-bg-color", false));
style.addItem(diBuilder.getDocItem("excel/row-height", false));
style.addItem(diBuilder.getDocItem("excel/col-width", false));
style.addItem(diBuilder.getDocItem("excel/cell-style", false));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void copyCellStyle(
sheet.copyCellStyle(cellRowFrom1-1, cellColFrom1-1, cellRowTo1-1, cellColTo1-1);
}

public void conditionalBackgroundColor(
public void addConditionalBackgroundColor(
final String condRule, // "ISBLANK(A1)"
final String bgColorHtml, // "#CC636A"
final int regionFirstRow1,
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/com/github/jlangch/venice/excel.venice
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@
rule bg-color-html
region-first-row region-last-row
region-first-col region-last-col)")
:doc "Conditional background color"
:doc "Add a conditional background color"
:examples '(
"""
(do
Expand Down

0 comments on commit 17ced18

Please sign in to comment.