|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.documents.textbodypart
public class textbodypart
represents a part of text body.
constructor summary | |
---|---|
textbodypart()
initializes a new instance of the textbodypart class. |
|
textbodypart(document doc)
initializes a new instance of the textbodypart class. |
|
textbodypart(textbodyselection textbodyselection)
initializes a new instance of the textbodypart class. |
|
textbodypart(textselection textselection)
initializes a new instance of the textbodypart class. |
method summary | |
---|---|
void |
clear()
clears this instance. |
void |
copy(bodyregion bodyitem,
boolean clone)
copies the specified body item. |
void |
copy(paragraphbase pitem,
boolean clone)
copies the specified p item. |
void |
copy(textbodyselection textsel)
copies text from selection. |
void |
copy(textselection textsel)
copies text from selection. |
bodyregioncollection |
getbodyitems()
gets the body items. |
void |
pasteafter(bodyregion bodyitem)
pastes after specified item. |
void |
pasteafter(paragraphbase paragraphitem)
pastes after specified paragraph item. |
void |
pasteat(ibody textbody,
int itemindex)
pastes at specified position. |
void |
pasteat(ibody textbody,
int itemindex,
int pitemindex)
pastes at specified position. |
void |
pasteatend(ibody textbody)
pastes at end of textbody. |
constructor detail |
---|
public textbodypart()
textbodypart
class.
public textbodypart(textbodyselection textbodyselection)
textbodypart
class.
textbodyselection
- the text body selection.public textbodypart(textselection textselection)
textbodypart
class.
textselection
- the text selection.public textbodypart(document doc)
textbodypart
class.
doc
- the doc.method detail |
---|
public bodyregioncollection getbodyitems()
public void clear()
public void copy(textselection textsel)
textsel
- the text selection.public void copy(textbodyselection textsel)
textsel
- the text selection.public void copy(bodyregion bodyitem, boolean clone)
bodyitem
- the body item.clone
- if it is to clone, set to truepublic void copy(paragraphbase pitem, boolean clone)
pitem
- the p item.clone
- if it is to clone, set to truepublic void pasteafter(bodyregion bodyitem)
bodyitem
- the body item.public void pasteafter(paragraphbase paragraphitem)
paragraphitem
- the paragraph item.public void pasteat(ibody textbody, int itemindex)
textbody
- the text body.itemindex
- index of the item.public void pasteat(ibody textbody, int itemindex, int pitemindex)
textbody
- the text body.itemindex
- index of the item.pitemindex
- index of the p item.public void pasteatend(ibody textbody)
textbody
- the text body.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |