Am Sonntag, den 20.05.2007, 20:52 +0000 schrieb Fabian
Braennstroem:
> Hi,
> sorry, me again ...
> is it the wrong group for asking such questions or
is it
> just a pretty stupid question?
Maybe your question isn't specific enough. And it is weekend
...
> * Fabian Braennstroem <f.braennstroem gmx.de> wrote:
> > Hi,
> >
> > I would like to write selected columns of
oocalc in a
> > defined file using the csv format. Ideally I
would like
> > to do it using python, but starbasic is
probably a bit
> > easier.
Exporting to CSV is described in the tutorial for BASIC
IIRC.
The tutorial I'm talking about is the old one for SO5.2:
http://api.openoffice.org/basic/man/tutorial/tutorial.p
df
> > After the 'export' I would like to
automatically
> > run an external application. I actually know,
how to run
> > external programs in python, but in starbasic
I have no
> > clue.
For BASIC you'd use the "shell()"-command. Open
the BASIC IDE, type
shell and hit the F1 key, there you can read about what
parameters it
uses.
A big bunch of useful links can be found there:
http://development
.openoffice.org/
Some examples in Python and the impressing work of Danny
Brewer and
Paolo Mantovani:
http://c
odesnippets.services.openoffice.org/
http://www.ooomacros.org
http://www.paolo-mant
ovani.org/
Have fun,
Marc
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|