Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / document / StandaloneDocumentInfo.idl
blob0bb22b4932efbbf9198c67f67e87791fae8c2a37
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: StandaloneDocumentInfo.idl,v $
10 * $Revision: 1.11 $
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_document_StandaloneDocumentInfo_idl__
31 #define __com_sun_star_document_StandaloneDocumentInfo_idl__
33 #ifndef __com_sun_star_document_DocumentInfo_idl__
34 #include <com/sun/star/document/DocumentInfo.idl>
35 #endif
37 #ifndef __com_sun_star_document_XStandaloneDocumentInfo_idl__
38 #include <com/sun/star/document/XStandaloneDocumentInfo.idl>
39 #endif
41 //=============================================================================
43 module com { module sun { module star { module document {
45 //=============================================================================
46 /** extends the service <type>DocumentInfo</type> to have access on such
47 document properties without loading the whole document
49 <p>
50 First action on this service must be to specify which document should be handled.
51 Otherwise all supported properties of <type>DocumentInfo</type> will be set to
52 void values. Loading of a document doesn't mean - loading all. It means reading
53 of special part only, which includes searched information. Same procedure for saving
54 of may changed values back to the document.
55 </p>
57 @deprecated Use <type>DocumentProperties</type> instead.
59 @see DocumentInfo
61 published service StandaloneDocumentInfo
63 //-------------------------------------------------------------------------
64 /** use it to specify ressource or target of document info data
66 <p>
67 Must be the first action on this service. Otherwise all properties will be void.
68 </p>
70 interface XStandaloneDocumentInfo;
72 //-------------------------------------------------------------------------
73 /** access to document info data
75 service DocumentInfo;
78 //=============================================================================
80 }; }; }; };
82 #endif