Re: [iText-questions] Convert rtf,doc to PDF using iText .jar

2002-11-04 Thread David Thielen



Take a look at www.WindwardReports.com - it will do 
it for rtf to pdf, html, text

  - Original Message - 
  From: 
  namal ubh 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, November 04, 2002 7:57 
  AM
  Subject: [iText-questions] Convert 
  rtf,doc to PDF using iText .jar
  
  I want to convert rt f(Rich Text Format) and .doc in to PDF format.
  I'm reading the rtf file and keep the content in a string variable 
  using iText.jar i'm converting the the String variable in to PDF 
  problem is string variable content is not character type since it is RTF 
  (not like a text file) it 's a binary type the created  PDF 
  file print  with binary characters .
  how do i print the content of a rtf file to pdf ??
   
  thanks lot 
   
   
  
  
  Do you Yahoo!?HotJobs 
  - Search new jobs daily now


Re: [iText-questions] Convert rtf,doc to PDF using iText .jar

2002-11-05 Thread namal ubh


Question
I want to convert rt f(Rich Text Format) and .doc in to PDF format.
I'm reading the rtf file and keep the content in a string variable 
using iText.jar i'm converting the the String variable in to PDF 
problem is string variable content is not character type since it is RTF (not like a text file) it 's a binary type the created  PDF file print  with binary characters .
how do i print the content of a rtf file to pdf ??
 
thanks lot 
 
 
 
Take a look at www.WindwardReports.com - it will do it for rtf to pdf, html, text
 
--
Thanks for your response 
I want to do that using java without using a tool
 
 
 
 Get a bigger mailbox -- choose a size that fits your needs.

Re: [iText-questions] Convert rtf,doc to PDF using iText .jar

2002-11-05 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

namal ubh wrote:
> problem is string variable content is not character type since it is RTF
> (not like a text file) it 's a binary type the created  PDF file print
> with binary characters .
RTF is a text file. Only it contains additional formating information.

>
> how do i print the content of a rtf file to pdf ??
You'll have to parse the rtf file yourself. iText does not support
reading RTF files. You can then use iText to create the PDF but you'll
have to parse the RTF yourself.

Greetings,
Mark
- --
The cause of the problem is:
microelectronic Riemannian curved-space fault in write-only file system.

My GPG key is available at: http://www.edu.uni-klu.ac.at/~mhall/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBPce6uUks8txBCICQAQJusQf+KAbNZ0TmFCkJBlk8CwTDwyjtPAKZrcll
SWrhbfECmEKv+iW6eiU0BJudZDs2C8mDer+HQxG8iEs9p02/Axmkc/vP/XyIQVX0
fKnK/8W5x5I6TFcVTS8E9c9kOZ1eG26N9v4d126iXEhIMuuimvMr3w7FOttW8YL6
coUpVr+I6iRqdI25iL2DPtz0A9DYXOxkTUp1mvQozYdpXb51YiiSfw3r25utG5L0
T+8bC9lEZvFPg+sRTxCaMGmStpk5rSBHodmsG/9aYaoPrPytSS66PbAuUjYRnima
i2Qgt8wIMYTApCzJ9AjWLtKVfDGJJgVBFoej4kspe0m6+SbvGE90Nw==
=rkHq
-END PGP SIGNATURE-



---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Convert rtf,doc to PDF using iText .jar

2002-11-05 Thread Leonard Rosenthol
At 8:07 AM + 11/5/02, namal ubh wrote:

I want to do that using java without using a tool



	Then you are going to need to write an RTF parser, from which 
you will convert from the incoming RTF to either iText primatives or 
to iText XML.


Leonard
--
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-629-3700 (voice)
 215-629-0789 (fax)


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Convert rtf,doc to PDF using iText .jar

2002-11-05 Thread David Thielen
And trust me - it's a LOT of work and the rtf spec is not fully documented.

Out of curiosity, why not use www.WindwardReports.com?

thanks - dave


- Original Message -
From: "Leonard Rosenthol" <[EMAIL PROTECTED]>
To: "namal ubh" <[EMAIL PROTECTED]>; "David Thielen"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 5:07 AM
Subject: Re: [iText-questions] Convert rtf,doc to PDF using iText .jar


> At 8:07 AM + 11/5/02, namal ubh wrote:
> >I want to do that using java without using a tool
> >
>
> Then you are going to need to write an RTF parser, from which
> you will convert from the incoming RTF to either iText primatives or
> to iText XML.
>
>
> Leonard
> --
> --
-
> Leonard Rosenthol
<mailto:leonardr@;pdfsages.com>
> Chief Technical Officer  <http://www.pdfsages.com>
> PDF Sages, Inc.  215-629-3700 (voice)
>   215-629-0789 (fax)
>
>
> ---
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions