About x-easypdf
x-easypdf is based on the secondary encapsulation of pdfbox, which greatly reduces the threshold for use, and constructs pdf in a componentized form. Simple and easy to use, it helps developers to quickly generate pdf documents.
Project Features
-
Lightweight
Contains only pdfbox-related dependencies (bouncycastle dependencies need to be added separately for digital signatures, and zxing dependencies need to be added separately for barcodes)
-
Simple and smart
Word wrap and pagination
-
form filling
Built-in document form filler (to fill in text fields in forms)
-
image conversion
Built-in document imager (can convert the entire document to a picture, or convert a few pages of the document to a picture)
-
document extraction
Built-in document extractor (can extract text and pictures in documents)
-
document replacement
Built-in document replacer (replaces text and images in documents)
-
document analysis
Built-in document analyzer (can analyze text and image information in documents, including coordinates, content, font size, etc.)
-
document splitting
Built-in document splitter (can split documents into one or more documents by page number)
-
digital signature
Built-in document signer (to digitally sign documents)
-
Built-in fonts
Built-in thin | normal | bold three open source Chinese fonts (Huawei Hongmeng font)
-
Rich components
Built-in components such as watermarks, headers, footers, texts, pictures, tables, rectangles, circles, lines, layouts, barcodes (one-dimensional code/two-dimensional code)
Software Architecture
HelloWorld Demo
// 极致写法
XEasyPdfHandler.Document.build().addPage(XEasyPdfHandler.Page.build(XEasyPdfHandler.Text.build("Hello world"))).save(OUTPUT_PATH).close();
Warehouse Address
x-easypdf is lightweight, has few dependencies, and has rich extension interfaces, which can help our developers to quickly build PDFs through componentized operations. Welcome to use and learn about star!