ZUGFeRD Tutorial: examples for chapter 2
Legacy notice!
iText 5 is the previous major version of iText's leading PDF SDK. iText 5 has been EOL, and is no longer developed. Switch your project to iText 7, integrating the latest developments.
Check related iText 7 content!
These are some examples that were written in the context of Chapter 2 of the tutorial ZUGFeRD: The Future of Invoicing.
-
C2E1_SimplePdf creates a simple "Quick brown fox jumps over the lazy dog" PDF with some images, but without any structure. This results in a regular PDF.
-
C2E2_TaggedPdf.java uses the same code as the first example, but now we ask iText to introduce structure. This results in a Tagged PDF.
-
C2E3_PdfA3b.java adapts the first example, so that it conforms to the PDF/A-3 standard, level B (for Basic). The resulting PDF is not a Tagged PDF.
-
C2E4_PdfA3a.java adapts the third example, so that it conforms to the PDF/A-3 standard, level A (for Accessibility). The resulting PDF is a Tagged PDF.
c2e1_simplepdf
c2e2_taggedpdf
c2e3_pdfa3b
c2e4_pdfa3a
Resources