thanks for the idea
My requirement is that I need to take details from the database and display
it after formating and put it in a word document and then save it.
How to do the formatting I mean making the words in BOLD, changing font size
etc etc
how did U do a RTF file can I havea idea of it please
thanks
regards
Sanjeevi
----- Original Message -----
From: Jeffrey Diedrich <[EMAIL PROTECTED]>
To: JRun-Talk <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 2:24 AM
Subject: Re: how to format documents in JAVA
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_00DD_01C0D805.56086240
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> 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
> www.rtechsolutions.com
>
> >
> >
> >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]>
> >
> >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
>
> ------=_NextPart_000_00DD_01C0D805.56086240
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Couple of thoughts...any reason why you =
> couldn't=20
> format it as an HTML document since Word supports this? If there =
> is still=20
> 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=20
> alot of extra 'stuff' in their RTF documents, you should be able to =
> identify the=20
> tags that are actually necessary to do what you are wanting to do by =
> looking at=20
> the source of an RTF document in Wordpad (or whatever).</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Jeffrey Diedrich</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Realistic Technical =
> Solutions</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2><A=20
> href=3D"http://www.rtechsolutions.com">www.rtechsolutions.com</A></FONT><=
> /DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV>></DIV>
> <DIV>></DIV>
> <DIV>>Date: Mon, 29 May 2000 09:26:19 +0100<BR>>From: "Sanjeevi =
> Athreya"=20
> <<A =
> href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>><BR>>To=
> :=20
> <A=20
> href=3D"mailto:[EMAIL PROTECTED]">JRun-talk-list@houseoffu=
> sion.com</A><BR>>Subject:=20
> how to format documents in JAVA<BR>>Message-ID: <<A=20
> href=3D"004401bfc947$d28955e0$[EMAIL PROTECTED]"">mailto:004401bfc947$d28955e0$[EMAIL PROTECTED]">004401bfc9=
> 47$d28955e0$[EMAIL PROTECTED]</A>><BR>><BR>>Hi<BR>>&nb=
> sp; =20
> I need some help on formatting a Word Document .<BR>> I have =
> data in a=20
> database and I need to extract it and put it in a word<BR>>document=20
> <BR>>I also need to format it meaning<BR>>Alignment, Spacing, =
> Bold,=20
> Italics, font size and also Page Breaks etc.<BR>><BR>>How do I go =
> about=20
> doing this in java<BR>><BR>>any help will be=20
> appreciated<BR>>thanks<BR>>regards<BR>>Sanjeevi</DIV></BODY></HT=
> ML>
>
> ------=_NextPart_000_00DD_01C0D805.56086240--
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists