Hello. I have a question about page margins. I did google for a while, and searched this forum, but nothing helpful came up. I have went through the "Getting Started" and some of the examples in the docx4j jar (really only one example of creating a table in a docx).
My question is, how can I set page margin to "NARROW" (0.5" margins)? I have tried through the docx4j.properties file. I was able to change the default orientation to landscape via the properties file, but it seems to ignore docx4j.PageMargins=NARROW. I also noticed in the code that the margin methods the PgMar object only accept BigInteger as arguments for top, bottom, etc. Is that why my page seems to be stuck wigh 1" margins even when I specify "NARROW"?
I am in need of narrow margins because I am generating a report that is too wide to fit with a 1" margin.
Thanks in advance for any advice/help.
Derik