Changing backgroundcolor of a table-cell based on its value

ぐ巨炮叔叔 提交于 2019-12-13 00:55:03

问题


I'm using this nice tool pod to generate ODT-Files in my django-application. Is there a way to change the backgroundcolor of a table-cell based on its value?


回答1:


Sure, in LibreOffice its easily found on the menu.

Format -> Conditional Formatting.




回答2:


You could generate a tag for the color in your django application and then have a post process LibreOffic Writer macro going through the tags and change the background color of the cells accordingly.



来源:https://stackoverflow.com/questions/16987806/changing-backgroundcolor-of-a-table-cell-based-on-its-value

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!