interface XTemplateContainer in module com::sun::star::configuration::

(Global Index)

Syntax

interface XTemplateContainer : com::sun::star::uno::XInterface ;

Description

implemented by objects that contain instances of a named template.

An implementation will also implement XSingleServiceFactory , in which case that interface creates instances of the specified template.

If multiple templates are supported, the supported factory interface may be XMultiServiceFactory , in which case the string returned from XTemplateContainer::getElementTemplateName can be used as the service name parameter.

See also

XTemplateInstance

Method Summary

getElementTemplateName

Known Services Which Export this Interface

com::sun::star::configuration::SimpleSetAccess

Method Details



getElementTemplateName

Syntax

string getElementTemplateName ();

Returns

the name of the element's template.

If instances of multiple templates are accepted by the container, this is the name of the basic or primary template.

Instances of the template must be created using an appropriate factory.

Top of Page