Click or drag to resize

StructureDocumentTag Class

This element specifies the presence of a structured document tag around one or more block-level structures (paragraphs, tables, etc.). The two child elements of this element shall be used to specify the properties and content of the current structured document tag via the sdtPr and sdtContent elements, respectively.
Inheritance Hierarchy

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class StructureDocumentTag : BodyRegion, 
	IStructureDocument, ICompositeObject, IDocumentObject

The StructureDocumentTag type exposes the following members.

Constructors
Name Description
Public method StructureDocumentTag
Initializes a new instance of the Block-Level structured document tag class.
Top
Properties
Name Description
Public property BreakCharacterFormat
Gets character format for the break symbol.
Public property ChildObjects
Gets the child entities.
(Overrides DocumentObject ChildObjects .)
Public property DeleteRevision
Gets the delete revision for this objects. Note this can be null. If null does not have delete revision.
(Inherited from BodyRegion .)
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property DocumentObjectType
Gets the type of the entity.
(Overrides DocumentObject DocumentObjectType .)
Public property FirstChild
Gets the first child of the Element.
(Inherited from DocumentObject .)
Public property InsertRevision
Gets the insert revision for this objects. Note this can be null. If null does not have insert revision.
(Inherited from BodyRegion .)
Public property IsComposite
Indicating whether this instance is composite.
(Inherited from DocumentObject .)
Public property IsDeleteRevision
Gets a value indicating whether this item was deleted from the document.
(Inherited from BodyRegion .)
Public property IsInsertRevision
Gets a value indicating whether this item was inserted to the document.
(Inherited from BodyRegion .)
Public property LastChild
Gets the last child of the Element.
(Inherited from DocumentObject .)
Public property NextSibling
Gets the next sibling.
(Inherited from DocumentObject .)
Public property Owner
Gets the owner of this entity.
(Inherited from DocumentObject .)
Public property OwnerTextBody
Gets the owner text body.
(Inherited from BodyRegion .)
Public property PreviousSibling
Gets the previous sibling.
(Inherited from DocumentObject .)
Public property SDTContent
Gets the a value specifies the last known contents of a structured document tag around one or more block-level structures.
Public property SDTProperties
Gets the structured document tag properties.
Protected property XDLSHolder (Inherited from DocumentSerializable .)
Top
Methods
Name Description
Public method Clone
Creates a duplicate of the document object.
(Inherited from DocumentObject .)
Protected method CloneImpl (Overrides DocumentSerializable CloneImpl .)
Protected method CoreRemoveSelfOnly
Protected method CreateLayoutInfo (Overrides DocumentBase CreateLayoutInfo .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method Find
Returns first entry of given regex.
(Overrides BodyRegion Find(Regex) .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetIndex
Returns the zero-based index of the specified entity.
Protected method GetNextInSection (Inherited from BodyRegion .)
Public method GetNextWidgetSibling
Gets the next sibling.
(Inherited from DocumentObject .)
Public method GetPreviousWidgetSibling
Gets the previous widget sibling.
(Inherited from DocumentObject .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method InitXDLSHolder (Inherited from DocumentSerializable .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method ReadXmlAttributes (Inherited from DocumentSerializable .)
Protected method ReadXmlContent (Inherited from DocumentSerializable .)
Public method Replace(Regex, TextSelection)
Replaces all entries of matchString regular expression with TextRangesHolder.
(Overrides BodyRegion Replace(Regex, TextSelection) .)
Public method Replace(Regex, String)
Replaces all entries of matchString regular expression with newValue string.
(Overrides BodyRegion Replace(Regex, String) .)
Public method Replace(Regex, TextSelection, Boolean)
Replaces all entries of matchString regular expression with TextRangesHolder.
(Overrides BodyRegion Replace(Regex, TextSelection, Boolean) .)
Public method Replace(String, TextSelection, Boolean, Boolean)
Replaces all entries of matchString string with TextRangesHolder, taking into consideration caseSensitive and wholeWord options.
Public method Replace(String, String, Boolean, Boolean)
Replaces all entries of matchString string with newValue string, taking into consideration caseSensitive and wholeWord options.
(Overrides BodyRegion Replace(String, String, Boolean, Boolean) .)
Public method Replace(String, TextSelection, Boolean, Boolean, Boolean)
Replaces all entries of matchString string with TextRangesHolder, taking into consideration caseSensitive and wholeWord options.
Protected method RestoreReference (Inherited from DocumentSerializable .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method ToString(String)
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject .)
Public method UpdateDataBinding
Updates stuctured documnet tag content with bound data.
Protected method WriteXmlAttributes (Inherited from DocumentSerializable .)
Protected method WriteXmlContent (Inherited from DocumentSerializable .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also