Flisol 2007 in Guadalajara Part I


So I participated in the FLISOL 2007 event in LinuxCabal. My talk was about development of extensions in Linux. The talk was pretty good, but I guess the audience was too much of a newbie to connect with the talk. My talk was pretty technical yet it was just a descriptive talk, i didnt got into specifics of the development of extensions in OpenOffice.org (spanish).The talk guide the audience throught UI of OpenOffice.org to use the macros and the different bindings to languages that UNO support.I showed the file structure of OpenOffice.org to let users know how to load the code either locally or remotely.Here is an example in Python:

import unolocalContext = uno.getComponentContext()resolver = localContext.ServiceManager.createInstanceWithContext(                                          "com.sun.star.bridge.UnoUrlResolver", localContext )ctx = resolver.resolve( "uno:socket, host=localhost,                                                   port=2002;urp;StarOffice.ComponentContext" )

and how to add Python from the command line:

>> /opt/openoffice.org2.2/program/unopkg add Wavelet.uno.zip> > /opt/openoffice.org2.2/program/unopkg remove Wavelet.uno.zip>

Finally I gave the description of the IDL reference in OpenOffice.org and how the interfaces interact with uno.Unfortunately there were 2 things that went wrong, one is that OOo wouldnt show the IDE for Basic, and the samples I played around about the language which was ok in a sense since I wouldnt be able to finalize my presentation.I put some code in basic, difference between a plain script in Basic and a more powerful script with connectivity to API.

Parsing XML with OOoBasic