Layout elements

From NOA Documentation Wiki

Jump to: navigation, search

(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);
Personal tools