On Mon, Jan 31, 2005 at 07:21:37AM -0800, Sunburned Surveyor wrote:
> > Where can I find reference documentation for form object methods?
> >
> > E.g. if I am writing some OO Basic code to handle an event function
> > for a control (like a Text Field) how do I know what methods I call to
> > get access to the control and then what methods are available to get
> > and set the value of the control itself.
> >
> > I've found the "Help about OpenOffice.org Basic" in the help system (I
> > missed it originally, I hadn't seen the pull down menu it is on) but
> > this only documents the language itself and what one might call the
> > standard libraries.
> >
> > I have the SDK but can't find reference documentation for OO Basic in
> > there.
> I've been looking for that to Chris. As far as I know theres only 2
> places to look.
>
> The OpenOffice API site:
> http://api.openoffice.org/
>
> The Developers Guide - Chapter 13 (Forms)
> http://api.openoffice.org/docs/DevelopersGuide/Forms/Forms.htm
>
Neither of these addresses the fundamental question I have.
They both document the system very fully *except* for the events
'interface' (if you can call it that).
I'm used to a system where, when you connect a macro to an event, it
tells you what objects are available to use at that point. You don't
have to go and 'find' the objects, the object variables are there,
ready to use.
It works the way I'm describing in Rekall and in Knoda (using Python)
and in MS Access.
All the OOo documentation seems to assume that the whole thing has
been written as a OOo Basic application. I don't want to do this, I
have created the form and controls from Writer without writing any
code, I now just want to write some macros for the controls on the
form.
I'm happy to help with a bit of documentation if you want, however I
still don't understand where to find the information! :-)
--
Chris Green ([EMAIL PROTECTED])
"Never ascribe to malice that which can be explained by incompetence."
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]