jsopena Posted April 27, 2007 Share Posted April 27, 2007 How can I know what HTML labels are available inside a Text Field?I mean, some data I've got in my database is with HTML labels. This data is associated to a Text field in the template. When the PDF file is created, sometimes it's displayed well and sometimes it's displayed as HTML string this data. What could I do to avoid this problem? Thanks in advance!Jorge Link to comment Share on other sites More sharing options...
Teodor Danciu Posted April 27, 2007 Share Posted April 27, 2007 Hi, I assume your text field has isStyledText="true".But if the HTML content that you get from your database is not a well-formated XML (XHTML), then it will not be parsed successfully by JR and hence it would fail to display as styled text.Also, for a complete list of supported HTML tags, see the /demo/samples/styledtext sample. I hope this helps.Teodor 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