Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XDocumentTemplates

Base Interface
com::sun::star::uno::XInterface

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


Known Services which Export this Interface

com::sun::star::frame::TemplateAccess specifies a collection of TemplateAccess.
com::sun::star::frame::DocumentTemplates is an abstract service for accessing the document templates of the office and manipulate them ( add or rename or remove templates )

Methods' 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.

Methods' Details

getContent
 
com::sun::star::ucb::XContent
getContent();
Description
returns a content, which can be used for accessing the groups.
storeTemplate
 
boolean
storeTemplate(
[ in ] string GroupName,
[ in ] string TemplateName,
[ in ] 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
 
boolean
addTemplate(
[ in ] string GroupName,
[ in ] string TemplateName,
[ in ] string SourceURL );

Description
is called when the status of the feature changes.
removeTemplate
 
boolean
removeTemplate(
[ in ] string GroupName,
[ in ] string TemplateName );

Description
is called when the status of the feature changes.
renameTemplate
 
boolean
renameTemplate(
[ in ] string GroupName,
[ in ] string OldTemplateName,
[ in ] string NewTemplateName );

Description
is called when the status of the feature changes.
addGroup
 
boolean
addGroup(
[ in ] 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
 
boolean
removeGroup(
[ in ] string GroupName );

Description
is called when the status of the feature changes.
renameGroup
 
boolean
renameGroup(
[ in ] string OldGroupName,
[ in ] string NewGroupName );

Description
is called when the status of the feature changes.
update
 
[ oneway ] void
update();
Description
is called when the status of the feature changes.

Top of Page