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. Paul On Sun, 03 Nov 2013 20:47:09 +0100 Mario Splivalo <ma...@splivalo.hr> 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 > achieved. > > 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. > > Mario > > P.S. I apologize if I posted this to the wrong mailinglist, please > redirect me if necessary. > > -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted