Type: info
         Title: new UNDO API
     Posted by: frank.schoenh...@sun.com
      Affected: api
         TaskId: i33781
<http://www.openoffice.org/issues/show_bug.cgi?id=33781>
Effective from: CWS undoapi
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/undoapi>
    CWS status: new


*Summary*
--------
+ css.document.XUndoManagerSupplier
+ css.document.XUndoManager
+ css.document.XUndoManagerListener
+ css.document.UndoManagerEvent
+ css.document.UndoFailedException
+ css.document.UndoContextNotClosedException
+ css.document.EmptyUndoStackException

*Description*
-------------
CWS introduces some new API in the css.document module, which allows
access to a document's Undo/Redo stack. It allows adding own undo
actions to the stack and undo/redo of existing actions.

Also, it supports so-called Undo contexts, which encapsulate multiple
Undo actions, which then appear as a single Undo-able entry only. This
is especially interesting for code which does multiple programmatic
changes to a document. Enclosing those changes in an Undo context
means they all can be undone by the user with a single click only.

For details of the API, look at the autodoc-generated IDL reference,
once the CWS is integrated into MWS.


Send feedback to dev@api.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to