service FrameLoaderFactory in module com::sun::star::frame::

(Global Index)

Syntax

service FrameLoaderFactory;

Description

factory to create frame loader

Exported Interfaces

com::sun::star::lang::XMultiServiceFactory

Description

interface to create the loader

After a TypeDetection you can use these interfaces to create the right loader to load the document into a frame. Give it an internal type name and it creates a suitable XSynchronousFrameLoader or XFrameLoader and returns it by calling XMultiServiceFactory::createInstance...() - casted to XInterface! Please check returned object for his supported interface! @attention Method XMultiServiceFactory::getAvailableServiceNames() isn't supported! Please use XNameAcces of these service for access on loader configuration.


com::sun::star::container::XNameAccess

Description

readonly access to loader configuration

These interface support a readonly access to our internal configuration of all accessible loader. The return value of XNameAccess::getByName() is a sequence packed in an Any!

 Supported properties are:

 "Types" [sequence< string > ] loader is registered for these types
 "UIName" [string ] localized name of loader to show it at UI

Top of Page