Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

interface XInsertObjectDialog
Description
allows to create and initialize a new embedded object using GUI dialog.

Methods' Summary
createInstanceByDialog creates a new object using GUI dialog.  
Methods' Details
createInstanceByDialog
InsertedObjectInfo
createInstanceByDialog( [in] XStorage  xStorage,
[in] string  sEntName,
[in] sequence< ::com::sun::star::beans::PropertyValue >  lObjArgs )
raises( ::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::io::IOException,
::com::sun::star::uno::Exception );

Description
creates a new object using GUI dialog.

The dialog allows for user to do a number of choices that are container related. This infomation will be returned in the InsertedObjectInfo object.

Parameter xStorage
a parent storage the entry should be created/opened in
Parameter sEntName
a name for the entry
Parameter lObjArgs
optional parameters for the object persistence initialization see also EmbeddedObjectDescriptor
Returns
the structure containing the object and container related options @thrown ::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 Software Foundation

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

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.