update dev300-m58
[ooovba.git] / oovbaapi / ooo / vba / XDocumentBase.idl
blobaab3c8e159783d7874aab4dd6275645b95300e42
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile$
7 * $Revision$
9 * last change: $Author$ $Date$
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 * MA 02111-1307 USA
34 ************************************************************************/
35 #ifndef __ooo_vba_XDocumentBase_idl__
36 #define __ooo_vba_XDocumentBase_idl__
38 #ifndef __com_sun_star_uno_XInterface_idl__
39 #include <com/sun/star/uno/XInterface.idl>
40 #endif
42 #ifndef __ooo_vba_XHelperInterface_idl__
43 #include <ooo/vba/XHelperInterface.idl>
44 #endif
46 module ooo { module vba {
47 //=============================================================================
49 interface XDocumentBase
51 interface ::ooo::vba::XHelperInterface;
53 [attribute, readonly] string Name;
54 [attribute, readonly] string Path;
55 [attribute, readonly] string FullName;
56 [attribute] boolean Saved;
58 void Close([in] any SaveChanges, [in] any FileName, [in] any RouteWorkBook);
59 void Save();
60 void Activate();
61 void Protect( [in] any Password );
62 void Unprotect( [in] any Password );
65 }; };
67 #endif