Personal tools
You are here: Home Forum Nice Office Access (NOA) How to remove all toolbars?

 • How to remove all toolbars?

Replies: 0   Views: 54
Up one level

 • How to remove all toolbars?

Posted by adamish at 2012-02-07 11:40:52
Greetings,

I'm having problems removing all toolbars. After I load a document then call the following two toolbars remain
- "find"
- the standard one (with styles, justification buttons etc)

officeFrame.getLayoutManager.hideAll()

I've also tried things like this out of desparation, but the toolbars are still shown.

for (String url : ILayouterManager.ALL_BAR_URLS) {
officeFrame.getLayoutManager.hideElement(url);
}

How can I discover the URL of the find toolbar and the standard one?

Also it seems the toolbars are somehow associated with the document, if I create a new document with getDocumentService().constructNewDocument(...) then no toolbars are shown...

Regards,

Adam.
adamish Member
Posts: 2

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: