Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: document ::

interface XUndoAction
Description
represents a single (undoable) action on a document

Methods' Summary
undo reverts the action represented by the instance  
redo repeats the action represented by the instance, after it had previously been reverted.  
Attributes' Summary
Title is the human-readable, localized description of the action.  
Methods' Details
undo
void
undo()
raises( UndoFailedException );

Description
reverts the action represented by the instance
Throws
UndoFailedException if reverting the action failed. In this case, the caller should assume that this is a permanent failure, and take appropriate action, such as discarding the XUndoAction instance, and any possibly depending instances.
redo
void
redo()
raises( UndoFailedException );

Description
repeats the action represented by the instance, after it had previously been reverted.
Throws
UndoFailedException if repeating the action failed. In this case, the caller should assume that this is a permanent failure, and take appropriate action, such as discarding the XUndoAction instance, and any possibly depending instances.
Attributes' Details
Title
[ readonly ] string Title;
Description
is the human-readable, localized description of the action.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.