Class ParagraphItem
Provides the base implementation for all paragraph items.
Inheritance
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.NET.dll
Syntax
public abstract class ParagraphItem : WidgetBase, IXDLSSerializable, IWidget, IParagraphItem, IEntity, IOfficeRun
Constructors
ParagraphItem(WordDocument)
Initializes a new instance of the ParagraphItem class with the specified WordDocument instance.
Declaration
protected ParagraphItem(WordDocument doc)
Parameters
Type | Name | Description |
---|---|---|
WordDocument | doc | The WordDocument instance. |
Fields
m_charFormat
Specifies the character format.
Declaration
protected WCharacterFormat m_charFormat
Field Value
Type |
---|
WCharacterFormat |
Properties
IsDeleteRevision
Gets a value indicating whether this item was deleted from the document, when TrackChanges is or was set to true. Read-only.
Declaration
public bool IsDeleteRevision { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if this instance is delete revision; otherwise, false. |
IsInsertRevision
Gets a value indicating whether this item was inserted to the document, when TrackChanges is or was set to true. Read-only.
Declaration
public bool IsInsertRevision { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if this instance was inserted; otherwise, false. |
OwnerMathRunElement
Reserved for internal use.
Declaration
public IOfficeMathRunElement OwnerMathRunElement { get; set; }
Property Value
Type |
---|
IOfficeMathRunElement |
OwnerParagraph
Gets the owner paragraph of the current paragraph item. Read-only
Declaration
public WParagraph OwnerParagraph { get; }
Property Value
Type | Description |
---|---|
WParagraph | The WParagraph instance which is the owner of the current item. |
Methods
ApplyStyle(String)
Applies the style with the specified name to all paragraph items.
Declaration
public void ApplyStyle(string styleName)
Parameters
Type | Name | Description |
---|---|---|
System.String | styleName | The string that represents the style name. |
Remarks
The specified style must exists in Styles collection.
CloneImpl()
Creates a duplicate copy of the ParagraphItem.
Declaration
protected override object CloneImpl()
Returns
Type | Description |
---|---|
System.Object | The reference of the newly created object. |
Overrides
CloneRun()
Creates a duplicate copy of IOfficeRun.
Declaration
public IOfficeRun CloneRun()
Returns
Type | Description |
---|---|
IOfficeRun | The reference of the newly created object. |
Dispose()
Releases all resources used by the object.
Declaration
public void Dispose()