i have a problem with docx4j. The output pdf is cutted and all spaces or tabs are now replaced with only one. For example if in the docx there is a string like
- Code: Select all
" a a a"
the output will be "a a a". Same with tabs. My code and my pom below. What am i doing wrong? Thank you.
InputStream isNodo = new ByteArrayInputStream(contentNodoTempl);
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(isNodo);
VariablePrepare.prepare(wordMLPackage);
// output file ...