LibreOffice
LibreOffice 7.4 SDK API Reference
List of all members
CanvasFactory Service Reference

The CanvasFactory is used to create the Canvas objects, evaluating the user's configuration preferences from. More...

import"CanvasFactory.idl";

Inheritance diagram for CanvasFactory:
XMultiComponentFactory XInterface

Additional Inherited Members

- Public Member Functions inherited from XMultiComponentFactory
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...
 
- 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

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.

Since
OOo 2.0

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