Hi Frank,
Frank Schönheit - Sun Microsystems Germany escribió:
did you change something in 680m241, the current dev. snap.?
A CWS which I contributed to (basmgr03) has been integrated into m233,
and another one (dba24c) into m238. So in some sense: yes.
There ThisComponent does not work from the Basic IDE when the macro is
located outside a document == in the user's library:
* open a Writer doc
* open the basic IDE
* write a macro in any of the USER's libraries (NOT the doc's) like
Sub Main
oDoc = ThisComponent.CurrentController
End Sub
In previous versions, you could run this macro in/from the IDE.
ThisComponent will point to the Writer doc. NOW it returns null. To get
a valid reference you have to run the "outer"-macro from the Writer
doc's Tools - Macro - Run macro... menu
I remember having heard this from another source, too. Do you mind
submitting an issue? I suppose it might in fact have been /me
introducing this bug, with basmgr03. Will have a look into it.
Done
http://www.openoffice.org/issues/show_bug.cgi?id=85078
not so sure about Component - Subcomponent (framework - scripting ?)
Anyway I assigned it to fs
I added an extra comment:
IIRC ThisComponent could also get a NOT NULL reference to the BasicIDE
module, if it was the only component in the Desktop, now it does not.
which means I'm not so sure. Can anyone remember if this was true?
Testing now I do not find this feature in 2.3.1, but *IIRC*
ThisComponent pointed to BasicIDE :-(
Regards
Ariel.
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.ArielConstenlaHaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]