Package com.independentsoft.office.odf
Class Insertion
java.lang.Object
com.independentsoft.office.odf.Insertion
- All Implemented Interfaces:
IChangedRegionContent,IContentElement
Represents any change in formatting attributes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Specifies who made a change and when.Returns all content elements.Returns the parent content element.voidsetChangeInfo(ChangeInfo changeInfo)Specifies who made a change and when.voidsetParent(IContentElement parent)Sets the parent content element.toString()Converts the value of the current Insertion object to its equivalent string representation.
-
Constructor Details
-
Insertion
public Insertion()Initializes a new instance of the Insertion 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 interfaceIChangedRegionContent- Specified by:
clonein interfaceIContentElement- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current Insertion object to its equivalent string representation. -
getChangeInfo
Specifies who made a change and when. It may also contain a comment on the change.- Returns:
- the change info
-
setChangeInfo
Specifies who made a change and when. It may also contain a comment on the change.- Parameters:
changeInfo- the new change info
-