(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XLinkFactory
Description
allows to create and initialize a new link of specified type.

Methods' Summary
createInstanceLinkUserInit creates a new link and transport parameters for persistent initialization.  
Methods' Details
createInstanceLinkUserInit
::com::sun::star::uno::XInterface
createInstanceLinkUserInit( [in] sequence< byte >  aClassID,
[in] string  sClassName,
[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::io::IOException,
::com::sun::star::uno::Exception );

Description
creates a new link and transport parameters for persistent initialization.

This method can be used to have a full control over persistence initialization of a link.

Parameter aClassID
the class id of the new object
Parameter aClassName
the class name of the new object
Parameter xStorage
a parent storage the entry should be created in
Parameter sEntryName
a name for the entry
Parameter aArgs
::com::sun::star::document::MediaDescriptor that contains source for the link
Parameter aObjectArgs
optional parameters for the object persistence initialization see also EmbeddedObjectDescriptor
Throws
::com::sun::star::lang::IllegalArgumentException one of arguments is illegal
Throws
com::sun::star::io::IOException in case of io problems during opening\creation
Throws
com::sun::star::uno::Exception in case of other problems
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org 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.