In an attempt to improve PlantUML documentation...
Wiki Toc Recent changes View page history Add new chapter Reorder page Raw
PDF SupportSome users have asked for the ability to generate diagrams directly in PDF format. Unfortunately, this is not an easy task, and would require the need of several external libraries (Batik and FOP). This goes against the wish to keepplantuml.jar file not too big and to facilitate its integration with other products.
Fortunately, it is possible to use some kind of dynamic linkage, so that those libraries
are not needed for compilation or execution if not present. A SVG file is first generated, then translated to PDF.
Note that in some case, shadowing is an issue for PDF export, so you can find here a way to disable it.
| ||
Make it workSo by default PDF generation is not enabled. This will probably fit a majority of users' needs. If you want to use PDF, you have to download the following files:
plantuml.jar (this is important).
Now, you can use the -tpdf flag in the command line:
Or format="pdf" in the ant task:
| ||