Styled Text only background color is not working in PPTX export
Posted on March 12, 2018 at 8:58am
Hi Community,
I am able to get background color for only text in Text field expression using below expression but when I export the output to pptx it is missing. Its working fine in PDF export.
"<style backcolor=\"yellow\">24/12</style>"
Did anyone face this issue ? Any help would be appricated.
Thank you
Sadakar
Joined: Aug 14 2012 - 3:57am
Last seen: 5 months 1 week ago
Posted on March 13, 2018 at 4:08am
In both PPTX and Excel there is no available option to set the highlight color for portions of text. This is why the backcolor style of markup elements does not apply for these 2 formats. You need to use the element's backcolor attribute instead.
Joined: Sep 26 2006 - 8:06pm
Last seen: 9 months 2 weeks ago
+
Using Markup=Styled the text field.
found similar usecase but with excel export of styled elements
https://stackoverflow.com/questions/17196423/styled-text-in-jasperreport...