I have a program which simply creates a table with 2 columns, left column is set to right orientation. When I test in eclipse the program works fine, it creates the table with the borders (as I have defined in the program itself) and the style (font, spacing, etc) set in the styles.xml.
However once exporting to .jar all styles disappear. The program still works, it creates the table and the word document, except the style is the default style (calibri, size 11, line space) and the table is the default style, meaning it has got no borders. This is kinda strange because I define the table style in the program, and not in the styles.xml.
Anyone got this problem?
styles.xml: http://pastebin.com/htmKVjGP
Complete source code (just enter whatever in the fields, then click on the button, it'll generate the doc on your desktop):
AllemandWord.java: http://pastebin.com/jKXGRZn0
Fenetre.java: http://pastebin.com/U5x02Vws
Edit: solution was to use the docx4j zip instead of importing from github.