|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
public abstract class ParagraphBase
Constructor Summary | |
---|---|
protected |
ParagraphBase(Document doc)
Initializes a new instance of the ParagraphBase class. |
Method Summary | |
---|---|
void |
applyCharacterFormat(CharacterFormat charFormat)
Sets the character format. |
void |
applyStyle(java.lang.String styleName)
Applies the specified style. |
DocumentObject |
getAncestor(DocumentObjectType objectType)
|
CharacterFormat |
getCharacterFormat()
Gets the character format. |
DocumentObjectCollection |
getChildObjects()
Gets the child objects of the entity. |
Paragraph |
getOwnerParagraph()
Gets owner paragraph. |
java.lang.String |
getStyleName()
Gets the style name. |
boolean |
isDeleteRevision()
Gets or set a value indicating whether this item was deleted from the document, when "Track Changes" is or was set to "true". |
boolean |
isInsertRevision()
Gets a value indicating whether this item was inserted to the document, when "Track Changes" is or was set to "true". |
Methods inherited from class com.spire.doc.DocumentObject |
---|
deepClone, getDocumentObjectType, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, toString |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
---|
deepClone, getDocument, getDocumentObjectType, getNextSibling, getOwner, getPreviousSibling, isComposite |
Methods inherited from interface com.spire.doc.documents.IRunAttrSource |
---|
clearRunAttrs, fetchInheritedRunAttr, getDirectRunAttr, getDirectRunAttrByIndex, getDirectRunAttrsCount, setRunAttr |
Constructor Detail |
---|
protected ParagraphBase(Document doc)
ParagraphBase
class.
doc
- The doc.Method Detail |
---|
public DocumentObjectCollection getChildObjects()
getChildObjects
in class DocumentObject
public Paragraph getOwnerParagraph()
getOwnerParagraph
in interface IParagraphBase
public boolean isInsertRevision()
public java.lang.String getStyleName()
getStyleName
in interface IParagraphBase
public boolean isDeleteRevision()
public CharacterFormat getCharacterFormat()
public void applyCharacterFormat(CharacterFormat charFormat)
charFormat
- The character format.public void applyStyle(java.lang.String styleName)
applyStyle
in interface IParagraphBase
styleName
- the style name.public DocumentObject getAncestor(DocumentObjectType objectType)
getAncestor
in class DocumentObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |