Couple of thoughts...any reason why you couldn't format it as an HTML document since Word supports this?  If there is still an issue, I have been able to do something like this by programmatically building an RTF document and loading it into Word.  While Word itself puts alot of extra 'stuff' in their RTF documents, you should be able to identify the tags that are actually necessary to do what you are wanting to do by looking at the source of an RTF document in Wordpad (or whatever).
 
Regards,
Jeffrey Diedrich
Realistic Technical Solutions
 
>
>
>Date: Mon, 29 May 2000 09:26:19 +0100
>From: "Sanjeevi Athreya" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: how to format documents in JAVA
>Message-ID: <004401bfc947$d28955e0$[EMAIL PROTECTED]">004401bfc947$d28955e0$[EMAIL PROTECTED]>
>
>Hi
>   I need some help on formatting a Word Document .
>  I have data in a database and I need to extract it and put it in a word
>document .
>I also need to format it meaning
>Alignment, Spacing, Bold, Italics, font size and also Page Breaks etc.
>
>How do I go about doing this in java
>
>any help will be appreciated
>thanks
>regards
>Sanjeevi

Reply via email to