当前位置: 动力学知识库 > 问答 > 编程问答 >

django - Changing backgroundcolor of a table-cell based on its value

问题描述:

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?

网友答案:

Sure, in LibreOffice its easily found on the menu.

Format -> Conditional Formatting.

网友答案:

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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: