Package com.independentsoft.office.odf
Class ChangeEnd
java.lang.Object
com.independentsoft.office.odf.ChangeEnd
- All Implemented Interfaces:
ICellContent,IContentElement,IIndexContent,IParagraphContent,ITextContent,IHeaderFooterContent
public class ChangeEnd
extends Object
implements ITextContent, IParagraphContent, IHeaderFooterContent
Represents a position in an empty region where text has been deleted.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the ChangeEnd class.ChangeEnd(InternalXMLStreamReader reader)Instantiates a new change end. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Returns all content elements.getID()Gets an id to the element that contains change information.Returns the parent content element.voidSets an id to the element that contains change information.voidsetParent(IContentElement parent)Sets the parent content element.toString()Converts the value of the current ChangeEnd object to its equivalent string representation.
-
Constructor Details
-
ChangeEnd
public ChangeEnd()Initializes a new instance of the ChangeEnd class. -
ChangeEnd
Instantiates a new change end.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
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 interfaceICellContent- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIHeaderFooterContent- Specified by:
clonein interfaceIIndexContent- Specified by:
clonein interfaceIParagraphContent- Specified by:
clonein interfaceITextContent- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current ChangeEnd object to its equivalent string representation. -
getID
Gets an id to the element that contains change information.- Returns:
- the id
-
setID
Sets an id to the element that contains change information.- Parameters:
id- the new id
-