|
|||||||||
| 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 class. |
|
TextBodySelection(ParagraphBase itemStart,
ParagraphBase itemEnd)
Initializes a new instance of the TextBodySelection class. |
|
| Method Summary | |
|---|---|
int |
getItemEndIndex()
Gets the end index of the text body item. |
int |
getItemStartIndex()
Gets the start index of the text body item. |
int |
getParagraphItemEndIndex()
Gets the end index of the paragraph item. |
int |
getParagraphItemStartIndex()
Gets the start index of the paragraph item. |
Body |
getTextBody()
Gets the text body. |
void |
setItemEndIndex(int value)
Sets the end index of the text body item. |
void |
setItemStartIndex(int value)
Sets the start index of the text body item. |
void |
setParagraphItemEndIndex(int value)
Sets the end index of the paragraph item. |
void |
setParagraphItemStartIndex(int value)
Sets the start index of the paragraph item. |
| Constructor Detail |
|---|
public TextBodySelection(ParagraphBase itemStart,
ParagraphBase itemEnd)
TextBodySelection class.
itemStart - The item start.itemEnd - The item end.
public TextBodySelection(IBody textBody,
int itemStartIndex,
int itemEndIndex,
int pItemStartIndex,
int pItemEndIndex)
TextBodySelection class.
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)
value - The start index of the item.<public int getItemEndIndex()
public void setItemEndIndex(int value)
value - The end index of the item.public int getParagraphItemStartIndex()
public void setParagraphItemStartIndex(int value)
value - The start index of the item.public int getParagraphItemEndIndex()
public void setParagraphItemEndIndex(int value)
value - The end index of the item.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||