summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-03-27 22:10:51 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-03-27 22:10:51 +0200
commit692667d2e32361f3624f9ac77b0ee7d1b4ebbfa4 (patch)
treecdef1c025a5074421b710fcdda5b61ae8abfed95
parentgridfixes: corrected @since tag to pass autodoc (diff)
downloadcore-692667d2e32361f3624f9ac77b0ee7d1b4ebbfa4.tar.gz
core-692667d2e32361f3624f9ac77b0ee7d1b4ebbfa4.zip
gridfixes: #i117549# finalize css.awt.tab API
-rw-r--r--offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl2
-rw-r--r--offapi/com/sun/star/awt/tab/UnoControlTabPage.idl2
-rw-r--r--offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl2
-rw-r--r--offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl2
-rw-r--r--offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl4
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPage.idl2
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPageContainer.idl8
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl2
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl19
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPageModel.idl4
10 files changed, 32 insertions, 15 deletions
diff --git a/offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl b/offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl
index ef678395fe06..e3fd0c46b1db 100644
--- a/offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl
+++ b/offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl
@@ -41,7 +41,7 @@ module com { module sun { module star { module awt { module tab {
@since OOo 3.4
*/
-struct TabPageActivatedEvent: com::sun::star::lang::EventObject
+published struct TabPageActivatedEvent: com::sun::star::lang::EventObject
{
/** Contains the ID of the tab page
*/
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPage.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPage.idl
index 6244b18e0c77..b4ba2d156314 100644
--- a/offapi/com/sun/star/awt/tab/UnoControlTabPage.idl
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPage.idl
@@ -41,7 +41,7 @@ module com { module sun { module star { module awt { module tab {
@since OOo 3.4
*/
-service UnoControlTabPage
+published service UnoControlTabPage
{
service com::sun::star::awt::UnoControlContainer;
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl
index 488ce4b5354a..081d5dda5f65 100644
--- a/offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl
@@ -40,7 +40,7 @@ module com { module sun { module star { module awt { module tab {
@since OOo 3.4
*/
-service UnoControlTabPageContainer
+published service UnoControlTabPageContainer
{
service com::sun::star::awt::UnoControl;
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl
index b97b7881b416..bb9a8456a330 100644
--- a/offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl
@@ -40,7 +40,7 @@ module com { module sun { module star { module awt { module tab {
@since OOo 3.4
*/
-service UnoControlTabPageContainerModel
+published service UnoControlTabPageContainerModel
{
service com::sun::star::awt::UnoControlModel;
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
index 3508e33260c7..266f6a56119a 100644
--- a/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
@@ -38,13 +38,13 @@ module com { module sun { module star { module awt { module tab {
/** specifies the standard model of a XTabPageModel.
@since OOo 3.4
*/
-service UnoControlTabPageModel : XTabPageModel
+published service UnoControlTabPageModel : XTabPageModel
{
/** Creates a new XTabPageModel with a given ID.
*/
create([in] short tabPageID);
- /** Creates a new XTabPageModel with a given ID and a url which is used to load teh tab page model.
+ /** Creates a new XTabPageModel with a given ID and a url which is used to load the tab page model.
*/
load([in] short tabPageID,[in] string url);
};
diff --git a/offapi/com/sun/star/awt/tab/XTabPage.idl b/offapi/com/sun/star/awt/tab/XTabPage.idl
index 616820071f5b..0c79d34075d5 100644
--- a/offapi/com/sun/star/awt/tab/XTabPage.idl
+++ b/offapi/com/sun/star/awt/tab/XTabPage.idl
@@ -40,7 +40,7 @@ module com { module sun { module star { module awt { module tab {
@since OOo 3.4
*/
-interface XTabPage
+published interface XTabPage
{
};
diff --git a/offapi/com/sun/star/awt/tab/XTabPageContainer.idl b/offapi/com/sun/star/awt/tab/XTabPageContainer.idl
index e62cf4c365c1..cc4f9ebc9e3c 100644
--- a/offapi/com/sun/star/awt/tab/XTabPageContainer.idl
+++ b/offapi/com/sun/star/awt/tab/XTabPageContainer.idl
@@ -41,13 +41,13 @@ module com { module sun { module star { module awt { module tab {
@since OOo 3.4
*/
-interface XTabPageContainer
+published interface XTabPageContainer
{
/** Returns the number of tab pages.
@returns
the number of tab pages.
*/
- long getTabPageCount();
+ short getTabPageCount();
//-------------------------------------------------------------------------
@@ -86,7 +86,7 @@ interface XTabPageContainer
@param listener
the listener to add.
*/
- [oneway] void addTabPageListener( [in] XTabPageContainerListener listener);
+ [oneway] void addTabPageContainerListener( [in] XTabPageContainerListener listener);
//-------------------------------------------------------------------------
@@ -94,7 +94,7 @@ interface XTabPageContainer
@param listener
the listener to remove.
*/
- [oneway] void removeTabPageListener( [in] XTabPageContainerListener listener);
+ [oneway] void removeTabPageContainerListener( [in] XTabPageContainerListener listener);
//-------------------------------------------------------------------------
/** Specifies the ID of the current active tab page.
diff --git a/offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl b/offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl
index f46951231513..6bfe04e5babe 100644
--- a/offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl
+++ b/offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl
@@ -41,7 +41,7 @@ module com { module sun { module star { module awt { module tab {
@since OOo 3.4
*/
-interface XTabPageContainerListener: com::sun::star::lang::XEventListener
+published interface XTabPageContainerListener: com::sun::star::lang::XEventListener
{
//-------------------------------------------------------------------------
/** Invoked after a tab page was activated.
diff --git a/offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl b/offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl
index cc815209a01d..e2ac2633363f 100644
--- a/offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl
+++ b/offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl
@@ -34,16 +34,33 @@
module com { module sun { module star { module awt { module tab {
+published interface XTabPageModel;
+
//=============================================================================
/** specifies an interface for a UnoControlTabPageContainerModel.
@since OOo 3.4
*/
-interface XTabPageContainerModel
+published interface XTabPageContainerModel
{
interface com::sun::star::container::XIndexContainer;
interface com::sun::star::container::XContainer;
+
+ /** creates a TabPageModel which can be inserted into the container.
+ @param TabPageID
+ the id of the tab page
+ */
+ XTabPageModel createTabPage( [in] short TabPageID );
+
+ /** creates a TabPageModel which can be inserted into the container, by loading it from a user interface
+ resource file.
+ @param TabPageID
+ the id of the tab page
+ @param ResourceURL
+ the URL of the user interface resource to load
+ */
+ XTabPageModel loadTabPage( [in] short TabPageID, [in] string ResourceURL );
};
//=============================================================================
diff --git a/offapi/com/sun/star/awt/tab/XTabPageModel.idl b/offapi/com/sun/star/awt/tab/XTabPageModel.idl
index 15fae422bb17..9d98322a9449 100644
--- a/offapi/com/sun/star/awt/tab/XTabPageModel.idl
+++ b/offapi/com/sun/star/awt/tab/XTabPageModel.idl
@@ -43,7 +43,7 @@ module com { module sun { module star { module awt { module tab {
@since OOo 3.4
*/
-interface XTabPageModel
+published interface XTabPageModel
{
//interface com::sun::star::lang::XMultiServiceFactory;
@@ -76,7 +76,7 @@ interface XTabPageModel
/** specifies a tooltip text that should be displayed in the tab bar.
*/
- [attribute] string Tooltip;
+ [attribute] string ToolTip;
};