|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.documents.TextBodySelection
public class TextBodySelection
Represents a selection of part of text body.
Constructor Summary | |
---|---|
TextBodySelection(IBody textBody,
int itemStartIndex,
int itemEndIndex,
int pItemStartIndex,
int pItemEndIndex)
Initializes a new instance of the |
|
TextBodySelection(ParagraphBase itemStart,
ParagraphBase itemEnd)
Initializes a new instance of the |
Method Summary | |
---|---|
int |
getItemEndIndex()
Gets or sets the end index of the text body item. |
int |
getItemStartIndex()
Gets or sets the start index of the text body item. |
int |
getParagraphItemEndIndex()
Gets or sets the end index of the paragraph item. |
int |
getParagraphItemStartIndex()
Gets or sets the start index of the paragraph item. |
Body |
getTextBody()
Gets the text body. |
void |
setItemEndIndex(int value)
Gets or sets the end index of the text body item. |
void |
setItemStartIndex(int value)
Gets or sets the start index of the text body item. |
void |
setParagraphItemEndIndex(int value)
Gets or sets the end index of the paragraph item. |
void |
setParagraphItemStartIndex(int value)
Gets or sets the start index of the paragraph item. |
Constructor Detail |
---|
public TextBodySelection(ParagraphBase itemStart, ParagraphBase itemEnd)
itemStart
- The item start.itemEnd
- The item end.public TextBodySelection(IBody textBody, int itemStartIndex, int itemEndIndex, int pItemStartIndex, int pItemEndIndex)
textBody
- The text body.itemStartIndex
- Start index of the item.itemEndIndex
- End index of the item.pItemStartIndex
- Start index of the paragraph item.pItemEndIndex
- End index of the paragraph item.Method Detail |
---|
public Body getTextBody()
public int getItemStartIndex()
public void setItemStartIndex(int value)
public int getItemEndIndex()
public void setItemEndIndex(int value)
public int getParagraphItemStartIndex()
public void setParagraphItemStartIndex(int value)
public int getParagraphItemEndIndex()
public void setParagraphItemEndIndex(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |