| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| HTMLJMerge-1.2.5-28022026.pdf | 2026-02-27 | 184.3 kB | |
| HTMLJMerge-1.2.5-28022026.odt | 2026-02-27 | 40.7 kB | |
| examples.tar.gz | 2026-02-27 | 4.1 MB | |
| HTMLJMerge-javadoc-1.2.5-28022026.zip | 2026-02-27 | 260.7 kB | |
| HTMLJMerge-src-1.2.5-28022026.zip | 2026-02-27 | 84.8 kB | |
| lgpl.txt | 2026-02-27 | 7.4 kB | |
| README.txt | 2026-02-27 | 1.9 kB | |
| HTMLJMerge-1.2.5-28022026.jar | 2026-02-27 | 95.3 kB | |
| Totals: 8 Items | 4.7 MB | 0 | |
HTMLJMerge targets java 17.
See HTMLJMerge.pdf or HTMLJMerge.odt.
Usage: java -jar HTMLJMerge.jar -f fromFileName [-t toFileName] -d dataFileName [-p htmltopdf.binary [-s "$H $P"]] [-v] [-q]
where:
-f fromFileName is the template file.
-t toFileName is the result file - optional. Creates a default named file if missing.
-d dataFileName is the data xml file.
-p htmltopdf.binary binary to convert html to pdf - optional.
-s "pdf file syntax" the command line syntax template - optional (in quotes).
-r the size of the buffer to read in files (html and images) - optional defaults to 100k.
-q quiet mode IE no command line output (file names).
-v verbose mode IE command line output includes to pdf output.
-? This help message.
Converting to PDF:
-p is the binary that will be doing the conversion.
-s is the command line syntax where $H means the HTML file and $P The PDF.
You do not change $H and $P to your file names you use values $H and $P.
The command line syntax uses:
the literal $H and changes that to the actual html file/s internally and
the literal $P and changes that to the actual pdf file/s internally.
------------------------
Version 1.2.5 change log
------- ----- ------ ---
If data type is missing it'll check against a regular expression to guess what the type is.
If you explicitly specify a type and the value isn't strictly that type, then it'll remove incorrect characters.
e.g if your data contains :
<field name="Amount" type="num">$10.00<field>
<field name="StringAmount">$10.00<field>
Then you can branch on the 10.00 as the $ will be stripped away.
IE
@@if(Amount<<20)
will return true but
@@if(StringAmount<<20)
will return false as "$10.00" is not < "20"
However, the value including the $ will still be used in the merge.
IE @@Amount; will still be replaced with $10.00.
1.2.5 was released on 28-Feb-2026