Skip to content

utility that creates docx file report from template

License

Notifications You must be signed in to change notification settings

suhoy/WordBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordBuilder

Create docx report from template with pics and attachments
Java 8 with free version Aspose words (aspose-words-18.1-jdk16.jar)
During free Aspose version template have limit in 500 line breaks

Arguments

-config         Path to config file  
-template       Path to template file  
-imagesFolder   Images folder  
-addAttach      Is there attachments  
-attachFolder   Attachments folder  
-outFolder      Output folder  
-outName        Output file name with no extension  

Start example

java -jar WordBuilder.jar -config C:\config.txt -template C:\template1.docx -imagesFolder C:\images -addAttach true -attachFolder C:\attachs -outFolder C:\out -outName out1

Config example

image.wight=450  
image.height=200  
doc.extension=docx  

Template example

@attachment.zip  

pic1.png  
Pic description1  

pic2.png  
Pic description2  

About

utility that creates docx file report from template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages