[Gambas-devel] OpenOfice integration
David Villalobos Cambronero
david_villalobos_c at ...7...
Wed Apr 23 15:56:09 CEST 2008
Is that code open source, I mean the code you develop for your job?
Do you think is a good idea to make a component to deal with the the ODF?
Regards
David
----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Sent: Wednesday, April 23, 2008 7:49:25 AM
Subject: Re: [Gambas-devel] OpenOfice integration
On mercredi 23 avril 2008, David Villalobos Cambronero wrote:
> Hi all,
>
> Benoit, What is your idea for OpenOffice document generation, I mean, how
> do you think a document should be generated, I'm planning to try to learn
> the OASIS Standard, to try to do something for Gambas.
>
> Any idea to begin?
>
> Best regards
>
> David
>
"Open Office integration" is not really needed.
ODF files are just XML text files that you can process with standard text
routines.
For example, to generate Open Office text or spreadsheet documents, I do the
following:
First, I create a template file. Put in it some special markups where I want
to insert the data.
Then, each time I want to make a document, I do that:
- Unzip the template file.
- Replace the markups by the data in the content.xml file.
- Zip the result.
- That's done.
But we can imagine making a component that deals with that process.
The code already exists: it is located in the web platform I developed for my
job.
This web platform can generate OpenOffice text files, spreadsheet, convert
them to MS Word/Excel, and make PDF from that. It needs a virtual X11 server
(Xvfb) when OpenOffice must be run to do the conversions.
Regards,
--
Benoit Minisini
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the Devel
mailing list