Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

Hi Mario,

I'm sure others on this list can advise you more completely, but I'll
have a quick stab at it. As I understand it, the LO document format is a
zipped file consisting of XML files for the contents. One way of
doing what you need should be to create a file with the layout you need
and some sample data, then save that. Then rename the file extension to
zip if need be, and open it in an archive manager. Extract the contents
to a working directory and examine the files. You should find one with
the sample data in XML format. You should be able to use that as a
template, and create a script or program to replace the sample data
with live data and re-zip the files into a working Calc file.

Hope this is what you were looking for.


On Sun, 03 Nov 2013 20:47:09 +0100
Mario Splivalo <> wrote:

Hi, all.

Once in the past I stumbled upon a blog where owner explained how one
can create a Calc document from the data that's in the XML file. I'm
not sure if XML contained only the data which then populated the Calc
template, or the whole Calc data was in that XML (not even sure if the
source was XML or was it some other human-readable file), but I
haven't been able to locate that blog ever since.

I'd appreciate any info or pointers on how above mentioned can be

I need to create several daily reports on some processes I'm
overseeing, and entering all that data into the Calc spreadsheet is
cumbersome - the report resembles of a tax-return/invoice sheet,
where various fields need to be populated - and I'm looking for a way
to automate this.


P.S. I apologize if I posted this to the wrong mailinglist, please
redirect me if necessary.

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.