![]() It’s really easy to get started with the API and discover what you can do with it. You compose them using divs, paragraphs, images, tables, all having borders, font styles, margins, etc. IText actually has a very nice fluent DSL to generate documents in a very simple way.Īnd the way to think about documents is very similar to the way you think about HTML pages: I recently revisited that assumption, and I was very wrong. The experience was similar, only a bit worse.Īll this time, I knew about a lower-level library, that, by the way, Jasper Reports and BIRT both seem to use under the scene to actually generate the PDF documents: iText.īut for some reason (maybe it was true at the time), I always thought it was too low-level to be used directly. On another project, I tried something else: Eclipse BIRT. My feeling is that it certainly has its uses for large or complex documents that must have a good layout, but when you have to generate simple documents now and then, it’s overkill. It also had a lot of dependencies, sometimes outdated. The documentation is scarce, you have to learn a lot of concepts and use a special IDE to design the reports using drag n’ drop. The first tool I used to do that was Jasper Reports. I do have some experience, and in several past projects, I have had to generate printable documents, i.e. This post will be short, and maybe obvious to you if you have some Java experience already. It had been a while since I hadn’t blogged.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |