Package com.independentsoft.office.odf
Class SequenceReference
java.lang.Object
com.independentsoft.office.odf.SequenceReference
- All Implemented Interfaces:
IContentElement,IParagraphContent
Represents a field that represents a reference.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the SequenceReference class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Returns all content elements.Specifies what information about a reference is displayed.getName()Gets the name that is used as a reference.Returns the parent content element.getValue()Gets the value.voidsetFormat(SequenceReferenceFormat format)Specifies what information about a reference is displayed.voidSets the name that is used as a reference.voidsetParent(IContentElement parent)Sets the parent content element.voidSets the value.toString()Converts the value of the current SequenceReference object to its equivalent string representation.
-
Constructor Details
-
SequenceReference
public SequenceReference()Initializes a new instance of the SequenceReference class.
-
-
Method Details
-
getContentElements
Returns all content elements.- Specified by:
getContentElementsin interfaceIContentElement- Returns:
- A collection of content elements.
-
getParent
Returns the parent content element.- Specified by:
getParentin interfaceIContentElement- Returns:
- the parent
-
setParent
Sets the parent content element.- Specified by:
setParentin interfaceIContentElement- Parameters:
parent- the new parent
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIParagraphContent- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current SequenceReference object to its equivalent string representation. -
getName
Gets the name that is used as a reference.- Returns:
- the name
-
setName
Sets the name that is used as a reference.- Parameters:
name- the new name
-
getFormat
Specifies what information about a reference is displayed.- Returns:
- the format
-
setFormat
Specifies what information about a reference is displayed.- Parameters:
format- the new format
-
getValue
Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the new value
-