zhangyu836 / xltpl

A python module to generate xls/x files from a xls/x template.
MIT License
71 stars 17 forks source link

Add documentation for possible values and what they do #17

Open fbarre96 opened 1 year ago

fbarre96 commented 1 year ago

Hello, I have been trying to change the background and font color of a cell with jinja2 using an if condition in the template but I cannot find any info on how to.

It seems like the {%yn } tag as a RichText capability but there is no documentation on how to use it.

liren-sun commented 1 year ago

Hello, I have been trying to change the background and font color of a cell with jinja2 using an if condition in the template but I cannot find any info on how to.

It seems like the {%yn } tag as a RichText capability but there is no documentation on how to use it.

it‘s bad lib。

xuyang16 commented 1 year ago

你可以通过openpyxl,循环遍历单元格改色