diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-07-01 11:38:34 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-07-01 11:38:34 +0000 |
commit | f14f316cdba0a39c95b947bd79c0ad3bbaef3682 (patch) | |
tree | 8a17fc3d68a6277150badbb31f936eab1ba051b5 /offapi/com/sun/star/document/XOOXMLDocumentPropertiesImporter.idl | |
parent | c41c5b792d61fb0125c13ba58312c8ae6da73008 (diff) |
INTEGRATION: CWS xmlfilter05 (1.1.2); FILE ADDED
2008/05/21 14:09:49 dr 1.1.2.2: #i10000# new header
2008/05/02 08:57:56 mav 1.1.2.1: #i88938# import document properties
Diffstat (limited to 'offapi/com/sun/star/document/XOOXMLDocumentPropertiesImporter.idl')
-rw-r--r-- | offapi/com/sun/star/document/XOOXMLDocumentPropertiesImporter.idl | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/offapi/com/sun/star/document/XOOXMLDocumentPropertiesImporter.idl b/offapi/com/sun/star/document/XOOXMLDocumentPropertiesImporter.idl new file mode 100644 index 000000000000..bf163bd5f1e1 --- /dev/null +++ b/offapi/com/sun/star/document/XOOXMLDocumentPropertiesImporter.idl @@ -0,0 +1,108 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2008 by Sun Microsystems, Inc. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: XOOXMLDocumentPropertiesImporter.idl,v $ + * $Revision: 1.2 $ + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_document_XOOXMLDocumentPropertiesImporter_idl__ +#define __com_sun_star_document_XOOXMLDocumentPropertiesImporter_idl__ + +#ifndef __com_sun_star_document_XDocumentProperties_idl__ +#include <com/sun/star/document/XDocumentProperties.idl> +#endif + +#ifndef __com_sun_star_embed_XStorage_idl__ +#include <com/sun/star/embed/XStorage.idl> +#endif + +#ifndef __com_sun_star_xml_sax_SAXException_idl__ +#include <com/sun/star/xml/sax/SAXException.idl> +#endif + +#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ +#include <com/sun/star/lang/IllegalArgumentException.idl> +#endif + +#ifndef __com_sun_star_uno_Exception_idl__ +#include <com/sun/star/uno/Exception.idl> +#endif + +//============================================================================= + +module com { module sun { module star { module document { + +//============================================================================= +/** allows to import the document properties from OOXML fomat + */ +interface XOOXMLDocumentPropertiesImporter: com::sun::star::uno::XInterface +{ + // ----------------------------------------------------------------------- + /** allows to import the document properties from OOXML format + + <p> + The implementation should parse the document properties from OOXML + format storage and set them to the target + <type>XDocumentProperties</type> implementation. + </p> + + <p> + The storage must represent OOXML format and support + <type scope="com::sun::star::embed">XRelationshipAccess</type> + interface. Please see + <type scope="com::sun::star::embed">StorageFactory</type> for details + regarding creation of such a storage. + </p> + + @param xSource + the source storage representing OOXML document + + @param xDocumentProperties + the target <type>XDocumentProperties</type> interface implementation + + @throws ::com::sun::star::lang::IllegalArgumentException + the exception is thrown in case unexpected arguments are provided + + @throws ::com::sun::star::xml::sax::SAXException + the exception is thrown in case of parsing problems + + @throws ::com::sun::star::uno::Exception + the exception is thrown in case of other problems during the import + */ + + void importProperties( + [in] com::sun::star::embed::XStorage xSource, + [in] com::sun::star::document::XDocumentProperties xDocumentProperties ) + raises( com::sun::star::lang::IllegalArgumentException, + com::sun::star::xml::sax::SAXException, + com::sun::star::uno::Exception ); +}; + +//============================================================================= + +}; }; }; }; + +#endif + |