umair.hl Posted November 25, 2016 Share Posted November 25, 2016 The html component seems to falter when multiple threads are generating PDFs with html content in them. There are random formatting errors which creep in - these are things like some text will be much larger than the rest, or boldened, or smaller, etc. Is this a known issue? Any workarounds?I've tried to use the Text Field and set the markup to HTML, and that gets rid of these issues HOWEVER it limits how much styling can be applied. Simple things like tables for example can't be used.Suggestions welcome. Link to comment Share on other sites More sharing options...
hozawa Posted November 27, 2016 Share Posted November 27, 2016 HTML component isn't officially supported by all of JasperReports products because it has some problems.If you want tables, can't you just use the table component? There's also Custom Visualization component that can be used to generate SVG pages - I prefer using this. Link to comment Share on other sites More sharing options...
umair.hl Posted November 28, 2016 Author Share Posted November 28, 2016 Hi hozawaI'm hesitant to use other components because our system has been built to accomodate users editing HTML, and that HTML is then fed through to the HTML element while creating PDFs. Obviously this is failing at large scale - when we have multiple threads creating PDFs.Do you know what the causes are behind why the htmlcomponent doesn't work? Any pointers if we wanted to fix it or build our own htmlcomponent? Other alternatives?Thanks Link to comment Share on other sites More sharing options...
vineethhegde68 Posted June 9, 2022 Share Posted June 9, 2022 Facing the same issue with size and large content... in the htmlcomponent jar. Any workaround please.Thanks in advance 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