Re: [libreoffice-users] Editing contents of an ODS file...

2022-01-14 Thread Gilles Gravier
Merci Sophie!

So I played with that. But it happens that the content.xml file itself
is too badly corrupted for me to recover it. :(

Thanks! At least I learned how to unpack and ODF file... check the
content... and repack the file to a working version... But the content
was too damaged this time... I'll know next time.

Gilles

Le ven. 14 janv. 2022 à 18:29, sophi  a écrit :
>
> Hi Gilles,
> Le 14/01/2022 à 18:01, Gilles Gravier a écrit :
> > Hi!
> >
> > I have a broken ODS file. LibreOffice can't repair it.
> >
> > When opening the ODS file in an archiver I can see that the directory
> > META-INF contains a vastly corrupted file. The rest of the files
> > inside seem OK.
> >
> > So I'm tempted to remove the META-INF directory and see if I can open the 
> > file.
>
> you cannot remove it, it has to be there
> >
> > Unfortunately 7--zip let's me open the ODF file, and even extract its
> > contents... but not write the updated archive.
>
> See Regina's answer in this thread, and also her hint at the end:
> https://ask.libreoffice.org/t/how-can-i-uncompress-a-libreoffice-document-to-get-its-xml-internals-then-make-a-new-document-from-them/59721/11
>
> Cheers
> Sophie
>
> --
> Sophie Gautier so...@libreoffice.org
> GSM: +33683901545
> IRC: soph
> Foundation coordinator
> The Document Foundation
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy



-- 
Gilles Gravier  - gil...@gravier.org
GSM : +33618347147 and +41794728437
Skype : ggravier | PGP Key : 0xA610DB098DE6D026

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Editing contents of an ODS file...

2022-01-14 Thread sophi
Hi Gilles,
Le 14/01/2022 à 18:01, Gilles Gravier a écrit :
> Hi!
> 
> I have a broken ODS file. LibreOffice can't repair it.
> 
> When opening the ODS file in an archiver I can see that the directory
> META-INF contains a vastly corrupted file. The rest of the files
> inside seem OK.
> 
> So I'm tempted to remove the META-INF directory and see if I can open the 
> file.

you cannot remove it, it has to be there
> 
> Unfortunately 7--zip let's me open the ODF file, and even extract its
> contents... but not write the updated archive.

See Regina's answer in this thread, and also her hint at the end:
https://ask.libreoffice.org/t/how-can-i-uncompress-a-libreoffice-document-to-get-its-xml-internals-then-make-a-new-document-from-them/59721/11

Cheers
Sophie

-- 
Sophie Gautier so...@libreoffice.org
GSM: +33683901545
IRC: soph
Foundation coordinator
The Document Foundation

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


[libreoffice-users] Editing contents of an ODS file...

2022-01-14 Thread Gilles Gravier
Hi!

I have a broken ODS file. LibreOffice can't repair it.

When opening the ODS file in an archiver I can see that the directory
META-INF contains a vastly corrupted file. The rest of the files
inside seem OK.

So I'm tempted to remove the META-INF directory and see if I can open the file.

Unfortunately 7--zip let's me open the ODF file, and even extract its
contents... but not write the updated archive.

Any idea how I can do that?

Thanks!

Gilles

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy