sangram.shende Posted April 5, 2021 Share Posted April 5, 2021 I have requirement where i want to process styled text and HTML text on same text element.Code example:textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="styled" font size="9" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" paragraph lineSpacing="Single"textElementNote: removed less than and greater than sign from above codein above component it should allow to process styled text and HTML text together.Issue with above code snippet is when we pass html text it displays html code as it is on report(HTML tags getting displayed on output report) also in same component if we change markup="html" then in that case styled text getting displayed as it is instead of formatting/processing text.So need suggestion for jasper report element whenever we pass styled text and HTML code on same element it should work properly. 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