这是indexloc提供的服务,不要输入任何密码
Skip to content
Jochen Staerk edited this page Dec 21, 2015 · 1 revision
			IDocument document=officeApplication.getDocumentService().loadDocument(officeFrame,this.url, descriptor);
			textDocument=(ITextDocument) document;

			frame.validate();

			if(officeFrame == null) {
				officeFrame = document.getFrame();
			}
			//			Now it is time to disable two commands in the frame
			officeFrame.disableDispatch(GlobalCommands.CLOSE_DOCUMENT);
			officeFrame.disableDispatch(GlobalCommands.QUIT_APPLICATION);
			officeFrame.updateDispatches();
Clone this wiki locally