Tagged articles
iText
13 articles · Page 1 of 1
This tutorial explains how to generate PDF files in Java using the iText library, covering dependency setup, a simple "Hello World" PDF example, converting complex HTML pages to PDF, and dynamic content insertion with Freemarker templates.
FreeMarkerHTML to PDFPDF generation
0 likes · 14 min read

This article demonstrates how to create and fill PDF templates using a PDF editor and Java iText library, covering importing Word documents, inserting text, option, and image fields (including signatures and stamps), and provides complete code examples for generating customized PDFs.
JavaPDFPDF generation
0 likes · 7 min read

This article demonstrates how to create a PDF template by first designing a Word document, converting it to PDF, inserting text, option, and image fields using a PDF editor, and then programmatically filling those fields with Java iText code, including dependency setup and image insertion.
BackendJavaPDF
0 likes · 7 min read

This tutorial explains China’s electronic‑seal regulations, shows how to generate a CA‑based X.509 certificate and a custom seal image with BouncyCastle, and demonstrates signing a PDF in Java using iText 5 to embed a visible seal and a verifiable digital signature.
BouncyCastleDigital CertificateJava
0 likes · 16 min read

This guide walks through the need for PDF generation in business scenarios, introduces the iText library (both iText5 and iText7), shows how to add Maven dependencies, provides a minimal “Hello World” PDF example, then details converting HTML (with CSS, images, and Freemarker variables) into PDF, and discusses when custom adaptation is required.
FreeMarkerHTML to PDFJava
0 likes · 13 min read

This article demonstrates multiple methods to add text or image watermarks to PDF documents in a Spring Boot application, covering Java libraries such as Apache PDFBox, iText, Ghostscript command line, Free Spire.PDF, and Aspose.PDF, with code examples and usage instructions.
JavaPDFPDFBox
0 likes · 14 min read

This article walks through multiple ways to add text or image watermarks to PDF files in a Spring Boot application, covering Apache PDFBox, iText, Ghostscript command‑line, Free Spire.PDF, and Aspose.PDF, with Maven dependencies, step‑by‑step code examples, and practical tips for preserving original documents.
GhostscriptJavaPDF
0 likes · 14 min read

This article demonstrates multiple ways to add text or image watermarks to PDF documents within a Spring Boot application, covering Apache PDFBox, iText, Ghostscript, Free Spire.PDF, and Aspose.PDF, and provides complete Maven dependencies and code examples for each method.
AsposeGhostscriptJava
0 likes · 15 min read

This tutorial demonstrates how to generate PDF files in Java with iText by filling form templates, inserting images and charts, creating dynamic tables, handling page breaks, and adding custom page headers, footers, and watermarks for backend applications.
BackendCode TutorialDynamic Table
0 likes · 25 min read

This article provides a step‑by‑step Java tutorial for generating PDF and Excel files, dynamically inserting data from backend entities, and exporting them, including detailed configuration, code examples using iText and EasyExcel, and testing procedures.
EasyExcelExcelPDF
0 likes · 9 min read

This tutorial walks you through setting up iText in a Spring Boot 2.3.10 project, creating a Word‑based PDF template, configuring Adobe Acrobat form fields, and implementing a Java utility class to generate and serve personalized PDFs via a REST endpoint.
BackendJavaPDF generation
0 likes · 5 min read

This guide walks through creating PDF templates, inserting dynamic data, and exporting both PDF and Excel files in a Java backend using iText for PDFs and EasyExcel for spreadsheets, complete with code examples and testing screenshots.
BackendEasyExcelExcel
0 likes · 13 min read

This tutorial shows how to add iText and XHTMLRenderer dependencies, create a PDF utility class that supports Chinese fonts, configure Maven resources to avoid placeholder conflicts, and resolve Docker build issues, all illustrated with a working demo image.
DockerMavenPDF generation
0 likes · 4 min read
