interface XDocumentTemplates in module com::sun::star::frame::

(Global Index)

Syntax

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

Description

makes it possible to receive events when the state of a feature changes.

Method Summary

getContent returns a content, which can be used for accessing the groups.

storeTemplate creates the template with the given name in the given group using the data from the storable.

addTemplate is called when the status of the feature changes.

removeTemplate is called when the status of the feature changes.

renameTemplate is called when the status of the feature changes.

addGroup Creates a new Group

removeGroup is called when the status of the feature changes.

renameGroup is called when the status of the feature changes.

update is called when the status of the feature changes.

Known Services Which Export this Interface

com::sun::star::frame::TemplateAccess

com::sun::star::frame::DocumentTemplates

Method Details



getContent

Syntax

com::sun::star::ucb::XContent getContent ();

Description

returns a content, which can be used for accessing the groups.


storeTemplate

Syntax

boolean storeTemplate (
string GroupName,
string TemplateName,
com::sun::star::frame::XStorable Storable );

Description

creates the template with the given name in the given group using the data from the storable.


addTemplate

Syntax

boolean addTemplate (
string GroupName,
string TemplateName,
string SourceURL );

Description

is called when the status of the feature changes.


removeTemplate

Syntax

boolean removeTemplate (
string GroupName,
string TemplateName );

Description

is called when the status of the feature changes.


renameTemplate

Syntax

boolean renameTemplate (
string GroupName,
string OldTemplateName,
string NewTemplateName );

Description

is called when the status of the feature changes.


addGroup

Syntax

boolean addGroup (
string GroupName );

Description

Creates a new Group

Parameter GroupName

the name of the group to be created

Returns

true, if the group could be created, false otherwise

removeGroup

Syntax

boolean removeGroup (
string GroupName );

Description

is called when the status of the feature changes.


renameGroup

Syntax

boolean renameGroup (
string OldGroupName,
string NewGroupName );

Description

is called when the status of the feature changes.


update

Syntax

oneway void update ();

Description

is called when the status of the feature changes.

Top of Page