opendocument

How do I get files in my own file format to have its own dynamic icon?

Our application has a file format similar to the OpenDocument file format (see http://en.wikipedia.org/wiki/OpenDocument) - i.e. zipped with a manifest file, a thumbnail image, etc. I notice that OpenOffice files have a preview image of the Open Office file as their icons, both in Windows and in Linux. Is there some way to accomplish th...

exporting mysql data to ODF with php

Hello, I would like to know if someone triend exporting data from MySQL to an ODF format ? Any information / documentation would be very much appreciated. I am going to try to export a MySQL result set to ODF spreadsheet if possible. ...

Insights on how to get celltext with linebreaks from a spreadsheet to a XML

So, I'm trying to get the content from a cell in an ODS spreadsheet. I'm doing something like: <xsl:value-of select="./table:table-cell[6]/text:p/text()" disable-output-escaping="yes"/> The nasty point is that the content of my table-cell have many line breaks and my code can't get to the full text =/ I also tried many variations ...

Generate ODT documents with dynamic images in PHP

I maintain a couple of web databases based on PHP and mySQL on a shared hosting package. The databases have a mechanism for the user to upload OpenOffice documents with placeholders: [person.name] [person.address] [person.postcode] I then use this great PHP tool to run through the OpenOffice document and insert values from the databas...

Supporting a subset of ODF in a .net application.

I'm building a simple CMS for an ASP.net-based website and would like to store the site content in files that use a subset of the ODF file format. Ideally, the site should be able to save the content created in a format that any ODF-compliant editor can open and edit. It should also be able to open any ODF compliant file and load it if...

Library to edit odt documents in php

I try to edit ODT-documents programmaticly in PHP. In fact I just want to do some text replacement and adding new rows in a table. I know that a normal ODF document is an archive containing XML-files. But before I reinvent the wheel: is there any library which does most of the tasks? Or should I just parse the XML-file in a DOM-parser a...

I want to write multiple images to an odt file either in python or php

I want to write multiple image files to a odt file. I will be specifying a dir and the script will take it from there thru a loop. But where do i start? I have never done anything like this before! I found this python code, which can convert html 2 python... so we can parse an html first and then call this one. But there is no reference...

How do I write a Microsoft Word/Office Open XML document using Perl?

I have written a Perl script that reads some data and generates an OpenOffice Writer/OpenDocument file for that data. Can I also construct a Microsoft Word/Office Open XML document? ...

How to generate ODF charts with Perl

How to create Open Document Format spreadsheet with charts using Perl? ...

Populate a QTextDocument from a .odt file

Hi, I am writing a rich text editor using C++ and Qt. For now, I would like it to support (at least) the .odt format. I found QTextDocumentWriter for writing the contents of the QTextDocument to a file, but I can't seem to find anything to read that back into the QTextDocument, which obviously makes saving it sort of useless in the firs...