corrupted files

Talk about anything at all....
Post Reply
vaikz
Posts: 1
Joined: Fri Nov 23, 2007 10:31 am

corrupted files

Post by vaikz »

Hi, My HD partition table failed or corrupted. Then I did a data/file recovery for a particular file which is from calc. Fortunately I was able to recover it but I cant opened it. It text file is corrupted. It said to opened a language or something but I dont which one to open. What should I do.
User avatar
r4zoli
Volunteer
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: corrupted files

Post by r4zoli »

Your OpenOffice.org recognised your table file as a text file and tried to open in Writer.
First thing make a copy from damaged file, and try to repair the copy.
If you see into a *.ods file with some zipper (OOo files are packages with zip), you could see a structure:
Directories:
Configurations2
META-INF
Thumbnails

Files:
content.xml
meta.xml
mimetype
settings.xml
styles.xml

The content.xml consist your data.

Easiest way to see it rename file extension from .ods to zip, you could open in any zipper.

Copy out, content.xml from damaged file.
Create new empty file.
Replace copied out content.xml into new file, name back .ods.
I hope it will help.
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
Post Reply