Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | document does not enable save after making assign event change to it | ||
---|---|---|---|
Product: | General | Reporter: | robert.kinsella |
Component: | scripting | Assignee: | noel.power |
Status: | CLOSED FIXED | QA Contact: | issues@framework <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | 644 | ||
Target Milestone: | OOo 2.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
robert.kinsella
2003-03-04 18:25:53 UTC
Similar problem to 12040. The Assign dialogs have not marked the document as modified when a new binding is setup, because nothing has been saved to the document. Only when you go and choose Configure and save will you get the document modified and can then save the binding. Limitation of current implementation. requires_documentation This has actually been fixed in m5 and you do get the binding saved in the document without having to use the Tools/ Configure/ Menu -> Save Fixed this issue has not been fixed, the save option is not enabled after the user makes a change to the event binding for that document. When closing the document the suer does not get warned that unsaved changes have been made to the doucment. reopening issue. We could use XModifiable on the current document's XModel and just call setModified on it. Do this in the Star Basic code handling the OK button for the Assign to Event dialog. Noel - can you investigate. May not be fixed in this release, but we should know if above workaround is an option. Following code added to ScriptingBindingLibrary fixes problem: docModel = ThisComponent.CurrentController.getModel() docModel.setModified( True ) Added to end of following functions: sub AddEventToDocViaAPI sub RemoveEventFromDocViaAPI fixed fixed in SF ed-0.2 rc3 verifed fixed on Linux verified fixed - closing issue |