Styled Text only background color is not working in PPTX export

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

 

sadakar's picture
4452
Joined: Aug 14 2012 - 3:57am
Last seen: 5 months 1 week ago

+

Using Markup=Styled the text field. 

sadakar - 5 years 2 weeks ago

found similar usecase but with excel export of styled elements 

https://stackoverflow.com/questions/17196423/styled-text-in-jasperreport...

sadakar - 5 years 2 weeks ago

1 Answer:

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.

shertage's picture
18808
Joined: Sep 26 2006 - 8:06pm
Last seen: 9 months 2 weeks ago
Feedback