Or www.WindwardReports.com

----- Original Message ----- 
From: "Rich Freedman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 9:09 AM
Subject: [iText-questions] RE: iText-questions - How to Convert ".doc" to
".pdf"


> Subbu,
>
> It seems to me that the problem is that you're attempting to treat
> a Microsoft Word .doc file as if it were a text file - which it is not.
> I would think that you would have to convert it to some intermediate
format
> before using itext to produce a .pdf.
>
> I'm fairly new to itext myself, so I'm not familiar with all aspects of
it,
> but I believe that itext handles rtf to pdf conversion.
>
> If that is so, you could look at OpenOffice as a way to convert .doc to
.rtf
> Take a look at www.openoffice.org, in particular, look at the OpenOffice
> api.
>
> =======================================
> Rich Freedman
> Senior Software Engineer
> Cross Current Corporation
> 100 Union Square Drive
> New Hope, PA 18938
> Email:  mailto:[EMAIL PROTECTED]
> Web:    http://www.CrossCurrent.com
> =======================================
>
>
>
> >Date: Mon, 28 Jul 2003 05:20:42 -0700 (PDT)
> >From: Mallela Siva Subrahmanyam <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: [iText-questions] How to Convert ".doc" to ".pdf"
> >
> >Hi,
> >
> >I am using the PDFWriter and Document classes of
> >iText.jar file and trying to convert a ".doc" file to
> >".pdf" format. I am able to fetch the data and put it
> >into a pdf file. But the ".doc" data being read
> >contains some formatting information that is being
> >appended to the content, in the beginnning and at the
> >end.
> >How to get rid of that code content in the PDF file
> >through java code?
> >I am trying this out as a stand alone API, which takes
> >the "Document File Name" as command line argument.
> >
> >I could successfully convert a ".txt" file into
> >".pdf".
> >
> >Also, can I insert a GIF into this PDF(just created)
> >in a page that contains a particular text String ?
> >
> >Please send me the code piece, as I badly need that.
> >
> >Attaching a copy of the code that I am currently
> >using.
> >Regards,
> >Subbu
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to