Posts

Showing posts with the label iText

Spring boot- Generate QR Code and Integrate it in PDF File with ZXing, and iText

Image
Hello everyone, today we will learn how to g enerate a QR Code and integrate it in a PDF file with ZXing, and iText in the spring boot application. Technology Used JDK 17 Spring Boot 2.5.5 ZXing library 3.5.0 iText PDF 5.5.13.3 Maven Final Project Directory Maven[Pom.xml] ZXing Core:  Core barcode encoding/decoding library. ZXing Java SE extensions:  Java SE-specific extensions to the core ZXing library. iText  is a library for creating and manipulating PDF files in Java and .NET. <? xml version ="1.0" encoding ="UTF-8" ?> < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi :schemaLocation ="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > < modelVersion >4.0.0</ modelVersion > < groupId >com.knf.dev</ groupId > < artifactId >springboot-zxing-itext-qrcode-pdf</ arti

Quarkus Export data to PDF example

Image
Hello everyone, today we will learn how to export and download the data as a PDF file in a Quarkus project. PDF  stands for the  Portable Document Format , used to exhibit documents in an electronic form independent of the software, hardware, or operating system they are viewed on. Technologies used: Quarkus 2.2.3.final iText 5.0.6 H2DB  Hibernate ORM panache Project Directory: Maven(pom.xml): A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details utilized by Maven to build the project. It contains default values for most projects. Some of the configurations that can be designated in the POM is the project dependencies, the plugins or goals that can be executed, the build profiles, and so on. Other information such as the project version, description, developers, mailing lists, and such can withal be designated. <?xml version = "1.0" ?> <project xsi:schemaLoc

Spring Boot Export data to PDF example

Image
Hello everyone, today we will learn how to export and download the data as a PDF file in a Spring Boot project. PDF stands for the Portable Document Format , used to exhibit documents in an electronic form independent of the software, hardware, or operating system they are viewed on. Technologies used: Spring Boot  iText PDF H2DB Spring Data JPA Project Directory Maven(pom.xml) A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details utilized by Maven to build the project.  <?xml version = "1.0" encoding = "UTF-8" ?> <project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > <modelVersion> 4.0.0 </modelVersion> <groupId> com.knf.dev