To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=91510 Issue #|91510 Summary|load document as template: event OnLoadFinished instea |d OnCreate Component|api Version|OOo 2.3.1 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|jsc Reported by|clutz
------- Additional comments from [EMAIL PROTECTED] Wed Jul 9 11:37:13 +0000 2008 ------- If an existing document is loaded as template via desktop.loadComponentFromURL(...) (using the property asTemplate=true), I would expect to recieve an event OnCreate by the GlobalEventBroadcaster. But instead I get the events OnLoadFinished and a little bit later the event OnNew. Opening a document as template has the semantic of creating a new document and the fact that OnNew is sent proves my view. Another reason why the event OnLoadFinished is wrong there is because there is currently no way to figure out whether the document is loaded for editing or loaded as template. A document loaded as template should have an empty URL which could be checked, but unfortunately at the time, the OnLoadFinished event is sent, the URL is (still) not empty. According to the documentation of the event OnCreate I added in the wiki page http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Jobs/List_of_Supported_Events either the current bahaviour or my documentation is incorrect. So please fix this issue in the code or provide a correct specification of OnCreate/OnLoadFinished so that the wiki could be updated. --------------------------------------------------------------------- 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]
