LibreOffice
LibreOffice 5.0 SDK API Reference
|
The CanvasFactory is used to create the Canvas objects, evaluating the user's configuration preferences from. More...
import "CanvasFactory.idl";
Additional Inherited Members | |
![]() | |
com::sun::star::uno::XInterface | createInstanceWithContext ([in] string aServiceSpecifier,[in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception) |
Creates an instance of a component which supports the services specified by the factory. More... | |
com::sun::star::uno::XInterface | createInstanceWithArgumentsAndContext ([in] string ServiceSpecifier,[in] sequence< any > Arguments,[in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception) |
Creates an instance of a component which supports the services specified by the factory, and initializes the new instance with the given arguments and context. More... | |
sequence< string > | getAvailableServiceNames () |
Gets the names of all supported services. More... | |
The CanvasFactory is used to create the Canvas objects, evaluating the user's configuration preferences from.
/org.openoffice.VCL/Settings/Canvas/PreferredServices
.
The latter specifies a string list of service names to use.
Instantiating this service, you can use its com::sun::star::lang::XMultiComponentFactory interface to create Canvas objects, passing an empty string as service specifier (default). If you want to manually override the configured service list, you can pass a service name to try first.