summaryrefslogtreecommitdiff
path: root/udkapi/com/sun/star/uri
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-12 09:57:36 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-12 09:57:36 +0000
commit039d576d2ddec5dab86cbd93716644b9a733ae6b (patch)
tree2e0dbd539ffbeab4333a0292b5bfbfd6c3def4ee /udkapi/com/sun/star/uri
parentc12306de6a5eef049a69afcff973f0678d51c589 (diff)
INTEGRATION: CWS sb36 (1.1.2); FILE ADDED
2007/01/25 11:52:26 sb 1.1.2.3: #i51803# Adjusted @since tags. 2007/01/22 13:51:17 sb 1.1.2.2: Dropped obsolete SISSL header. 2005/07/14 12:24:12 sb 1.1.2.1: #i51803# Added support for vnd.sun.star.expand URLs.
Diffstat (limited to 'udkapi/com/sun/star/uri')
-rw-r--r--udkapi/com/sun/star/uri/XVndSunStarExpandUrl.idl85
1 files changed, 85 insertions, 0 deletions
diff --git a/udkapi/com/sun/star/uri/XVndSunStarExpandUrl.idl b/udkapi/com/sun/star/uri/XVndSunStarExpandUrl.idl
new file mode 100644
index 000000000000..237270b2ed23
--- /dev/null
+++ b/udkapi/com/sun/star/uri/XVndSunStarExpandUrl.idl
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XVndSunStarExpandUrl.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: obo $ $Date: 2007-03-12 10:57:36 $
+ *
+ * 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_uri_XVndSunStarExpandUrl_idl__
+#define __com_sun_star_uri_XVndSunStarExpandUrl_idl__
+
+#include "com/sun/star/lang/IllegalArgumentException.idl"
+#include "com/sun/star/uno/XInterface.idl"
+
+module com { module sun { module star { module util {
+ published interface XMacroExpander;
+}; }; }; };
+
+module com { module sun { module star { module uri {
+
+/**
+ represents absolute &ldquo;vnd.sun.star.expand&rdquo; URLs.
+
+ <p>These URLs are of the form<br/>
+ &emsp;<var>vnd-sun-star-expand-url</var> =
+ <code>"VND.SUN.STAR.EXPAND:"</code> <var>opaque_part</var><br/>
+ where the <var>opaque_part</var> is an UTF-8 string as described in
+ <a href="http://udk.openoffice.org/common/man/concept/micro_deployment.html">
+ <cite>Bootstrap Arguments and Micro Deployment</cite></a>. See
+ <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC&nbsp;2396</a>,
+ <a href="http://www.ietf.org/rfc/rfc2732.txt">RFC&nbsp;2732</a>, and
+ <a href="http://www.ietf.org/rfc/rfc2234.txt">RFC&nbsp;2234</a> for
+ details.</p>
+
+ @since OOo 2.3
+ */
+interface XVndSunStarExpandUrl {
+ /**
+ returns the expanded content of this URL.
+
+ @param expander
+ a macro expander; must not be <NULL/>.
+
+ @returns
+ the expanded content of this URL.
+
+ @throws com::sun::star::lang::IllegalArgumentException
+ if calling <member
+ scope="com::sun::star::util">XMacroExpander::expandMacros</member> on
+ <code>expander</code> raises any such exception.
+ */
+ string expand([in] com::sun::star::util::XMacroExpander expander)
+ raises (com::sun::star::lang::IllegalArgumentException);
+};
+
+}; }; }; };
+
+#endif