KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
nanhu-print-java
★ 27
Open GitHub ↗
a java xml to pdf framework
Download README (.md)
Explore Similar Repositories
protondb-community-api
:
Community API for protondb.com
LIFE_LEARNERS
:
No description available.
AkariLevel
:
基于 TabooLib 框架开发的 Bukkit 等级插件
next-testing-intro
:
No description available.
LogiCity
:
LogiCity@NeurIPS'24, D&B track. A multi-agent inductive learning environment for "abstractions".
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
nanhu-print-java
?
Download (.md)
# What is nanhu-print-java nanhu-print-java is a xml to pdf generation framework implemented in java language. Users can configure a file in xml format and prepare the json data format they want to print. Then call the nanhu-print-java framework API to complete the generation of a PDF file. The nanhu-print-java framework calls OpenPDF to generate PDF. nanhu-print-java can help users complete these functions that are common in enterprise applications and difficult to achieve with direct code programming by configuring xml: - Each page has a fixed header, and the last page has a fixed footer (repeat headers and footers fixed to top and bottom on every page). - Display the page number anywhere on each page. - Print with template(use an image as background) - Watermark - Alternate printing of different backgrounds in the table rows - Border control for table pagination Cooperating with the nanhu-print-js framework on the web front end, the pdf printing format can be customized. It is the first time to contact nanhu-print-java, please continue to read this chapter to understand the rich functions and core concepts provided by nanhu-print-java;<br> If you want to quickly experience nanhu-print-java, please refer to [Quick Start](document/quick_start.md) #### nanhu-print-java design concept and core functions - [Introduction](document/introduction.md) - [Architecture](document/architecture.md) - [Extensibility](document/extensibility.md) - [Quick Start](document/quick_start.md) - [Faq](document/faq.md) maven configuration ```xml <dependency> <groupId>io.github.hongjinqiu</groupId> <artifactId>nanhu-print-java</artifactId> <version>1.0.6</version> </dependency> ``` Next, refer to [Quick Start](document/quick_start.md) to implement your first nanhu-print-java program Demo project docker address: ``` docker pull hjq20021984/nanhu-print-java-demo:1.0.6 docker run -d -p 8891:8891 --name my-nanhu-print-java-demo hjq20021984/nanhu-print-java-demo:1.0.6 ``` When docker is running, visit `http://localhost:8891` Development video can refer to: `https://youtu.be/vdTSc8rXr9M` ## Claude Code Skill If you use [Claude Code](https://claude.ai/code), you can install [nanhu-print-java-skills](https://github.com/hongjinqiu/nanhu-print-java-skills) to get more accurate XML template generation and API usage guidance. Installation: ```bash git clone https://github.com/hongjinqiu/nanhu-print-java-skills.git cp -r nanhu-print-java-skills/claude/nanhu-pdf ~/.claude/skills/ ``` After installation, type `/nanhu-pdf` in Claude Code to activate the skill. Claude will generate accurate nanhu-print-java code based on the built-in XML template syntax, CSS rules, and Java API reference.