RE: protected word doc

2006-05-17 Thread Sushil Khekare
Cool. It works and also solved my problem thanks a lot Daniel. Sushil -Original Message- From: Daniel Noll [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 11:06 AM To: POI Users List Subject: Re: protected word doc Sushil Khekare wrote: > How to find out a document is encryp

Re: protected word doc

2006-05-17 Thread Daniel Noll
Sushil Khekare wrote: How to find out a document is encrypted using java. While using POI error is thrown at constructor level only so no way to use any method on the object of wordDocument or hwpfdocument. Here's one way: POIFSFileSystem fileSystem = // ... Entry summaryEntry = fileS

RE: protected word doc

2006-05-17 Thread Sushil Khekare
:42 AM To: POI Users List Subject: Re: protected word doc Sushil Khekare wrote: > when i try to extract text from microsoft word document POI goes out > of memory when actually memory is not so much consumed by jvm. Any > body knows how to solve this also is there any new version

Re: protected word doc

2006-05-17 Thread Daniel Noll
Sushil Khekare wrote: when i try to extract text from microsoft word document POI goes out of memory when actually memory is not so much consumed by jvm. Any body knows how to solve this also is there any new version of poi in pipeline. Code goes out of memory at this line byte[] tableStream =

RE: protected word doc

2006-05-17 Thread Birendar Waldiya
Try to user wd.remove() and sheet.remove() After every iteration !! -Original Message- From: Sushil Khekare [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 4:37 PM To: poi-user@jakarta.apache.org Subject: protected word doc when i try to extract text from microsoft word

protected word doc

2006-05-17 Thread Sushil Khekare
when i try to extract text from microsoft word document POI goes out of memory when actually memory is not so much consumed by jvm. Any body knows how to solve this also is there any new version of poi in pipeline. Code goes out of memory at this line byte[] tableStream = new byte[size]; the