Results 1 to 4 of 4

Thread: How to recover corrupted OOoWriter 1.9 files?

  1. #1
    Join Date
    Nov 2011
    Posts
    63

    How to recover corrupted OOoWriter 1.9 files?

    as the title of thread is saying what I am looking to ask you over here. I wanted to recover OOowriter 1.9 files. When I was trying to do the same I am getting below mentioned error message.’ Format error discovered in the file in sub-document content xml at 2,3440 (row,col)’ if you are having any solution to fix then post over here.

  2. #2
    Join Date
    Dec 2010
    Posts
    351

    Re: How to recover corrupted OOoWriter 1.9 files?

    The above mentioned file seems to be corrupted files. You can simply recover the data by making the copy of the file and you have to rename as a zip file. After that extract the zip file and you have to looking into the content.xml file. If you wanted text file only then it would be quite easy to recover. In case you will need formatting then it will be quite difficult to harder so best practicing is to take all the text from the content.xml and restyle the document from the beginning.

  3. #3
    Join Date
    Mar 2011
    Posts
    542

    Re: How to recover corrupted OOoWriter 1.9 files?

    Below mentioned is a shell script which would dumps the content without formatting to the text file. You can copy and paste it through OOo and reformat it. Now save the same as a new file. The below mentioned command will help you to resolve all the most common corruption issues.

    Code:
    #!/bin/bash 
    unzip -oq $1 -d recovery_$1   # Extract the file 
    tr "<" "\012" < recovery_$1/content.xml | grep ^text \ 
    | cut '-d>' -f2, | uniq > $1_content.txt
    To execute the shell by using below mentioned command.
    Code:
    sh [script name] [corrupted file]

  4. #4
    Join Date
    May 2011
    Posts
    523

    Re: How to recover corrupted OOoWriter 1.9 files?

    I was suffering from the above mentioned problem and I fixed the same by using below mentioned trick.

    You have to go for File and click on New and after that clicked on Text Document.

    Clicked on Insert button and inserted file which is having issue.

    It worked really great for me.

Similar Threads

  1. recover a corrupted pen drive through Dos prompt command
    By 2anrip in forum Hardware Peripherals
    Replies: 1
    Last Post: 06-12-2012, 03:17 PM
  2. How to recover corrupted XML file in OpenOffice?
    By Gowravaram in forum Windows Software
    Replies: 5
    Last Post: 19-02-2012, 01:33 PM
  3. Recover Corrupted PowerPoint File
    By SpearMan in forum Tips & Tweaks
    Replies: 4
    Last Post: 26-02-2011, 01:05 PM
  4. How to recover corrupted pictures
    By Mishra S in forum Windows Software
    Replies: 6
    Last Post: 17-01-2011, 06:47 PM
  5. Replies: 2
    Last Post: 10-06-2009, 11:16 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,112,931.99600 seconds with 17 queries