Click or drag to resize

Paragraph Class

Inheritance Hierarchy

Namespace:  Spire.Doc.Documents
Assembly:  Spire.Doc (in Spire.Doc.dll) Version: 9.10.0.0 (9.10.0.3040)
Syntax
public class Paragraph : BodyRegion, IParagraph, 
	IBodyRegion, IDocumentObject, IStyleHolder, ICompositeObject

The Paragraph type exposes the following members.

Constructors
  NameDescription
Public methodParagraph
Initializes a new instance of the Paragraph class
Top
Properties
  NameDescription
Public propertyBreakCharacterFormat
Gets character format for the break symbol.
Public propertyCharCount
Public propertyCharCountIncludeSpace
Public propertyChildObjects
Gets the child objects.
(Overrides DocumentObjectChildObjects.)
Public propertyDeleteRevision
Gets the delete revision for this objects. Note this can be null. If null does not have delete revision.
(Inherited from BodyRegion.)
Public propertyDocument
Gets the document.
(Inherited from OwnerHolder.)
Public propertyDocumentObjectType
Gets the type of the document object.
(Overrides DocumentObjectDocumentObjectType.)
Public propertyFirstChild (Inherited from DocumentObject.)
Public propertyFormat
Gets paragraph format.
Public propertyInsertRevision
Gets the insert revision for this objects. Note this can be null. If null does not have insert revision.
(Inherited from BodyRegion.)
Public propertyIsComposite
Indicating whether this instance is composite.
(Inherited from DocumentObject.)
Public propertyIsDeleteRevision
Gets a value indicating whether this item was deleted from the document.
(Inherited from BodyRegion.)
Public propertyIsEndOfDocument
Gets a value indicating whether this paragraph is end of document.
Public propertyIsEndOfHeaderFooter
Public propertyIsEndOfSection
Gets a value indicating whether this paragraph is end of section.
Public propertyIsInCell
Gets a value indicating whether this paragraph is in cell.
Public propertyIsInsertRevision
Gets a value indicating whether this item was inserted to the document.
(Inherited from BodyRegion.)
Public propertyItem
Gets paragraph item by index.
Public propertyItems
Gets paragraph items.
Public propertyLastChild (Inherited from DocumentObject.)
Public propertyListFormat
Gets format of the list for the paragraph.
Public propertyListText
Gets the list text. The value of the list number is obtained by dynamic calculation. The value of the list number of the paragraph directly may be incorrect. To obtain the correct value, you need to traverse all paragraphs in the document.
Public propertyNextSibling
Gets the next sibling.
(Inherited from DocumentObject.)
Public propertyOwner
Gets the owner of this entity.
(Inherited from DocumentObject.)
Public propertyOwnerTextBody
Gets the owner text body.
(Inherited from BodyRegion.)
Public propertyPreviousSibling
Gets the previous sibling.
(Inherited from DocumentObject.)
Public propertyStyleName
Gets paragraph style name.
Public propertyText
Returns or sets paragraph text.
Public propertyWordCount
Protected propertyXDLSHolder (Inherited from DocumentSerializable.)
Top
Methods
  NameDescription
