Package com.independentsoft.office.odf
Class SoftPageBreak
java.lang.Object
com.independentsoft.office.odf.SoftPageBreak
- All Implemented Interfaces:
ICellContent,IContentElement,IIndexContent,IParagraphContent,ITextContent
Represents a soft page break within or between paragraph elements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Returns all content elements.Returns the parent content element.voidsetParent(IContentElement parent)Sets the parent content element.toString()Converts the value of the current SoftPageBreak object to its equivalent string representation.
-
Constructor Details
-
SoftPageBreak
public SoftPageBreak()Initializes a new instance of the SoftPageBreak 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 interfaceICellContent- Specified by:
clonein interfaceIContentElement- 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 SoftPageBreak object to its equivalent string representation.
-