Related: #i124384# Add since tag to Undo API IDL files

(cherry picked from commit e2fb6101543888977e882596ae64d854f1b09cb5)

Change-Id: I6ab35082503b506bd5d61af0b1ed67c662100716
This commit is contained in:
Ariel Constenla-Haile
2014-03-09 05:46:37 +00:00
committed by Caolán McNamara
parent f3a7250c3f
commit a842c6e7b3
8 changed files with 10 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ module com { module sun { module star { module document {
/** is raised when an operation is attemption at an XUndoManager which requires a non-empty stack /** is raised when an operation is attemption at an XUndoManager which requires a non-empty stack
of undo actions, and this requirement is not fullfilled. of undo actions, and this requirement is not fullfilled.
@since OOo 3.4
*/ */
exception EmptyUndoStackException : ::com::sun::star::util::InvalidStateException exception EmptyUndoStackException : ::com::sun::star::util::InvalidStateException
{ {

View File

@@ -28,6 +28,7 @@ module com { module sun { module star { module document {
/** is thrown when an operation is attempted at an XUndoManager which requires all undo /** is thrown when an operation is attempted at an XUndoManager which requires all undo
contexts to be closed, but this requirement is not fullfilled. contexts to be closed, but this requirement is not fullfilled.
@since OOo 3.4
*/ */
exception UndoContextNotClosedException : ::com::sun::star::util::InvalidStateException exception UndoContextNotClosedException : ::com::sun::star::util::InvalidStateException
{ {

View File

@@ -30,6 +30,7 @@ module com { module sun { module star { module document {
@see XUndoAction::undo @see XUndoAction::undo
@see XUndoManager::undo @see XUndoManager::undo
@since OOo 3.4
*/ */
exception UndoFailedException : ::com::sun::star::uno::Exception exception UndoFailedException : ::com::sun::star::uno::Exception
{ {

View File

@@ -31,6 +31,7 @@ module com { module sun { module star { module document {
@see XUndoManager @see XUndoManager
@see XUndoManagerListener @see XUndoManagerListener
@see XUndoAction @see XUndoAction
@since OOo 3.4
*/ */
struct UndoManagerEvent : ::com::sun::star::lang::EventObject struct UndoManagerEvent : ::com::sun::star::lang::EventObject
{ {

View File

@@ -28,6 +28,7 @@ module com { module sun { module star { module document {
/** represents a single (undoable) action on a document /** represents a single (undoable) action on a document
@since OOo 3.4
*/ */
interface XUndoAction interface XUndoAction
{ {

View File

@@ -66,6 +66,8 @@ interface XUndoManagerListener;
<p>An Undo manager can be locked and unlocked, using the XLockable::lock() and <p>An Undo manager can be locked and unlocked, using the XLockable::lock() and
XLockable::unlock() methods. When it is locked, then every attempt to add an undo action, or to XLockable::unlock() methods. When it is locked, then every attempt to add an undo action, or to
enter or leave an Undo context, will be silently ignored.</p> enter or leave an Undo context, will be silently ignored.</p>
@since OOo 3.4
*/ */
interface XUndoManager interface XUndoManager
{ {

View File

@@ -30,6 +30,7 @@ module com { module sun { module star { module document {
/** implemented by components which want to be notified of changes in the Undo/Redo stacks of an Undo manager. /** implemented by components which want to be notified of changes in the Undo/Redo stacks of an Undo manager.
@see XUndoManager @see XUndoManager
@since OOo 3.4
*/ */
interface XUndoManagerListener : ::com::sun::star::lang::XEventListener interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
{ {

View File

@@ -29,6 +29,8 @@ interface XUndoManager;
/** provides access to an XUndoManager. /** provides access to an XUndoManager.
@since OOo 3.4
*/ */
interface XUndoManagerSupplier interface XUndoManagerSupplier
{ {