|
Hi All,
There is any possibilities to read .rtf files using POI. I used POIFSReader to get the summary information from rtf files. I got error messages like this: "java.io.IOException: Invalid header signature; read 7015536635646467195, expected -2226271756974174256". How to resolve it. Regards, Suri. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ |
|
No. RTF is not an OLE 2 Compound Document Format (hence the header
error), nor is it a closed format, nor even binary and there are plenty of libraries that can read/write it. POI only covers "nitch" formats (OLE 2 Compound Document based). suri wrote: > Hi All, > > There is any possibilities to read .rtf files using POI. > > I used POIFSReader to get the summary information from rtf files. > I got error messages like this: > > "java.io.IOException: Invalid header signature; read > 7015536635646467195, expected -2226271756974174256". > > How to resolve it. > > > Regards, > Suri. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > Mailing List: http://jakarta.apache.org/site/mail2.html#poi > The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ |
|
Thanks andy.
Can anyone give me details of java libraries which can extract rtf files. Regards, Suri. On 7/25/05, [hidden email] <[hidden email]> wrote: > No. RTF is not an OLE 2 Compound Document Format (hence the header > error), nor is it a closed format, nor even binary and there are plenty > of libraries that can read/write it. POI only covers "nitch" formats > (OLE 2 Compound Document based). > > suri wrote: > > Hi All, > > > > There is any possibilities to read .rtf files using POI. > > > > I used POIFSReader to get the summary information from rtf files. > > I got error messages like this: > > > > "java.io.IOException: Invalid header signature; read > > 7015536635646467195, expected -2226271756974174256". > > > > How to resolve it. > > > > > > Regards, > > Suri. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > Mailing List: http://jakarta.apache.org/site/mail2.html#poi > > The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > Mailing List: http://jakarta.apache.org/site/mail2.html#poi > The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ |
|
Hi Suri,
Check this out: http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/rtf/RTFEditorKit.html Dmitriy suri <[hidden email]> wrote: Thanks andy. Can anyone give me details of java libraries which can extract rtf files. Regards, Suri. On 7/25/05, [hidden email] wrote: > No. RTF is not an OLE 2 Compound Document Format (hence the header > error), nor is it a closed format, nor even binary and there are plenty > of libraries that can read/write it. POI only covers "nitch" formats > (OLE 2 Compound Document based). > > suri wrote: > > Hi All, > > > > There is any possibilities to read .rtf files using POI. > > > > I used POIFSReader to get the summary information from rtf files. > > I got error messages like this: > > > > "java.io.IOException: Invalid header signature; read > > 7015536635646467195, expected -2226271756974174256". > > > > How to resolve it. > > > > > > Regards, > > Suri. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > Mailing List: http://jakarta.apache.org/site/mail2.html#poi > > The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > Mailing List: http://jakarta.apache.org/site/mail2.html#poi > The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
| Powered by Nabble | Edit this page |
