1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_document_StandaloneDocumentInfo_idl__ 24#define __com_sun_star_document_StandaloneDocumentInfo_idl__ 25 26#ifndef __com_sun_star_document_DocumentInfo_idl__ 27#include <com/sun/star/document/DocumentInfo.idl> 28#endif 29 30#ifndef __com_sun_star_document_XStandaloneDocumentInfo_idl__ 31#include <com/sun/star/document/XStandaloneDocumentInfo.idl> 32#endif 33 34//============================================================================= 35 36 module com { module sun { module star { module document { 37 38//============================================================================= 39/** extends the service <type>DocumentInfo</type> to have access on such 40 document properties without loading the whole document 41 42 <p> 43 First action on this service must be to specify which document should be handled. 44 Otherwise all supported properties of <type>DocumentInfo</type> will be set to 45 void values. Loading of a document doesn't mean - loading all. It means reading 46 of special part only, which includes searched information. Same procedure for saving 47 of may changed values back to the document. 48 </p> 49 50 @deprecated Use <type>DocumentProperties</type> instead. 51 52 @see DocumentInfo 53 */ 54published service StandaloneDocumentInfo 55{ 56 //------------------------------------------------------------------------- 57 /** use it to specify ressource or target of document info data 58 59 <p> 60 Must be the first action on this service. Otherwise all properties will be void. 61 </p> 62 */ 63 interface XStandaloneDocumentInfo; 64 65 //------------------------------------------------------------------------- 66 /** access to document info data 67 */ 68 service DocumentInfo; 69}; 70 71//============================================================================= 72 73}; }; }; }; 74 75#endif 76