summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--offapi/com/sun/star/sheet/XDDELinks.idl100
1 files changed, 100 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/XDDELinks.idl b/offapi/com/sun/star/sheet/XDDELinks.idl
new file mode 100644
index 000000000..880b05aac
--- /dev/null
+++ b/offapi/com/sun/star/sheet/XDDELinks.idl
@@ -0,0 +1,100 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XDDELinks.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: obo $ $Date: 2008-01-10 12:42:28 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 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
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_sheet_XDDELinks_idl__
+#define __com_sun_star_sheet_XDDELinks_idl__
+
+#ifndef __com_sun_star_container_XNameAccess_idl__
+#include <com/sun/star/container/XNameAccess.idl>
+#endif
+
+#ifndef __com_sun_star_sheet_XDDELink_idl__
+#include <com/sun/star/sheet/XDDELink.idl>
+#endif
+
+#ifndef __com_sun_star_sheet_DDELinkMode_idl__
+#include <com/sun/star/sheet/DDELinkMode.idl>
+#endif
+
+//=============================================================================
+
+module com { module sun { module star { module sheet {
+
+//=============================================================================
+
+/** provides a method to add a DDE link to a spreadsheet.
+
+ @see com::sun::star::sheet::DDELinks
+
+ @since CWS xmlfilter02
+ */
+published interface XDDELinks: com::sun::star::container::XNameAccess
+{
+ //-------------------------------------------------------------------------
+
+ /** adds a DDE link to the spreadsheet without updating it.
+
+ <p>If a DDE link with the specified parameters already exists, the
+ existing DDE link will be returned. Otherwise a new DDE link will be
+ created.</p>
+
+ @param aApplication
+ the DDE server application from which data are requested.
+
+ @param aTopic
+ the DDE topic from which data are requested.
+
+ @param aItem
+ the DDE item from which data are requested.
+
+ @param nMode
+ the DDE link mode.
+
+ @returns
+ the DDE link.
+ */
+ com::sun::star::sheet::XDDELink addDDELink(
+ [in] string aApplication,
+ [in] string aTopic,
+ [in] string aItem,
+ [in] com::sun::star::sheet::DDELinkMode nMode );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif