Hi, I purshased Apose.Pdf for Java recently and am attempting to convert some of our HTML templates to PDF using Pdf.bindHTML(). Here is a list of some things that either throw the AsposeBaseException or are not supported that are in our tempates. I have tested all these in the simplest cases possible using a template of
text
and replacing ‘text’ with the problematic HTML.Throws AsposeBaseException:
- tag in a table
- & in any text. ie. Peanut butter & Jelly time
- nowrap attribute. ie. some text
- non-breaking space anywhere in the html. This may be because it includes the ‘&’ which isn’t liked very much. ie.
- Any tag atrribute not in quotes. ie.
Not supported, but would be nice to have:
- Table border. No border seems to even show up if I use
- table data colspan attribute. ie.
One Two Three - The sytle attribute seems to be generally ignored. Are there plans to support styles in the future?
It would be really nice if Apose.Pdf didn’t throw exceptions for the first list of normal HTML features. The other things are pretty standard HTML features too and make the templates look ugly. Are there plans to fix these things soon? Thanks,
Kevin
- table data colspan attribute. ie.
- Table border. No border seems to even show up if I use