LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XInsertObjectDialog Interface Referencepublished

allows to create and initialize a new embedded object using GUI dialog. More...

import"XInsertObjectDialog.idl";

Inheritance diagram for XInsertObjectDialog:
XInterface

Public Member Functions

InsertedObjectInfo createInstanceByDialog ([in] ::com::sun::star::embed::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 )
 creates a new object using GUI dialog. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

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

Member Function Documentation

◆ createInstanceByDialog()

InsertedObjectInfo createInstanceByDialog ( [in] ::com::sun::star::embed::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
)

creates a new object using GUI dialog.

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

Parameters
xStoragea parent storage the entry should be created/opened in
sEntNamea name for the entry
lObjArgsoptional parameters for the object persistence initialization see also com::sun::star::embed::EmbeddedObjectDescriptor
Returns
the structure containing the object and container related options
Exceptions
com::sun::star::lang::IllegalArgumentExceptionone of arguments is illegal
com::sun::star::io::IOExceptionin case of io problems during opening or creation
com::sun::star::uno::Exceptionin case of other problems

The documentation for this interface was generated from the following file: