com.spire.doc.pages
Class FixedLayoutSpan

java.lang.Object
  extended by com.spire.doc.pages.LayoutElement
      extended by com.spire.doc.pages.FixedLayoutSpan

public class FixedLayoutSpan
extends LayoutElement

Represents one or more characters in a line.


Constructor Summary
FixedLayoutSpan()
          Initializes a new instance of the FixedLayoutSpan class.
 
Method Summary
 java.lang.String getKind()
          Gets kind of the span.
 DocumentObject getParentNode()
          Provides the layout node that pertains to this particular entity.
 java.lang.String getText()
          Exports the contents of the entity into a string in plain text format.
 
Methods inherited from class com.spire.doc.pages.LayoutElement
getChildEntities, getPageIndex, getParent, getRectangle, getType
 

Constructor Detail

FixedLayoutSpan

public FixedLayoutSpan()
Initializes a new instance of the FixedLayoutSpan class.

Method Detail

getKind

public java.lang.String getKind()
Gets kind of the span. This cannot be null.

This is a more specific type of the current entity, e.g.bookmark span has Span type and May have either a BOOKMARKSTART or BOOKMARKEND kind.


getText

public java.lang.String getText()
Exports the contents of the entity into a string in plain text format.

Overrides:
getText in class LayoutElement

getParentNode

public DocumentObject getParentNode()
Provides the layout node that pertains to this particular entity.

This property returns null for spans that originate from Run nodes or nodes that are inside the header or footer.

Overrides:
getParentNode in class LayoutElement