Hello,
  use the following code and extract
HWPFDocument doc = new HWPFDocument(fin);
  Range range = doc.getRange();
   int totParagraphs = range.numParagraphs();
for (int i = 0; i < totParagraphs; i++) {
     Paragraph para = range.getParagraph(i);
get text run from para and then get text and properties from run
}
prakash jaya <[EMAIL PROTECTED]> wrote:

hello friend good morning,
i am getting text from the powerpoint 
presentations using the powerpointextractor class of poi.but how to get 
text from MS word files.i run HWPFDocument.java class.In the specification 
it takes two aruments(one is sorce file,another is destination file).it does 
not give any result & also it does not create any destination file.can u plz 
give solution this problem.i would be thankful if u give solution.

_________________________________________________________________
Spice up your IM conversations. New colourful, animated emoticons. Go 
chatting! http://server1.msn.co.in/SP05/emoticons/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/


                
---------------------------------
 Enjoy this Diwali with Y! India Click here

Reply via email to