1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XStarBasicLibraryInfo.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_script_XStarBasicLibraryInfo_idl__
31 #define __com_sun_star_script_XStarBasicLibraryInfo_idl__
33 #ifndef __com_sun_star_container_XNameContainer_idl__
34 #include
<com
/sun
/star
/container
/XNameContainer.idl
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module script
{
41 //=============================================================================
43 /** Interface representing a library and provides access to its modules
47 published
interface XStarBasicLibraryInfo
: com
::sun
::star
::uno
::XInterface
49 //-------------------------------------------------------------------------
50 /** returns the library's name
54 //-------------------------------------------------------------------------
56 the module container giving access to the modules stored in the library.
57 The container has to be returned in any case, no matter if the library is
58 stored embedded, external, or linked.
60 @see getExternalSourceURL
63 com
::sun
::star
::container
::XNameContainer getModuleContainer
();
65 //-------------------------------------------------------------------------
67 the dialog container giving access to the dialogs stored in the library.
68 The container has to be returned in any case, no matter if the library is
69 stored embedded, external, or linked.
71 @see getExternalSourceURL
74 com
::sun
::star
::container
::XNameContainer getDialogContainer
();
76 //-------------------------------------------------------------------------
78 the password, if the library is protected with one,
79 an empty string otherwise.
83 //-------------------------------------------------------------------------
85 URL describing the location where the library is stored if the library
86 is stored seperately (for example not in the main XML file but in a
87 special library format file), an empty string otherwise.
88 This information can be useful to optimize the access to the library,
89 e.g., for loading on demand.
91 string getExternalSourceURL
();
93 //-------------------------------------------------------------------------
95 URL describing the location of the library linked to.
97 <p>HINT: This method can be removed when there is a generic interface
98 for linking. Then the implementation will simply support this
99 "XLinked" interface and it can be checked by queryInterface().</p>
101 string getLinkTargetURL
();
105 //=============================================================================