Package com.independentsoft.office.odf
Class Template
java.lang.Object
com.independentsoft.office.odf.Template
Represents a document template that was used to create a document.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the actuate.getDate()Gets the date and time when a template was last modified, prior to being used to create the current document.Gets the location of remote resource.getRole()Gets the role.getTitle()Gets the title to be associated with a document template.getType()Gets the value simple in OpenDocument document instances.voidsetActuate(String actuate)Sets the actuate.voidSets the date and time when a template was last modified, prior to being used to create the current document.voidsetLocation(String location)Sets the location of remote resource.voidSets the role.voidSets the title to be associated with a document template.voidSets the value simple in OpenDocument document instances.toString()Converts the value of the current Template object to its equivalent string representation.
-
Constructor Details
-
Template
public Template()Initializes a new instance of the Template class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current Template object to its equivalent string representation. -
getLocation
Gets the location of remote resource.- Returns:
- the location
-
setLocation
Sets the location of remote resource.- Parameters:
location- the new location
-
getActuate
Gets the actuate.- Returns:
- the actuate
-
setActuate
Sets the actuate.- Parameters:
actuate- the new actuate
-
getType
Gets the value simple in OpenDocument document instances.- Returns:
- the type
-
setType
Sets the value simple in OpenDocument document instances.- Parameters:
type- the new type
-
getRole
Gets the role.- Returns:
- the role
-
setRole
Sets the role.- Parameters:
role- the new role
-
getTitle
Gets the title to be associated with a document template.- Returns:
- the title
-
setTitle
Sets the title to be associated with a document template.- Parameters:
title- the new title
-
getDate
Gets the date and time when a template was last modified, prior to being used to create the current document.- Returns:
- the date
-
setDate
Sets the date and time when a template was last modified, prior to being used to create the current document.- Parameters:
date- the new date
-