To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=82287 Issue #|82287 Summary|Can not create New Document based on a named Template |(without knowing its URL) Component|framework Version|OOo 2.3 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tm Reported by|mchris
------- Additional comments from [EMAIL PROTECTED] Fri Oct 5 11:24:18 +0000 2007 ------- The following code is supposed to create a new Writer document based on a custom "some_template" Template on "My Templates" template folder: Sub createNewDoc Dim md(2) as New com.sun.star.beans.PropertyValue md(0).Name="TemplateName" md(0).Value="some_template" md(1).Name="TemplateRegionName" md(1).Value="My Templates" md(2).Name="AsTemplate" md(2).Value=TRUE StarDesktop.loadComponentFromURL("private:factory/swriter","_blank",0,md) End Sub But it creates a new document based on default template. --------------------------------------------------------------------- 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]