summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-05-19 13:04:55 +0000
committerKurt Zenker <kz@openoffice.org>2004-05-19 13:04:55 +0000
commit3dd852678583341137c220d3935c4c58e78b07a6 (patch)
tree6f02d932cf90533180196a807c13efb7673b46f9 /offapi/com/sun/star
parent3939b510746a586be2eda4f16b708045c4e429e5 (diff)
INTEGRATION: CWS qwizards1 (1.1.2); FILE ADDED
2003/11/10 11:57:36 bc 1.1.2.1: #111603# services and interfaces for RoadmapControl added
Diffstat (limited to 'offapi/com/sun/star')
-rw-r--r--offapi/com/sun/star/awt/UnoControlRoadmap.idl123
1 files changed, 123 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/UnoControlRoadmap.idl b/offapi/com/sun/star/awt/UnoControlRoadmap.idl
new file mode 100644
index 000000000..e47a6c26a
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlRoadmap.idl
@@ -0,0 +1,123 @@
+/*************************************************************************
+ *
+ * $RCSfile: UnoControlRoadmap.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: kz $ $Date: 2004-05-19 14:04:55 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_awt_UnoControlRoadmap_idl__
+#define __com_sun_star_awt_UnoControlRoadmap_idl__
+
+#ifndef __com_sun_star_awt_UnoControl_idl__
+#include <com/sun/star/awt/UnoControl.idl>
+#endif
+
+#ifndef __com_sun_star_awt_XItemEventBroadcaster_idl__
+#include <com/sun/star/awt/XItemEventBroadcaster.idl>
+#endif
+
+#ifndef __com_sun_star_beans_XPropertyChangeListener_idl__
+#include <com/sun/star/beans/XPropertyChangeListener.idl>
+#endif
+
+
+
+//=============================================================================
+
+ module com { module sun { module star { module awt {
+
+//=============================================================================
+
+/** specifies a Roadmap control. The model of the Roadmap control must be a
+ * com::sun::star::awt::UnoControlRoadmapModel
+ * Subsequently some characteristics about how the properties of the model are processed:
+ *
+ * [property] short CurrentItem: The RGB code of the background color is RGB(194, 211, 238)
+ *
+ * [property] string ImageURL: The image referenced by the ImageUrl
+ * is placed in the lower right corner of the control
+ *
+ * [property] string Text: The Text is displayed in Bold und underlined
+ *
+ * [property] boolean Complete: When set to false a non interactive RoadmapItem is appended
+ * under the last RoadmapItem. Its Label is as follows: (Index + 1) + ". ..."
+ *
+ * [property] boolean Interactive: When activating a RoadmapItem
+ * (see com::sun::star::awt::RoadmapItem) the information about which Item has been selected
+ * is passed over when an itemlistener has been registered at the control.
+ *
+ * */
+service UnoControlRoadmap
+{
+ service com::sun::star::awt::UnoControl;
+
+ /** This interface allows to add an Itemlistener to the roadmap.
+ * If the property "Interactive" at the com::sun::star::awt::UnoControlRoadmapModel
+ * is set to 'true' the listener is triggered each time the user selects a RoadmapItem
+ * by Mouseclick or pressing space bar at the currently focussed RoadmapItem.
+ * The property ItemID of the com::sun::star::awt::ItemEvent:: is assigned
+ * the value of the property "ID" of the activated RoadmapItem.
+ */
+ interface com::sun::star::awt::XItemEventBroadcaster;
+
+
+};
+//=============================================================================
+
+}; }; }; };
+
+
+#endif