[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 4 commits - offapi/com offapi/type_reference
Ariel Constenla-Haile
arielch at apache.org
Sat Mar 8 22:07:17 PST 2014
offapi/com/sun/star/document/EmptyUndoStackException.idl | 13 +-----
offapi/com/sun/star/document/UndoContextNotClosedException.idl | 13 +-----
offapi/com/sun/star/document/UndoFailedException.idl | 13 +-----
offapi/com/sun/star/document/UndoManagerEvent.idl | 13 +-----
offapi/com/sun/star/document/XUndoAction.idl | 13 +-----
offapi/com/sun/star/document/XUndoManager.idl | 20 +++-------
offapi/com/sun/star/document/XUndoManagerListener.idl | 13 +-----
offapi/com/sun/star/document/XUndoManagerSupplier.idl | 16 ++------
offapi/type_reference/typelibrary_history.txt | 3 +
offapi/type_reference/types.rdb |binary
10 files changed, 25 insertions(+), 92 deletions(-)
New commits:
commit 8242e5eed90db471b5dbe37a6bf03e96988ec26d
Author: Ariel Constenla-Haile <arielch at apache.org>
Date: Sun Mar 9 05:47:10 2014 +0000
Do not display heading in the IDL short description
diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl
index c2e6b13..e70fc3b 100644
--- a/offapi/com/sun/star/document/XUndoManager.idl
+++ b/offapi/com/sun/star/document/XUndoManager.idl
@@ -37,7 +37,7 @@ interface XUndoAction;
interface XUndoManagerListener;
/** provides access to the undo/redo stacks of a document
-
+ <p></p>
<h3>Undo</h3>
<p>Changes to a document usually result in recording of information how to undo those changes, if desired. A so-called
undo action records the information how to undo a single change. Undo actions are maintained in a stack, so that
commit 3c6c05b09ab858ed23797cff13894138e5243d92
Author: Ariel Constenla-Haile <arielch at apache.org>
Date: Sun Mar 9 05:47:02 2014 +0000
Remove useless comments
diff --git a/offapi/com/sun/star/document/EmptyUndoStackException.idl b/offapi/com/sun/star/document/EmptyUndoStackException.idl
index bfdda63..aa0e639 100644
--- a/offapi/com/sun/star/document/EmptyUndoStackException.idl
+++ b/offapi/com/sun/star/document/EmptyUndoStackException.idl
@@ -19,19 +19,13 @@
*
*************************************************************/
-
-
#ifndef __com_sun_star_document_EmptyUndoStackException_idl__
#define __com_sun_star_document_EmptyUndoStackException_idl__
#include <com/sun/star/util/InvalidStateException.idl>
-//==================================================================================================================
-
module com { module sun { module star { module document {
-//==================================================================================================================
-
/** 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.
@since OpenOffice 3.4
@@ -40,10 +34,6 @@ exception EmptyUndoStackException : ::com::sun::star::util::InvalidStateExceptio
{
};
-//==================================================================================================================
-
}; }; }; };
-//==================================================================================================================
-
#endif
diff --git a/offapi/com/sun/star/document/UndoContextNotClosedException.idl b/offapi/com/sun/star/document/UndoContextNotClosedException.idl
index 1cad848..4e22b21 100644
--- a/offapi/com/sun/star/document/UndoContextNotClosedException.idl
+++ b/offapi/com/sun/star/document/UndoContextNotClosedException.idl
@@ -19,19 +19,13 @@
*
*************************************************************/
-
-
#ifndef __com_sun_star_document_UndoContextNotClosedException_idl__
#define __com_sun_star_document_UndoContextNotClosedException_idl__
#include <com/sun/star/util/InvalidStateException.idl>
-//==================================================================================================================
-
module com { module sun { module star { module document {
-//==================================================================================================================
-
/** is thrown when an operation is attempted at an <type>XUndoManager</type> which requires all undo
contexts to be closed, but this requirement is not fullfilled.
@since OpenOffice 3.4
@@ -40,10 +34,6 @@ exception UndoContextNotClosedException : ::com::sun::star::util::InvalidStateEx
{
};
-//==================================================================================================================
-
}; }; }; };
-//==================================================================================================================
-
#endif
diff --git a/offapi/com/sun/star/document/UndoFailedException.idl b/offapi/com/sun/star/document/UndoFailedException.idl
index 4907278..40d78c1 100644
--- a/offapi/com/sun/star/document/UndoFailedException.idl
+++ b/offapi/com/sun/star/document/UndoFailedException.idl
@@ -19,19 +19,13 @@
*
*************************************************************/
-
-
#ifndef __com_sun_star_document_UndoFailedException_idl__
#define __com_sun_star_document_UndoFailedException_idl__
#include <com/sun/star/uno/Exception.idl>
-//==================================================================================================================
-
module com { module sun { module star { module document {
-//==================================================================================================================
-
/** thrown when reverting to re-applying an undoable action fails.
@see XUndoAction::undo
@@ -45,10 +39,6 @@ exception UndoFailedException : ::com::sun::star::uno::Exception
any Reason;
};
-//==================================================================================================================
-
}; }; }; };
-//==================================================================================================================
-
#endif
diff --git a/offapi/com/sun/star/document/UndoManagerEvent.idl b/offapi/com/sun/star/document/UndoManagerEvent.idl
index bcce21c..11e27a5 100644
--- a/offapi/com/sun/star/document/UndoManagerEvent.idl
+++ b/offapi/com/sun/star/document/UndoManagerEvent.idl
@@ -19,19 +19,13 @@
*
*************************************************************/
-
-
#ifndef __com_sun_star_document_UndoManagerEvent_idl__
#define __com_sun_star_document_UndoManagerEvent_idl__
#include <com/sun/star/lang/EventObject.idl>
-//==================================================================================================================
-
module com { module sun { module star { module document {
-//==================================================================================================================
-
/** is an event sent by an <type>XUndoManager</type> implementation when the Undo/Redo stacks of the manager are
modified.
@see XUndoManager
@@ -52,10 +46,6 @@ struct UndoManagerEvent : ::com::sun::star::lang::EventObject
long UndoContextDepth;
};
-//==================================================================================================================
-
}; }; }; };
-//==================================================================================================================
-
#endif
diff --git a/offapi/com/sun/star/document/XUndoAction.idl b/offapi/com/sun/star/document/XUndoAction.idl
index cf77b90..9833992 100644
--- a/offapi/com/sun/star/document/XUndoAction.idl
+++ b/offapi/com/sun/star/document/XUndoAction.idl
@@ -19,20 +19,14 @@
*
*************************************************************/
-
-
#ifndef __com_sun_star_document_XUndoAction_idl__
#define __com_sun_star_document_XUndoAction_idl__
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/document/UndoFailedException.idl>
-//==================================================================================================================
-
module com { module sun { module star { module document {
-//==================================================================================================================
-
/** represents a single (undoable) action on a document
@since OpenOffice 3.4
*/
@@ -65,10 +59,6 @@ interface XUndoAction
[attribute, readonly] string Title;
};
-//==================================================================================================================
-
}; }; }; };
-//==================================================================================================================
-
#endif
diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl
index 32dee03..c2e6b13 100644
--- a/offapi/com/sun/star/document/XUndoManager.idl
+++ b/offapi/com/sun/star/document/XUndoManager.idl
@@ -19,8 +19,6 @@
*
*************************************************************/
-
-
#ifndef __com_sun_star_document_XUndoManager_idl__
#define __com_sun_star_document_XUndoManager_idl__
@@ -33,15 +31,11 @@
#include <com/sun/star/lang/IllegalArgumentException.idl>
#include <com/sun/star/lang/WrappedTargetException.idl>
-//==================================================================================================================
-
module com { module sun { module star { module document {
interface XUndoAction;
interface XUndoManagerListener;
-//==================================================================================================================
-
/** provides access to the undo/redo stacks of a document
<h3>Undo</h3>
@@ -327,10 +321,6 @@ interface XUndoManager
);
};
-//==================================================================================================================
-
}; }; }; };
-//==================================================================================================================
-
#endif
diff --git a/offapi/com/sun/star/document/XUndoManagerListener.idl b/offapi/com/sun/star/document/XUndoManagerListener.idl
index 4e5bfdb..dc18a41 100644
--- a/offapi/com/sun/star/document/XUndoManagerListener.idl
+++ b/offapi/com/sun/star/document/XUndoManagerListener.idl
@@ -19,20 +19,14 @@
*
*************************************************************/
-
-
#ifndef __com_sun_star_document_XUndoManagerListener_idl__
#define __com_sun_star_document_XUndoManagerListener_idl__
#include <com/sun/star/document/UndoManagerEvent.idl>
#include <com/sun/star/lang/XEventListener.idl>
-//==================================================================================================================
-
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.
@see XUndoManager
@@ -133,10 +127,6 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
void cancelledContext( [in] UndoManagerEvent i_event );
};
-//==================================================================================================================
-
}; }; }; };
-//==================================================================================================================
-
#endif
diff --git a/offapi/com/sun/star/document/XUndoManagerSupplier.idl b/offapi/com/sun/star/document/XUndoManagerSupplier.idl
index fb4cc81..5c3b872 100644
--- a/offapi/com/sun/star/document/XUndoManagerSupplier.idl
+++ b/offapi/com/sun/star/document/XUndoManagerSupplier.idl
@@ -19,21 +19,15 @@
*
*************************************************************/
-
-
#ifndef __com_sun_star_document_XUndoManagerSupplier_idl__
#define __com_sun_star_document_XUndoManagerSupplier_idl__
#include <com/sun/star/uno/XInterface.idl>
-//==================================================================================================================
-
module com { module sun { module star { module document {
interface XUndoManager;
-//==================================================================================================================
-
/** provides access to an XUndoManager.
@since OpenOffice 3.4
@@ -45,10 +39,6 @@ interface XUndoManagerSupplier
XUndoManager getUndoManager();
};
-//==================================================================================================================
-
}; }; }; };
-//==================================================================================================================
-
#endif
commit b9922296785a14d97dfc6f0b5be33b4fb750a598
Author: Ariel Constenla-Haile <arielch at apache.org>
Date: Sun Mar 9 05:46:51 2014 +0000
i124385 - [API] Unpublish the Undo API
diff --git a/offapi/com/sun/star/document/EmptyUndoStackException.idl b/offapi/com/sun/star/document/EmptyUndoStackException.idl
index df2a68e..bfdda63 100644
--- a/offapi/com/sun/star/document/EmptyUndoStackException.idl
+++ b/offapi/com/sun/star/document/EmptyUndoStackException.idl
@@ -36,7 +36,7 @@ module com { module sun { module star { module document {
of undo actions, and this requirement is not fullfilled.
@since OpenOffice 3.4
*/
-published exception EmptyUndoStackException : ::com::sun::star::util::InvalidStateException
+exception EmptyUndoStackException : ::com::sun::star::util::InvalidStateException
{
};
diff --git a/offapi/com/sun/star/document/UndoContextNotClosedException.idl b/offapi/com/sun/star/document/UndoContextNotClosedException.idl
index 0c4b9ee..1cad848 100644
--- a/offapi/com/sun/star/document/UndoContextNotClosedException.idl
+++ b/offapi/com/sun/star/document/UndoContextNotClosedException.idl
@@ -36,7 +36,7 @@ module com { module sun { module star { module document {
contexts to be closed, but this requirement is not fullfilled.
@since OpenOffice 3.4
*/
-published exception UndoContextNotClosedException : ::com::sun::star::util::InvalidStateException
+exception UndoContextNotClosedException : ::com::sun::star::util::InvalidStateException
{
};
diff --git a/offapi/com/sun/star/document/UndoFailedException.idl b/offapi/com/sun/star/document/UndoFailedException.idl
index b4f1665..4907278 100644
--- a/offapi/com/sun/star/document/UndoFailedException.idl
+++ b/offapi/com/sun/star/document/UndoFailedException.idl
@@ -38,7 +38,7 @@ module com { module sun { module star { module document {
@see XUndoManager::undo
@since OpenOffice 3.4
*/
-published exception UndoFailedException : ::com::sun::star::uno::Exception
+exception UndoFailedException : ::com::sun::star::uno::Exception
{
/** describes the reason why the operation failed. Usually, this member will carry an exception.
*/
diff --git a/offapi/com/sun/star/document/UndoManagerEvent.idl b/offapi/com/sun/star/document/UndoManagerEvent.idl
index f7d8475..bcce21c 100644
--- a/offapi/com/sun/star/document/UndoManagerEvent.idl
+++ b/offapi/com/sun/star/document/UndoManagerEvent.idl
@@ -39,7 +39,7 @@ module com { module sun { module star { module document {
@see XUndoAction
@since OpenOffice 3.4
*/
-published struct UndoManagerEvent : ::com::sun::star::lang::EventObject
+struct UndoManagerEvent : ::com::sun::star::lang::EventObject
{
/** the title of the undo action which is described by the event
@see XUndoAction::Title
diff --git a/offapi/com/sun/star/document/XUndoAction.idl b/offapi/com/sun/star/document/XUndoAction.idl
index dd2a7fa..cf77b90 100644
--- a/offapi/com/sun/star/document/XUndoAction.idl
+++ b/offapi/com/sun/star/document/XUndoAction.idl
@@ -36,7 +36,7 @@ module com { module sun { module star { module document {
/** represents a single (undoable) action on a document
@since OpenOffice 3.4
*/
-published interface XUndoAction
+interface XUndoAction
{
/** reverts the action represented by the instance
diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl
index 5635840..32dee03 100644
--- a/offapi/com/sun/star/document/XUndoManager.idl
+++ b/offapi/com/sun/star/document/XUndoManager.idl
@@ -37,8 +37,8 @@
module com { module sun { module star { module document {
-published interface XUndoAction;
-published interface XUndoManagerListener;
+interface XUndoAction;
+interface XUndoManagerListener;
//==================================================================================================================
@@ -75,7 +75,7 @@ published interface XUndoManagerListener;
@since OpenOffice 3.4
*/
-published interface XUndoManager
+interface XUndoManager
{
/** allows <a href="#locking">locking</a> the undo manager.
*/
diff --git a/offapi/com/sun/star/document/XUndoManagerListener.idl b/offapi/com/sun/star/document/XUndoManagerListener.idl
index 64d4539..4e5bfdb 100644
--- a/offapi/com/sun/star/document/XUndoManagerListener.idl
+++ b/offapi/com/sun/star/document/XUndoManagerListener.idl
@@ -38,7 +38,7 @@ module com { module sun { module star { module document {
@see XUndoManager
@since OpenOffice 3.4
*/
-published interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
+interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
{
/** is called when an undo action is added to the undo stack.
diff --git a/offapi/com/sun/star/document/XUndoManagerSupplier.idl b/offapi/com/sun/star/document/XUndoManagerSupplier.idl
index 6108855..fb4cc81 100644
--- a/offapi/com/sun/star/document/XUndoManagerSupplier.idl
+++ b/offapi/com/sun/star/document/XUndoManagerSupplier.idl
@@ -30,7 +30,7 @@
module com { module sun { module star { module document {
-published interface XUndoManager;
+interface XUndoManager;
//==================================================================================================================
@@ -38,7 +38,7 @@ published interface XUndoManager;
@since OpenOffice 3.4
*/
-published interface XUndoManagerSupplier
+interface XUndoManagerSupplier
{
/** returns the Undo manager associated with the component.
*/
diff --git a/offapi/type_reference/typelibrary_history.txt b/offapi/type_reference/typelibrary_history.txt
index a42bf6c5..aee29c2 100644
--- a/offapi/type_reference/typelibrary_history.txt
+++ b/offapi/type_reference/typelibrary_history.txt
@@ -208,3 +208,6 @@
23/03/2013 (arielch): TaskID=121946
css::ucb::XWebDAVCommandEnvironment: use enums to identify WebDAV/HTTP methods
+
+23/03/2013 (arielch): TaskID=124385
+ Unpublish the Undo API
diff --git a/offapi/type_reference/types.rdb b/offapi/type_reference/types.rdb
index a6edadf..15d819b 100644
Binary files a/offapi/type_reference/types.rdb and b/offapi/type_reference/types.rdb differ
commit e2fb6101543888977e882596ae64d854f1b09cb5
Author: Ariel Constenla-Haile <arielch at apache.org>
Date: Sun Mar 9 05:46:37 2014 +0000
i124384 - [API] Add since tag to Undo API IDL files
diff --git a/offapi/com/sun/star/document/EmptyUndoStackException.idl b/offapi/com/sun/star/document/EmptyUndoStackException.idl
index 01e89fc..df2a68e 100644
--- a/offapi/com/sun/star/document/EmptyUndoStackException.idl
+++ b/offapi/com/sun/star/document/EmptyUndoStackException.idl
@@ -34,6 +34,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
of undo actions, and this requirement is not fullfilled.
+ @since OpenOffice 3.4
*/
published exception EmptyUndoStackException : ::com::sun::star::util::InvalidStateException
{
diff --git a/offapi/com/sun/star/document/UndoContextNotClosedException.idl b/offapi/com/sun/star/document/UndoContextNotClosedException.idl
index c19a539..0c4b9ee 100644
--- a/offapi/com/sun/star/document/UndoContextNotClosedException.idl
+++ b/offapi/com/sun/star/document/UndoContextNotClosedException.idl
@@ -34,6 +34,7 @@ module com { module sun { module star { module document {
/** is thrown when an operation is attempted at an <type>XUndoManager</type> which requires all undo
contexts to be closed, but this requirement is not fullfilled.
+ @since OpenOffice 3.4
*/
published exception UndoContextNotClosedException : ::com::sun::star::util::InvalidStateException
{
diff --git a/offapi/com/sun/star/document/UndoFailedException.idl b/offapi/com/sun/star/document/UndoFailedException.idl
index e77fced..b4f1665 100644
--- a/offapi/com/sun/star/document/UndoFailedException.idl
+++ b/offapi/com/sun/star/document/UndoFailedException.idl
@@ -36,6 +36,7 @@ module com { module sun { module star { module document {
@see XUndoAction::undo
@see XUndoManager::undo
+ @since OpenOffice 3.4
*/
published exception UndoFailedException : ::com::sun::star::uno::Exception
{
diff --git a/offapi/com/sun/star/document/UndoManagerEvent.idl b/offapi/com/sun/star/document/UndoManagerEvent.idl
index bcea402..f7d8475 100644
--- a/offapi/com/sun/star/document/UndoManagerEvent.idl
+++ b/offapi/com/sun/star/document/UndoManagerEvent.idl
@@ -37,6 +37,7 @@ module com { module sun { module star { module document {
@see XUndoManager
@see XUndoManagerListener
@see XUndoAction
+ @since OpenOffice 3.4
*/
published struct UndoManagerEvent : ::com::sun::star::lang::EventObject
{
diff --git a/offapi/com/sun/star/document/XUndoAction.idl b/offapi/com/sun/star/document/XUndoAction.idl
index b3ca5df..dd2a7fa 100644
--- a/offapi/com/sun/star/document/XUndoAction.idl
+++ b/offapi/com/sun/star/document/XUndoAction.idl
@@ -34,6 +34,7 @@ module com { module sun { module star { module document {
//==================================================================================================================
/** represents a single (undoable) action on a document
+ @since OpenOffice 3.4
*/
published interface XUndoAction
{
diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl
index 3b2d601..5635840 100644
--- a/offapi/com/sun/star/document/XUndoManager.idl
+++ b/offapi/com/sun/star/document/XUndoManager.idl
@@ -72,6 +72,8 @@ published interface XUndoManagerListener;
<p>An Undo manager can be locked and unlocked, using the <member>XLockable::lock</member> and
<member>XLockable::unlock</member> 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>
+
+ @since OpenOffice 3.4
*/
published interface XUndoManager
{
diff --git a/offapi/com/sun/star/document/XUndoManagerListener.idl b/offapi/com/sun/star/document/XUndoManagerListener.idl
index b3207f8..64d4539 100644
--- a/offapi/com/sun/star/document/XUndoManagerListener.idl
+++ b/offapi/com/sun/star/document/XUndoManagerListener.idl
@@ -36,6 +36,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.
@see XUndoManager
+ @since OpenOffice 3.4
*/
published interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
{
diff --git a/offapi/com/sun/star/document/XUndoManagerSupplier.idl b/offapi/com/sun/star/document/XUndoManagerSupplier.idl
index 71532e2..6108855 100644
--- a/offapi/com/sun/star/document/XUndoManagerSupplier.idl
+++ b/offapi/com/sun/star/document/XUndoManagerSupplier.idl
@@ -35,6 +35,8 @@ published interface XUndoManager;
//==================================================================================================================
/** provides access to an XUndoManager.
+
+ @since OpenOffice 3.4
*/
published interface XUndoManagerSupplier
{
More information about the Libreoffice-commits
mailing list