Public methodAppendBookmarkEnd
Appends end of the bookmark with specified name into paragraph.
Public methodAppendBookmarkStart
Appends start of the bookmark with specified name into paragraph.
Public methodAppendBreak
Appends break to end of paragraph.
Public methodAppendCheckBox
Appends the check box form field.
Public methodAppendCheckBox(String, Boolean)
Appends the check box.
Public methodAppendComment
Appends the comment.
Public methodAppendCommentMark
Appends the comment mark.
Public methodAppendDropDownFormField
Appends the drop down form field.
Public methodAppendDropDownFormField(String)
Appends the drop down form field.
Public methodAppendField
Appends the field.
Public methodAppendFieldMark
Appends the field mark.
Public methodAppendFootnote(FootnoteType)
Appends the footnote.
Public methodAppendFootnote(FootnoteType, Boolean)
Appends the footnote.
Public methodAppendHorizonalLine
Append Horizonal Line to the end of the paragraph.
Public methodAppendHTML
Appends the HTML.
Public methodAppendHyperlink(String, DocPicture, HyperlinkType)
Appends the hyperlink.
Public methodAppendHyperlink(String, String, HyperlinkType)
Appends the hyperlink.
Public methodAppendOleObject(String, DocPicture)
Appends the OLE object.
Public methodAppendOleObject(Byte, DocPicture, OleLinkType)
Appends the OLE object.
Public methodAppendOleObject(Byte, DocPicture, OleObjectType)
Appends the OLE object into paragraph.
Public methodAppendOleObject(Byte, DocPicture, String)
Appends the package OLE object (ole object without specified type).
Public methodAppendOleObject(Stream, DocPicture, OleLinkType)
Appends the OLE object into paragraph.
Public methodAppendOleObject(Stream, DocPicture, OleObjectType)
Appends the OLE object.
Public methodAppendOleObject(Stream, DocPicture, String)
Appends the package OLE object (ole object without specified type).
Public methodAppendOleObject(String, DocPicture, OleLinkType)
Appends the OLE object.
Public methodAppendOleObject(String, DocPicture, OleObjectType)
Appends the OLE object into paragraph.
Public methodAppendOleObject(String, String, Byte, DocPicture)
Appends the OLE object into paragraph.
Public methodAppendPermEnd
Appends end of the permission with specified id into paragraph.
Public methodAppendPermStart
Appends start of the permission with specified id into paragraph.
Public methodAppendPicture(Byte)
Appends image to end of paragraph.
Public methodAppendPicture(Image)
Appends the picture
Public methodAppendPicture(Stream)
Appends the picture.
Public methodAppendPicture(String)
Appends the picture.
Public methodAppendRTF(String)
Appends the RTF.
Public methodAppendRTF(String, Boolean)
Appends the RTF.
Public methodAppendShape
Append Shape to the end of the paragraph.
Public methodAppendShapeGroup
Append shape Group to the end of the paragraph.
Public methodAppendSymbol
Appends special symbol to end of paragraph.
Public methodAppendText
Appends text to end of document.
Public methodAppendTextBox
Append Textbox to the end of the paragraph
Public methodAppendTextFormField(String)
Appends the text form field.
Public methodAppendTextFormField(String, String)
Appends the text form field.
Public methodAppendTOC
Appends the table of content.
Public methodApplyStyle(String)
Public methodApplyStyle(BuiltinStyle)
Public methodClone (Inherited from DocumentObject.)
Protected methodCloneImpl (Overrides DocumentSerializableCloneImpl.)
Protected methodCreateLayoutInfo (Overrides DocumentBaseCreateLayoutInfo.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFind(Regex) (Overrides BodyRegionFind(Regex).)
Public methodFind(String, Boolean, Boolean)
Public methodGetHashCode (Inherited from Object.)
Public methodGetIndex
Public methodGetListFormatForApplyStyle
Gets the list format for apply style.
Protected methodGetNextInSection (Inherited from BodyRegion.)
Public methodGetNextWidgetSibling (Inherited from DocumentObject.)
Public methodGetPreviousWidgetSibling (Inherited from DocumentObject.)
Public methodGetStyle
Public methodGetType (Inherited from Object.)
Protected methodInitXDLSHolder (Overrides DocumentSerializableInitXDLSHolder.)
Public methodInsertSectionBreak
Inserts the section break.
Public methodInsertSectionBreak(SectionBreakType)
Inserts the section break.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodReadXmlAttributes (Inherited from DocumentSerializable.)
Protected methodReadXmlContent (Inherited from DocumentSerializable.)
Public methodRemoveAbsPosition
Public methodRemoveFrame
Remove a frame.
Public methodReplace(Regex, TextSelection) (Overrides BodyRegionReplace(Regex, TextSelection).)
Public methodReplace(Regex, String) (Overrides BodyRegionReplace(Regex, String).)
Public methodReplace(Regex, TextSelection, Boolean) (Overrides BodyRegionReplace(Regex, TextSelection, Boolean).)
Public methodReplace(String, TextSelection, Boolean, Boolean)
Public methodReplace(String, String, Boolean, Boolean) (Overrides BodyRegionReplace(String, String, Boolean, Boolean).)
Public methodReplace(String, TextSelection, Boolean, Boolean, Boolean)
Protected methodRestoreReference (Overrides DocumentSerializableRestoreReference(String, Int32).)
Public methodToString (Inherited from Object.)
Public methodToString(String)
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject.)
Public methodUpdateListValue
Updates the list value. The value of the list number is obtained by dynamic calculation. The value of the list number of the paragraph directly may be incorrect. To obtain the correct value, you need to traverse all paragraphs in the document.
Public methodUpdateWordCount
Protected methodWriteXmlAttributes (Overrides DocumentSerializableWriteXmlAttributes(IXDLSAttributeWriter).)
Protected methodWriteXmlContent (Inherited from DocumentSerializable.)
Top
Fields
See Also