Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: document ::

unpublished interface XOOXMLDocumentPropertiesImporter
Usage Restrictions
not published
Description
allows to import the document properties from OOXML fomat

Methods' Summary
importProperties allows to import the document properties from OOXML format  
Methods' Details
importProperties
void
importProperties( [in] ::com::sun::star::embed::XStorage  xSource,
[in] XDocumentProperties  xDocumentProperties )
raises( ::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::xml::sax::SAXException,
::com::sun::star::uno::Exception );

Description
allows to import the document properties from OOXML format

The implementation should parse the document properties from OOXML format storage and set them to the target XDocumentProperties implementation.

The storage must represent OOXML format and support ::com::sun::star::embed::XRelationshipAccess interface. Please see ::com::sun::star::embed::StorageFactory for details regarding creation of such a storage.

Parameter xSource
the source storage representing OOXML document
Parameter xDocumentProperties
the target XDocumentProperties 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
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.