You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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();