Tobias Krais wrote:
Hi Tuomas,
I'm totally newbie here, but really motivated one. ;)
I would appreciate a bit help here.
Same to me three weeks ago.
According to
http://www.openoffice.org/files/documents/25/2570/commandsReference.html
there should be a command named FormatMenu.
How about hiding a whole menu (e.g. Edit) instead of a menuitem. Is it
possible?
I haven't figured it out how, maybe something like:
xLayoutManager.hideElement(private:resource/menubar/menubar/EditMenu);
?
Tuomas
-
To
Thanks again. I guess I have to thank you many times in near future. ;)
But, new questions rises all the time:
Tobias Krais wrote:
If you want to remove a whole menu, use this:
-%-
/**
* This method removes the first menu from OpenOffice menubar.
* Changes are transient.
/default.xml
and e.g.
$OFFICE_DIR/share/config/soffice.cfg/modules/swriter/accelerator/en-US/default.xml)
for the whole OpenOffice but in template files there is only
/configuration2/menubar/menubar.xml)
Curious regards,
Tuomas Räsänen
Hi,
My goal is to create a non-modal dialog to replace default Styles and
Formatting - dialog.
MyDialog contains a listbox for styles just like the Style and
Formatting - dialog.
I would appreciate your opinion about the way I have done this dialog.
There is also a problem: this dialog