Page 1 of 1
[Solved] OpenOffice.org BASIC manual
Posted: Tue Jun 23, 2009 1:10 pm
by Ponny
Kokodak
I'm searching for book - manual - user guide for openoffice basic. I found just one in Amazon, but I can't see it inside and I can't see if is this book good for me. I need something for begginers. With simply explanation for sintax and all comands used in it.
Nice rainy day.
Ponny
Re: Openoofice basic manual
Posted: Tue Jun 23, 2009 1:28 pm
by TheGurkha
Hi and Welcome to the forum.
Have you reviewed the free stuff first?
OpenOffice.org 3 User Guides.
| Edit: Doh - just realised you mean the BASIC language and not 'basic usage of OOo'. |
Re: Openoofice basic manual
Posted: Tue Jun 23, 2009 1:34 pm
by r4zoli
Re: OpenOffice basic manual
Posted: Tue Jun 23, 2009 1:36 pm
by TheGurkha
And r4zoli beat me to it...
Re: OpenOffice BASIC manual
Posted: Wed Jun 24, 2009 12:33 pm
by Ponny
Yes, I need manual for Basic language for macros in openoffice.
Yes I have reviewed "OpenOffice.org 3 User Guides".
But I want something in real book - in material form.
In net user guides I can't find this: Function for storing selection into a variable. In microsoft word 6 wordbasic, this function is "Selection$()". Whole line is then: "a$ = Selection$()".
mijav
Ponny
Re: OpenOffice BASIC manual
Posted: Wed Jun 24, 2009 1:02 pm
by r4zoli
But I want something in real book - in material form.
If you carefully check Basic Guide wiki page you can find a link to PDF version and if you print it out, book is ready.
Another source what yuo can use for programing OOo the
OpenOffice.org Developer's Guide
Re: OpenOffice BASIC manual
Posted: Wed Jun 24, 2009 2:40 pm
by FJCC
I think that Andrew Pitonyak's book might be what you are looking for. He has a web
site with a long PDF document (PDF English Macro Document) that will give you a good idea of his style. The OOoBasic language is pretty simple and well explained in the guide you already have. The API used to interact with documents is far more difficult and I think it is that you want to understand. For example, to get the text of a single selected region in a Writer document, you can use this code:
Code: Select all
Doc = ThisComponent
Selections = Doc.CurrentSelection
FirstRegion = Selections.getByIndex(0)
TextString = FirstRegion.String
That doesn't really use any Basic function other than assigning objects to variables, except the use of the ThisComponent variable that is peculiar to Basic. The code would look much the same in Python.