User Profile

Collapse

Profile Sidebar

Collapse
rupanu
rupanu
Last Activity: Apr 9 '07, 06:58 AM
Joined: Mar 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rupanu
    replied to Convert the .doc file into .txt file
    in Java
    Hello r035198x
    The above code is unable to read openoffice.org documents i.e Open Document Text(.odt) format files.Can You pleas tell me how to read odt documents,I mean are there other APIs available for that?Please reply....
    See more | Go to post

    Leave a comment:


  • rupanu
    replied to Convert the .doc file into .txt file
    in Java
    hi there,
    After trying with a few code snippets I found the following code working,but how do I read tables in the document???

    //CODE

    FileInputStream fis=new FileInputStream (filename);

    HWPFDocument doc=new HWPFDocument(fi s);

    String str="";

    Object[] textStack=doc.g etTextTable().g etTextPieces(). toArray();

    for (int...
    See more | Go to post

    Leave a comment:


  • rupanu
    replied to Convert the .doc file into .txt file
    in Java
    Hi r035198x,
    I have just joined this forum..
    I am using POI for converting doc to txt...but it reads/wites only first line of the text....I don't know where its going wrong...Can u help me out with some code snippets?
    Thanx rupanu...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...