Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class Paragraph : BodyRegion, [T:sprᧁ], [T:sprᧀ], IParagraph, IBodyRegion, IDocumentObject, IStyleHolder, ICompositeObject, IRunAttrSource, [T:spr᷹]
Public Class Paragraph Inherits BodyRegion Implements [T:sprᧁ], [T:sprᧀ], IParagraph, IBodyRegion, IDocumentObject, IStyleHolder, ICompositeObject, IRunAttrSource, [T:spr᷹]
public ref class Paragraph : public BodyRegion, [T:sprᧁ], [T:sprᧀ], IParagraph, IBodyRegion, IDocumentObject, IStyleHolder, ICompositeObject, IRunAttrSource, [T:spr᷹]
type Paragraph = class inherit BodyRegion interface [T:sprᧁ] interface [T:sprᧀ] interface IParagraph interface IBodyRegion interface IDocumentObject interface IStyleHolder interface ICompositeObject interface IRunAttrSource interface [T:spr᷹] end
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| Paragraph(IDocument) | Initializes a new instance of the Paragraph class | |
| AppendBookmarkEnd(String) |
Appends end of the bookmark with specified name into paragraph.
| |
| AppendBookmarkStart(String) |
Appends start of the bookmark with specified name into paragraph.
| |
| AppendBreak(BreakType) |
Appends break to end of paragraph.
| |
| AppendCheckBox()()()() |
Appends the check box form field.
| |
| AppendCheckBox(String, Boolean) |
Appends the check box.
| |
| AppendComment(String) |
Appends the comment.
| |
| AppendCommentMark(CommentMarkType) |
Appends the comment mark.
| |
| AppendDropDownFormField()()()() |
Appends the drop down form field.
| |
| AppendDropDownFormField(String) |
Appends the drop down form field.
| |
| AppendField(String, FieldType) |
Appends the field.
| |
| AppendFieldMark(FieldMarkType) |
Appends the field mark.
| |
| AppendFootnote(FootnoteType) |
Appends the footnote.
| |
| AppendFootnote(FootnoteType, Boolean) |
Appends the footnote.
| |
| AppendHorizonalLine()()()() |
Append Horizonal Line to the end of the paragraph.
| |
| AppendHTML(String) |
Appends the HTML.
| |
| AppendHyperlink(String, DocPicture, HyperlinkType) |
Appends the hyperlink.
| |
| AppendHyperlink(String, String, HyperlinkType) |
Appends the hyperlink.
| |
| AppendOleObject(String, DocPicture) |
Appends the OLE object.
| |
| AppendOleObject(array<Byte>[]()[][], DocPicture, OleLinkType) |
Appends the OLE object.
| |
| AppendOleObject(array<Byte>[]()[][], DocPicture, OleObjectType) |
Appends the OLE object into paragraph.
| |
| AppendOleObject(array<Byte>[]()[][], DocPicture, String) |
Appends the package OLE object (ole object without specified type).
| |
| AppendOleObject(Stream, DocPicture, OleLinkType) |
Appends the OLE object into paragraph.
| |
| AppendOleObject(Stream, DocPicture, OleObjectType) |
Appends the OLE object.
| |
| AppendOleObject(Stream, DocPicture, String) |
Appends the package OLE object (ole object without specified type).
| |
| AppendOleObject(String, DocPicture, OleLinkType) |
Appends the OLE object.
| |
| AppendOleObject(String, DocPicture, OleObjectType) |
Appends the OLE object into paragraph.
| |
| AppendOleObject(String, String, array<Byte>[]()[][], DocPicture) |
Appends the OLE object into paragraph.
| |
| AppendPermEnd(String) |
Appends end of the permission with specified id into paragraph.
| |
| AppendPermStart(String) |
Appends start of the permission with specified id into paragraph.
| |
| AppendPicture(array<Byte>[]()[][]) |
Appends image to end of paragraph.
| |
| AppendPicture(Image) |
Appends the picture
| |
| AppendPicture(Stream) |
Appends the picture.
| |
| AppendPicture(String) |
Appends the picture.
| |
| AppendRTF(String) |
Appends the RTF.
| |
| AppendRTF(String, Boolean) |
Appends the RTF.
| |
| AppendShape(Single, Single, ShapeType) |
Append Shape to the end of the paragraph.
| |
| AppendShapeGroup(Single, Single) |
Append shape Group to the end of the paragraph.
| |
| AppendSymbol(Byte) |
Appends special symbol to end of paragraph.
| |
| AppendText(String) |
Appends text to end of document.
| |
| AppendTextBox(Single, Single) |
Append Textbox to the end of the paragraph
| |
| AppendTextFormField(String) |
Appends the text form field.
| |
| AppendTextFormField(String, String) |
Appends the text form field.
| |
| AppendTOC(Int32, Int32) |
Appends the table of content.
| |
| ApplyStyle(String) | ||
| ApplyStyle(BuiltinStyle) | ||
| BreakCharacterFormat |
Gets character format for the break symbol.
| |
| CharCount | ||
| CharCountIncludeSpace | ||
| ChildObjects |
Gets the child objects.
(Overrides DocumentObject..::..ChildObjects.) | |
| Clone()()()() | (Inherited from DocumentObject.) | |
| CloneImpl()()()() | (Overrides DocumentSerializable..::..CloneImpl()()()().) | |
| CreateLayoutInfo()()()() | (Overrides DocumentBase..::..CreateLayoutInfo()()()().) | |
| DeleteRevision |
Gets the delete revision for this objects.
Note this can be null. If null does not have delete revision.
(Inherited from BodyRegion.) | |
| Document |
Gets the document.
(Inherited from OwnerHolder.) | |
| DocumentObjectType |
Gets the type of the document object.
(Overrides DocumentObject..::..DocumentObjectType.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Find(Regex) | (Overrides BodyRegion..::..Find(Regex).) | |
| Find(String, Boolean, Boolean) | ||
| FirstChild | (Inherited from DocumentObject.) | |
| Format |
Gets paragraph format.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetIndex(IDocumentObject) | ||
| GetListFormatForApplyStyle()()()() |
Gets the list format for apply style.
| |
| GetNextInSection(Section) | (Inherited from BodyRegion.) | |
| GetNextWidgetSibling()()()() | (Inherited from DocumentObject.) | |
| GetPreviousWidgetSibling()()()() | (Inherited from DocumentObject.) | |
| GetStyle()()()() | ||
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InitXDLSHolder()()()() | (Overrides DocumentSerializable..::..InitXDLSHolder()()()().) | |
| InsertRevision |
Gets the insert revision for this objects.
Note this can be null. If null does not have insert revision.
(Inherited from BodyRegion.) | |
| InsertSectionBreak()()()() |
Inserts the section break.
| |
| InsertSectionBreak(SectionBreakType) |
Inserts the section break.
| |
| IsComposite |
Indicating whether this instance is composite.
(Inherited from DocumentObject.) | |
| IsDeleteRevision |
Gets a value indicating whether this item was deleted from the document.
(Inherited from BodyRegion.) | |
| IsEndOfDocument |
Gets a value indicating whether this paragraph is end of document.
| |
| IsEndOfSection |
Gets a value indicating whether this paragraph is end of section.
| |
| IsInCell |
Gets a value indicating whether this paragraph is in cell.
| |
| IsInsertRevision |
Gets a value indicating whether this item was inserted to the document.
(Inherited from BodyRegion.) | |
| Item[([( Int32])]) |
Gets paragraph item by index.
| |
| Items |
Gets paragraph items.
| |
| LastChild | (Inherited from DocumentObject.) | |
| ListFormat |
Gets format of the list for the paragraph.
| |
| ListText |
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.
| |
| m_doc | (Inherited from OwnerHolder.) | |
| m_listFormat | ||
| m_pItemColl | ||
| m_prFormat | ||
| m_style | ||
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NextSibling |
Gets the next sibling.
(Inherited from DocumentObject.) | |
| Owner |
Gets the owner of this entity.
(Inherited from DocumentObject.) | |
| OwnerTextBody |
Gets the owner text body.
(Inherited from BodyRegion.) | |
| PreviousSibling |
Gets the previous sibling.
(Inherited from DocumentObject.) | |
| ReadXmlAttributes(IXDLSAttributeReader) | (Inherited from DocumentSerializable.) | |
| ReadXmlContent(IXDLSContentReader) | (Inherited from DocumentSerializable.) | |
| RemoveAbsPosition()()()() | ||
| RemoveFrame()()()() |
Remove a frame.
| |
| Replace(Regex, TextSelection) | (Overrides BodyRegion..::..Replace(Regex, TextSelection).) | |
| Replace(Regex, String) | (Overrides BodyRegion..::..Replace(Regex, String).) | |
| Replace(Regex, TextSelection, Boolean) | (Overrides BodyRegion..::..Replace(Regex, TextSelection, Boolean).) | |
| Replace(String, TextSelection, Boolean, Boolean) | ||
| Replace(String, String, Boolean, Boolean) | (Overrides BodyRegion..::..Replace(String, String, Boolean, Boolean).) | |
| Replace(String, TextSelection, Boolean, Boolean, Boolean) | ||
| RestoreReference(String, Int32) | (Overrides DocumentSerializable..::..RestoreReference(String, Int32).) | |
| StyleName |
Gets paragraph style name.
| |
| Text |
Returns or sets paragraph text.
| |
| ToString()()()() | (Inherited from Object.) | |
| ToString(String) |
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject.) | |
| UpdateListValue()()()() |
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.
| |
| UpdateWordCount(array<Char>[]()[][], Boolean) | ||
| WordCount | ||
| WriteXmlAttributes(IXDLSAttributeWriter) | (Overrides DocumentSerializable..::..WriteXmlAttributes(IXDLSAttributeWriter).) | |
| WriteXmlContent(IXDLSContentWriter) | (Inherited from DocumentSerializable.) | |
| XDLSHolder | (Inherited from DocumentSerializable.) |
Inheritance Hierarchy
System..::..Object
Spire.Doc..::..OwnerHolder
Spire.Doc.Documents.XML..::..DocumentSerializable
Spire.Doc..::..DocumentObject
Spire.Doc..::..DocumentBase
Spire.Doc..::..BodyRegion
Spire.Doc.Documents..::..Paragraph
Spire.Doc..::..OwnerHolder
Spire.Doc.Documents.XML..::..DocumentSerializable
Spire.Doc..::..DocumentObject
Spire.Doc..::..DocumentBase
Spire.Doc..::..BodyRegion
Spire.Doc.Documents..::..Paragraph