这是indexloc提供的服务,不要输入任何密码
Skip to content
Jochen Staerk edited this page Dec 21, 2015 · 1 revision

(Source: http://ubion.ion.ag/mainForumFolder/noa_forum/0070?b_start:int=0#0012)

You can hide all "Layout elements" by using

			officeFrame = officeApplication.getDesktopService().constructNewOfficeFrame(panel_1);
			officeApplication.getDocumentService().constructNewDocument(officeFrame, IDocument.WRITER, DocumentDescriptor.DEFAULT);
			frame.validate();
			
			layoutManager.hideAll();

But you can also selectively hide e.g. Menu bars by using layoutManager's hideElement(String) Method like

layoutManager.hideElement(layoutManager.URL_MENUBAR);
Clone this wiki locally