com.spire.doc
Class Break
java.lang.Object
com.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.Break
- All Implemented Interfaces:
- IDocumentObject, IDocumentSerializable, IParagraphBase
public class Break
- extends ParagraphBase
Methods inherited from class com.spire.doc.fields.ParagraphBase |
applyCharacterFormat, applyStyle, getChildObjects, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
Break
public Break(IDocument doc)
- Initializes a new instance of the class.
- Parameters:
doc
-
Break
public Break(IDocument doc,
BreakType breakType)
- Initializes a new instance of the class.
- Parameters:
doc
- breakType
-
getDocumentObjectType
public DocumentObjectType getDocumentObjectType()
- Gets the type of the document object.
- Specified by:
getDocumentObjectType
in interface IDocumentObject
- Specified by:
getDocumentObjectType
in class DocumentObject
- Returns:
- DocumentObjectType
getCharacterFormat
public CharacterFormat getCharacterFormat()
- Gets the character format.
- Overrides:
getCharacterFormat
in class ParagraphBase
- Returns:
- CharacterFormat
getBreakType
public BreakType getBreakType()
- Gets the type of the break.
- Returns:
- BreakType