To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=86351
------- Additional comments from [EMAIL PROTECTED] Fri Feb 22 12:25:13 +0000 2008 ------- Means to load the document : String vUrl = com.sun.star.uri.ExternalUriReferenceTranslator.create(OoBootstrap.sComponentContext).translateToInternal(((File) pSrc).toURL().toExternalForm());//"file://".concat(((File) pSrc).toURL().toExternalForm().substring(5)); PropertyValue vProps[] = new PropertyValue[3]; vProps[0] = new PropertyValue(); vProps[0].Name = "Hidden"; vProps[0].Value = Boolean.TRUE; vProps[1] = new PropertyValue(); vProps[1].Name = "UpdateDocMode"; vProps[1].Value = new Short(UpdateDocMode.FULL_UPDATE); vProps[2] = new PropertyValue(); vProps[2].Name = "MacroExecutionMode"; vProps[2].Value = new Short(MacroExecMode.ALWAYS_EXECUTE_NO_WARN); Object vDocSrc = vCompLoader.loadComponentFromURL(vUrl, "_blank", 0, vProps); --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
