|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.collections.DocumentSubsetCollection
com.spire.doc.collections.ParagraphCollection
public class ParagraphCollection
Represents a collection of
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.spire.doc.collections.DocumentSubsetCollection |
|---|
DocumentSubsetCollection.SubSetEnumerator |
| Constructor Summary | |
|---|---|
ParagraphCollection(BodyRegionCollection bodyItems)
Initializes a new instance of the |
|
| Method Summary | |
|---|---|
int |
add(IParagraph paragraph)
Adds a paragraph to end of text body. |
boolean |
contains(IParagraph paragraph)
Determines whether the |
Paragraph |
get(int index)
Gets the |
int |
indexOf(IParagraph paragraph)
Returns the zero-based index of the specified paragraph. |
void |
insert(int index,
IParagraph paragraph)
Inserts a paragraph into collection at the specified index. |
void |
remove(IParagraph paragraph)
Removes the specified paragraph. |
void |
removeAt(int index)
Removes the paragraph at the specified index from the collection. |
| Methods inherited from class com.spire.doc.collections.DocumentSubsetCollection |
|---|
clear, getCount, getDocument, getOwner, iterator |
| Methods inherited from interface com.spire.doc.interfaces.ICollectionBase |
|---|
getCount |
| Constructor Detail |
|---|
public ParagraphCollection(BodyRegionCollection bodyItems)
bodyItems - The body items.| Method Detail |
|---|
public Paragraph get(int index)
get in interface IParagraphCollectionget in class DocumentSubsetCollectionindex -
public int add(IParagraph paragraph)
add in interface IParagraphCollectionparagraph - The paragraph.
public boolean contains(IParagraph paragraph)
paragraph - The paragraph.
public void insert(int index,
IParagraph paragraph)
insert in interface IParagraphCollectionindex - The index.paragraph - The paragraph.public int indexOf(IParagraph paragraph)
indexOf in interface IParagraphCollectionparagraph - The paragraph.
public void remove(IParagraph paragraph)
paragraph - The paragraph.public void removeAt(int index)
removeAt in interface IParagraphCollectionindex - The index.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||