Styled Text only background color is not working in PPTX export

0

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
627
Joined: Aug 14 2012 - 3:57am
Last seen: 7 months 1 week ago

+

Using Markup=Styled the text field. 

sadakar - 1 year 4 months ago

found similar usecase but with excel export of styled elements 

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

sadakar - 1 year 4 months ago

1 Answer:

0

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
1932
Joined: Sep 26 2006 - 8:06pm
Last seen: 5 days 2 hours ago
Feedback
randomness