dcsimg
Getting Text from MS-Word Using JAKARTA - POI
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sudhakar_chavali
Posted On:   Friday, January 2, 2004 10:24 PM

Hi All,



Do anybody have idea to fetch the text from Microsoft word document using Jakarta Project POI?



Please post the example, or links to examples. if any body have related to it.



Thanks

Koundinya

Re: Getting Text from MS-Word Using JAKARTA - POI

Posted By:   Rizwan_Ahamed  
Posted On:   Thursday, February 12, 2004 10:26 PM

well i am new to jakarta-poi as well but then i think the process is below:


// load file system
try

{

DocumentInputStream stream = filesystem.createDocumentInputStream(documentName);

// process data from stream

}

catch (IOException e)

{}


POIFSReader reader = new POIFSReader();

// register for everything

reader.registerListener(aListener);

// stream opened for a particular file

POIFSReader.read(InputStream stream);


hope its helpful...if not please tell me more...anyway i am
having a question myself.

does anyone know how to create a table in MS-Word and write
into it from java. If yes please tell me the procedure.
its really urgent.

About | Sitemap | Contact