UnmarshallFromTemplate cannot replace Header's Text
Posted: Sun May 08, 2011 2:26 am
Hi,
I am new to this forum and very impressive with all docx4j work. I tried to replace text in MSWord document by UnmarshallFromTemplate.java (887), everything is just perfect. However, when I add a header and put a variable there, it is not working. I think it got problems with getting Relatioship Part or something like that but don't know how to fix (I keep exactly sample code and your docx file). Can anyone have exp. help me with your coding? Thanks a lot.
Yugi
I am new to this forum and very impressive with all docx4j work. I tried to replace text in MSWord document by UnmarshallFromTemplate.java (887), everything is just perfect. However, when I add a header and put a variable there, it is not working. I think it got problems with getting Relatioship Part or something like that but don't know how to fix (I keep exactly sample code and your docx file). Can anyone have exp. help me with your coding? Thanks a lot.
Yugi