Styling for report - Excel format

Znaevm November 23, 2017

How i can add borders, font size, font color and etc in velocity template for Excel format? 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 24, 2017

You can think of a velocity as an inline replacement language for generating html.  Imagine the parser reads your .vm file line by line, copying it out to a new file.  For any part that is velocity, it executes that velocity, taking any output as the line it should put in the output, and for anything that is not velocity, it just copies the line.

So you can embed all your css into the header of your velocity file as though it were all simple html.

Suggest an answer

Log in or Sign up to answer