To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=71860 Issue #|71860 Summary|implement an API for operating on a living alive form Component|Database access Version|current Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|TASK Priority|P3 Subcomponent|none Assigned to|fs Reported by|fs
------- Additional comments from [EMAIL PROTECTED] Wed Nov 22 06:57:00 -0800 2006 ------- There currently is no API for operating on a alive form (that is a logical form in a document, which is loaded, has controls, and so on). This makes it hard to access some functionality in scripts. For instance, imagine a script which wants to save the potentially modified current record. It must - determine whether the actual control in the document view is modified - if so, commit the control or its model (depending on which supports the XBoundComponent interface) - determine whether the current record in the form is modified - if not, exit. - if yes, determine whether the form is currently positioned on the insertion row - if so, call XResultSetUpdate.insertRow - if not, call XResultSetUpdate.updateRow Those steps are laborious and cumbersome to implement, not to mention that there currently is not even an API access to the current control in the document view. A lot of other functionality (nearly everything which is available in the form navigation toolbar) suffers form the same problem: Implementing it properly, using the API only, is difficult, up to impossible. We will implement a dedicated API which provides an easy access to 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]
