One more (hopefully) quick question... I'm trying to open a file in Author mode from Java. I see that the open() function on AuthorWorkspaceAccess is deprecated, which led me to Workspace.open(). This allows me to pass in a second parameter (besides the URL to the file) called imposedPage, which has the description: The imposed page for opening the URL. Does this allow me to specify that it should be opened in Author mode? If so, what string should I pass in there and is there a constant somewhere that I can use instead? If not, how would you suggest opening an XML file in Author mode? Here is the code I'm firing from inside an overriden doOperation() method.
Code: Select all