The Free and Open Productivity Suite
Apache OpenOffice 4.1.7 released

Developer's Guide



Tips 'n' Tricks


:: com :: sun :: star :: embed ::

interface XLinkCreator
allows to create and initialize a new link.

Methods of this interface does not require specification of the object type, it will be detected.

Methods' Summary
createInstanceLink creates a new object based on ::com::sun::star::document::MediaDescriptor and initializes it as a link.  
Methods' Details
createInstanceLink( [in] XStorage  xStorage,
[in] string  sEntryName,
[in] sequence< ::com::sun::star::beans::PropertyValue >  aArgs,
[in] sequence< ::com::sun::star::beans::PropertyValue >  aObjectArgs )
raises( ::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::uno::Exception );

creates a new object based on ::com::sun::star::document::MediaDescriptor and initializes it as a link.

In case the entry exists already all it's contents will be ignored and rewritten on storing of the object.

Parameter xStorage
a parent storage the entry should be created/opened in
Parameter sEntryName
a name for the entry
Parameter aArgs
::com::sun::star::document::MediaDescriptor the link will be based on
Parameter aObjectArgs
optional parameters for the object persistence initialization, see also EmbeddedObjectDescriptor
::com::sun::star::lang::IllegalArgumentException the argument is illegal
com::sun::star::io::IOException in case of io problems during opening\creation
com::sun::star::uno::Exception in case of other problems
Top of Page

Apache Events

Apache Software Foundation

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

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