1408a4873SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3408a4873SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4408a4873SAndrew Rist * or more contributor license agreements. See the NOTICE file 5408a4873SAndrew Rist * distributed with this work for additional information 6408a4873SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7408a4873SAndrew Rist * to you under the Apache License, Version 2.0 (the 8408a4873SAndrew Rist * "License"); you may not use this file except in compliance 9408a4873SAndrew Rist * with the License. You may obtain a copy of the License at 10408a4873SAndrew Rist * 11408a4873SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12408a4873SAndrew Rist * 13408a4873SAndrew Rist * Unless required by applicable law or agreed to in writing, 14408a4873SAndrew Rist * software distributed under the License is distributed on an 15408a4873SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16408a4873SAndrew Rist * KIND, either express or implied. See the License for the 17408a4873SAndrew Rist * specific language governing permissions and limitations 18408a4873SAndrew Rist * under the License. 19408a4873SAndrew Rist * 20408a4873SAndrew Rist *************************************************************/ 21408a4873SAndrew Rist 22408a4873SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __com_sun_star_uri_XVndSunStarExpandUrl_idl__ 25cdf0e10cSrcweir#define __com_sun_star_uri_XVndSunStarExpandUrl_idl__ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#include "com/sun/star/lang/IllegalArgumentException.idl" 28cdf0e10cSrcweir#include "com/sun/star/uno/XInterface.idl" 29cdf0e10cSrcweir 30cdf0e10cSrcweirmodule com { module sun { module star { module util { 31cdf0e10cSrcweir published interface XMacroExpander; 32cdf0e10cSrcweir}; }; }; }; 33cdf0e10cSrcweir 34cdf0e10cSrcweirmodule com { module sun { module star { module uri { 35cdf0e10cSrcweir 36cdf0e10cSrcweir/** 37cdf0e10cSrcweir represents absolute “vnd.sun.star.expand” URLs. 38cdf0e10cSrcweir 39cdf0e10cSrcweir <p>These URLs are of the form<br/> 40cdf0e10cSrcweir  <var>vnd-sun-star-expand-url</var> = 41cdf0e10cSrcweir <code>"VND.SUN.STAR.EXPAND:"</code> <var>opaque_part</var><br/> 42cdf0e10cSrcweir where the <var>opaque_part</var> is an UTF-8 string as described in 43cdf0e10cSrcweir <a href="http://udk.openoffice.org/common/man/concept/micro_deployment.html"> 44cdf0e10cSrcweir <cite>Bootstrap Arguments and Micro Deployment</cite></a>. See 45cdf0e10cSrcweir <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>, 46cdf0e10cSrcweir <a href="http://www.ietf.org/rfc/rfc2732.txt">RFC 2732</a>, and 47cdf0e10cSrcweir <a href="http://www.ietf.org/rfc/rfc2234.txt">RFC 2234</a> for 48cdf0e10cSrcweir details.</p> 49cdf0e10cSrcweir 50*95a17a32SJürgen Schmidt @since OpenOffice 2.3 51cdf0e10cSrcweir */ 52cdf0e10cSrcweirpublished interface XVndSunStarExpandUrl { 53cdf0e10cSrcweir /** 54cdf0e10cSrcweir returns the expanded content of this URL. 55cdf0e10cSrcweir 56cdf0e10cSrcweir @param expander 57cdf0e10cSrcweir a macro expander; must not be <NULL/>. 58cdf0e10cSrcweir 59cdf0e10cSrcweir @returns 60cdf0e10cSrcweir the expanded content of this URL. 61cdf0e10cSrcweir 62cdf0e10cSrcweir @throws com::sun::star::lang::IllegalArgumentException 63cdf0e10cSrcweir if calling <member 64cdf0e10cSrcweir scope="com::sun::star::util">XMacroExpander::expandMacros</member> on 65cdf0e10cSrcweir <code>expander</code> raises any such exception. 66cdf0e10cSrcweir */ 67cdf0e10cSrcweir string expand([in] com::sun::star::util::XMacroExpander expander) 68cdf0e10cSrcweir raises (com::sun::star::lang::IllegalArgumentException); 69cdf0e10cSrcweir}; 70cdf0e10cSrcweir 71cdf0e10cSrcweir}; }; }; }; 72cdf0e10cSrcweir 73cdf0e10cSrcweir#endif 74