[Gambas-user] Work with Open Office from Gambas

Nigel Verity nigelverity at ...67...
Tue Feb 25 12:55:53 CET 2014


Hi Alexey

It depends what you want to do.

You can open the OpenOffice/LibreOffice GUI using the Shell command with the appropriate parameter for the module you wish to use e.g:

libreoffice4.1 --writer

You can also call some OO/LO functions using the Shell command, which do not open the OO/LO user interface. For example you can convert document formats. The OO/LO documentation will explain the options and the syntax - use Google to find.

You can create template documents using OO/LO. If you save them in .fodt format (a derivative of XML) your Gambas program can scan the template for identifiers of your choice and then make substitutions. The result is a very professional-looking document, generated dynamically by Gambas.

Hope this is helpful.

Nige


 		 	   		  


More information about the User mailing list