Is it possible to use a stylesheet with iText?

Does iText / support provide any stylesheet?

I mean that, like in Apache FOP, data is represented in XML, and formatting is programmed in XSL. So, we pass the XML and XSL to the FOP engine, which in turn converts the data to XML using the formatting specified in XSL to create the PDF file.

Does iText support the same functionality or the only way we have it is to program all the formatting in the Java code itself, i.e. indicate the table / cell (its dimensions, etc.), paragraph (its font, color, etc.) ?

+3
source share
1 answer

iText FOP, . - java-. OTOH. , .

iText in Action 2nd ed , XML- iText. , , .

+2

Source: https://habr.com/ru/post/1792033/


All Articles