Thank you in advance.
Libre Office Calc Read & Write
- a_carignan
- User

- Posts: 98
- Joined: Sat Feb 21, 2009 2:01 am
- Location: Canada
Libre Office Calc Read & Write
I would like to create a software that would allow me to read and write in a LibreOfficeCalc file. I would like a simple and functional example or at least an explanation of how to do it.
Thank you in advance.

Thank you in advance.
- captain_skank
- Enthusiast

- Posts: 642
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: Libre Office Calc Read & Write
I think collectordave did some work on this, but can't seem to find the topic at the moment - so you could try serching the forum for his work.
Of the top of my head though, Libreoffice ( & openoffice ) documents are effectively containers which can be opened with 7zip etc and contain xml files ( i think ) which can be quite easily decoded.
Hope this helps.
cheers
Of the top of my head though, Libreoffice ( & openoffice ) documents are effectively containers which can be opened with 7zip etc and contain xml files ( i think ) which can be quite easily decoded.
Hope this helps.
cheers
-
collectordave
- Addict

- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Libre Office Calc Read & Write
Here is the link to the thread.http://www.purebasic.fr/english/viewtop ... 12&t=65415
Let me know if the link has stopped working.
regards
cd
Let me know if the link has stopped working.
regards
cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Re: Libre Office Calc Read & Write
Hi, collectordave. Thx for your great work, but is it possible to give access to an alternative link? Instead of : https://www.dropbox.com/s/2jfh2o3kudu3d ... e.zip?dl=0 . Sorry, but I don't use dropbox.Let me know if the link has stopped working
If not, it's ok but ...
... would be great !!!
Re: Libre Office Calc Read & Write
That link's real URL is -> https://www.dropbox.com/s/2jfh2o3kudu3d ... lcFile.zip
And it says the file was deleted.
And it says the file was deleted.
- NicTheQuick
- Addict

- Posts: 1536
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: Libre Office Calc Read & Write
Every LibreOffice file is just a ZIP with an OpenDocument structure. The content itself is within an XML file inside of that ZIP.
You can take a look here: http://docs.oasis-open.org/office/v1.2/ ... _826425813
From there on you can find the tag <office:spreadsheet>, then <table:table> and from there the cells and rows. It's quite easy.
You can take a look here: http://docs.oasis-open.org/office/v1.2/ ... _826425813
From there on you can find the tag <office:spreadsheet>, then <table:table> and from there the cells and rows. It's quite easy.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: Libre Office Calc Read & Write
Hi Nic,
Thx for the link. This seems quite a challenge. So, i guess i found a newer Sample from
collectordave here : http://www.mediafire.com/file/dszofwxlo ... e.zip/file
(Sat Oct 31, 2020 6:39 pm) I think, that will help me as a starterkit to use it with PB.
Thanks to collectordave!!! and thanks to you !!
Skiller
Thx for the link. This seems quite a challenge. So, i guess i found a newer Sample from
collectordave here : http://www.mediafire.com/file/dszofwxlo ... e.zip/file
(Sat Oct 31, 2020 6:39 pm) I think, that will help me as a starterkit to use it with PB.
Thanks to collectordave!!! and thanks to you !!
Skiller