Page 1 of 1

Center Align header and footer

PostPosted: Mon Mar 11, 2013 5:54 pm
by pritesh.shah17
Hello All,

I am creating doc from html file. Also I am adding header and footer to the document.

I want to set header to center align instead of default left align.
I am using this sample for creating header: http://www.docx4java.org/trac/docx4j/br ... reate.java

Can anyone please help me in figuring out how to do that?

Thanks in Advance!!

Thanks,
Pritesh