Set documents margins in JAVA
<p>My output for my JAVA program goes into a FAX*<em>*</em>*.doc, I am using the BufferedWriter class to write one line at a time to the file. When I open the file in word the margins are set to 1" all around. Leaving the page like this has undesirable effects on the format but if switched to .5" all around it is perfect. </p>

<p>Is there a way I can amend the margins to the document with JAVA?</p>

<p>I am generating word documents.</p>
