[Gambas-user] "big" projects in Gambas

Rob sourceforge-raindog2 at ...94...
Thu Feb 10 18:17:48 CET 2005


On Thursday 10 February 2005 11:27, Eilert wrote:
> Wow, how do you do that? Can you access OOo from Gambas? Or do
> you produce text files to be read and formatted from OOo?

Sorry to interject here, but I have looked into this myself and 
am curious about what HMB did as well.

Using the gb.compress and gb.xml components, I believe it is 
possible to construct or modify OOo documents, though it would 
require A LOT of code to do so.  There is a Perl module called 
OpenOffice::OODoc which I hope to use as a reference in writing 
a Gambas component to deal with OOo documents once Gambas 
supports writing components in Gambas.  (I'll likely write a set 
of classes to include in various projects before then, but 
ultimately it should be a component to help with version 
management.)

My own printing in Gambas has been very similar to my printing in 
VB... write a set of functions to maintain cursor position, 
handle printing text and boxes, etc. without having to have 
Draw.This and Draw.That in my business logic.  Several of the 
banking apps I have written required printing with consistent 
text positioning (for printing on forms) and thankfully, Gambas 
has proven to be up to the task.

Rob







More information about the User mailing list