sadakar Posted March 12, 2018 Share Posted March 12, 2018 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 youSadakar Link to comment Share on other sites More sharing options...
sadakar Posted March 12, 2018 Author Share Posted March 12, 2018 +Using Markup=Styled the text field. Link to comment Share on other sites More sharing options...
sadakar Posted March 12, 2018 Author Share Posted March 12, 2018 found similar usecase but with excel export of styled elements https://stackoverflow.com/questions/17196423/styled-text-in-jasperreports-does-not-show-when-exported-to-excel#new-answer Link to comment Share on other sites More sharing options...
szaharia Posted March 13, 2018 Share Posted March 13, 2018 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now