Methods' Details |
getContent
- Description
- privides access to the root of internal used hierarchy
This content can be used for accessing the groups directly.
- Returns
- the ucb content for template configuration
|
|
storeTemplate
boolean |
storeTemplate( |
[in] string |
GroupName, |
| [in] string |
TemplateName, |
| [in] XStorable |
Storable ); |
- Description
- creates the template with the given name in the given group using the
data from the storable
- Parameter GroupName
- specifies the group
- Parameter TemplateName
- specifies the template
- Parameter Storable
- specifies the target
- Returns
- true if operation was sucessfully
false otherwise
- See also
- XDocumentTemplates::addTemplate()
|
|
addTemplate
boolean |
addTemplate( |
[in] string |
GroupName, |
| [in] string |
TemplateName, |
| [in] string |
SourceURL ); |
- Description
- creates the template with the given name in the given group using the
given URL
- Parameter GroupName
- specifies the group
- Parameter TemplateName
- specifies the template
- Parameter SourceURL
- specifies the position of template
- Returns
- true if operation was sucessfully
false otherwise
- See also
- XDocumentTemplates::storeTemplate()
|
|
removeTemplate
boolean |
removeTemplate( |
[in] string |
GroupName, |
| [in] string |
TemplateName ); |
- Description
- remove a template from specified group
- Parameter GroupName
- specifies the group which include the template
- Parameter TemplateName
- specifies the template for delete
- Returns
- true if operation was sucessfully
false otherwise
|
|
renameTemplate
boolean |
renameTemplate( |
[in] string |
GroupName, |
| [in] string |
OldTemplateName, |
| [in] string |
NewTemplateName ); |
- Description
- rename a template inside specified group
- Parameter GroupName
- specifies the group which include the template
- Parameter TemplateName
- specifies the template for renaming
- Returns
- true if operation was sucessfully
false otherwise
|
|
addGroup
boolean |
addGroup( |
[in] string |
GroupName ); |
- Description
- creates a new group
- Parameter GroupName
- the name of the group to be created
- Returns
- true if operation was sucessfully
false otherwise
|
|
removeGroup
boolean |
removeGroup( |
[in] string |
GroupName ); |
- Description
- remove an existing group
- Parameter GroupName
- the name of the group to be removed
- Returns
- true if operation was sucessfully
false otherwise
|
|
renameGroup
boolean |
renameGroup( |
[in] string |
OldGroupName, |
| [in] string |
NewGroupName ); |
- Description
- rename an existing group
- Parameter OldGroupName
- the old name of the group
- Parameter NewGroupName
- the new name of the group
- Returns
- true if operation was sucessfully
false otherwise
|
|
update
- Description
- force an update for internal structures
Because the templates are well known by links and not as direct content
they can be outdated. An update force actualization of that to find
wrong links.
|
|
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.