Dear List:
I'm embedding OpenOffice in an applet using the OOoBean for this purpose.
When OO displays in the applet, I need that some gadgets be hidden. For
example, I need the menu bar to be hidden. I lookup in the OOoBean code, and
there they use the XLayoutManager interface to hide elements from the OO
display. They use the following code to hide the MenuBar:
xLayoutManager.hideElement( aResourceURL );
where aResourceURL is in the form: "private:resource/menubar/menubar"
consulting the IDL file for XLayoutManager, it saids that the URL must have the
following form:
"private:resource/$type/$name"
it is clear with the example above for the menubar. Where can I find the $type
and $name for other controls??, I need for example to hide the save button from
the main tool bar. Which will be the $type and $name for this button??
Another question will be, Is ok to use the LayoutManager interface for this
purpose? or do I have to use the Configuration service?? Or is there other way
to accomplish this??
By the way, Open Office is a great product, and all its control API is great
stuff too!!
Thank you in advance for your kind reply.
Marco Castillo
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]