To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=59047 Issue #:|59047 Summary:|Macros in a new document based on a template did not |work Component:|api Version:|OOo 2.0.1 Platform:|PC URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|sw Reported by:|thomaskrumbein
------- Additional comments from [EMAIL PROTECTED] Wed Dec 7 12:09:42 -0800 2005 ------- If a new document is produced based on a Template (i.e. *.ott) and template will have (Basic-) Macros inside, these Macros are not accessible before the new document has no URL (is stored). Try the following way: open a new Document (text). Write a short macro and store it in Module1, Standard library, inside the document. Store the document as *,ott (template), close it. Now open the template (*.ott) with a double-click on the name, an new untitled writer-document will be open. Try Extras - Makro - Makros ausführen... (sorry, just a german version) and the dialog will only display two Sections: MyMakros and OpenOffice.org Macros. Ther is no display of the document macros, therefor you cannot start it. Even if yo try to start it via a button or anything else, you will get an com.sun.star.uno.RuntimeExeption. Only way to access the macro is: Extras - Makro - Makros verwalten - OpenOffice.org Basic. In this dialog the document-Macros are accessible and you can push the button "execute". So it is not possible to start a macro in a document which was created via template and do not have a URL. This behavier is different to the 1.1.x line, where we do not have any problems on this. --------------------------------------------------------------------- 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]