com.spire.doc.pages
Class FixedLayoutLine

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

public class FixedLayoutLine
extends LayoutElement

Represents line of characters of text and inline objects.


Constructor Summary
FixedLayoutLine()
           
 
Method Summary
 Paragraph getParagraph()
          Returns the paragraph that corresponds to the layout entity.
 LayoutCollection<FixedLayoutSpan> getSpans()
          Provides access to the spans of the line.
 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, getParentNode, getRectangle, getType
 

Constructor Detail

FixedLayoutLine

public FixedLayoutLine()
Method Detail

getText

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

Overrides:
getText in class LayoutElement

getParagraph

public Paragraph getParagraph()
Returns the paragraph that corresponds to the layout entity.

This property may return null for some lines such as those inside the header or footer.


getSpans

public LayoutCollection<FixedLayoutSpan> getSpans()
Provides access to the spans of the line.