Hi people, hi Frank,
as I'm not a blog-guy, I discovered (may be too late) Frank's entry on
GullFOSS
http://blogs.sun.com/GullFOSS/tags/base
These are some questions I had when reading the blog:
* concerning the script URI, have you reached a final conclusion here? I
agree with Frank that a adding a new value for the location parameter
isn't the best idea.
A suggestion: let's say we have a macro assigned to some event of a
command btn. inside a form.
vnd.sun.star.script:Standard.Module1.Main?language=Basic&location=document
Well, that's the way most users do things fast: just leave the default
names that OOo suggests.
This URI is ambiguous, it points to the Main subroutine in the Module1
of the Standard basic library, but WHERE? inside the form-document or
inside the main ODB document?
It will be very likely that users will have subroutines with the same
name in a form and in its parent ODB document. Without adding anything
new, wouldn't it be "logical" if the implementation looks for the macro
pointed to this URI using just the "parental hierarchy"?: first the
parent (of the parent of the parent ... ) of the control == the form
document, *then* its parent == the database document.
I think this approach will be "logical" to the user, without having to
change the URI schema
* second question, although we talk all the time here about "macros" (my
mistake also on my the report to issue 7612
http://www.openoffice.org/issues/show_bug.cgi?id=76129), will the
implementation support other scripting languages (and my personal
interest: NON scripting ones == Java)? I know that now in OOo embedding
Java and Python has to be done "by hand", so I won't ask you for this
feature ;-) , and I will keep doing it "by hand" (using
TransientDocumentsContentProvider for currently open docs.and
PackageContentProvider when they are closed), so creating the folders
won't be a problem, and using the API OOo will recognize them (no need
here even to touch the manifest);
but will the URIs be recognized by the new implementation (for example
"vnd.sun.star.script:MyJavaFolder.ar.com.arielconstenlahaile.MyPackage.myMethod?language=Java&location=document")?
Bye and thanks,
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]