|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
aspose.pdf.Paragraphs
public class Paragraphs
Represents a collection of Paragraph
objects.
Typical usages are the following:
Constructor Summary | |
---|---|
Paragraphs()
|
Method Summary | |
---|---|
void |
add(Paragraph paragraph)
Adds a new Paragraph object into the collection. |
void |
addHeading(Paragraph paragraph)
Adds a heading Paragraph to the collection. |
void |
addPara(Paragraph paragraph)
Adds a new Paragraph object into the collection |
void |
combineBorder()
Combine border of the given Paragraph. |
int |
combinePos(int index)
Set combine of the given Paragraph of the collection. |
void |
copyTo(Paragraph[] paraArray,
int index)
Copies the elements to a Paragraph object array, starting at a specified array index. |
java.lang.Object |
getObjectByID(java.lang.String ID)
Get the object by input ID. |
Paragraph |
getParagraph(int index)
Gets a Paragraph object from the collection
according to Paragraph index. |
Paragraph |
getParagraph(java.lang.String paragraphID)
Gets Paragraph object from the collection according to Paragraph ID. |
int |
indexOf(Paragraph paragraph)
Gets the index of a specified Paragraph object in the collection. |
void |
insert(Paragraph paragraphToInsertAfter,
Paragraph newParagraph)
Inserts a new Paragraph object into the collection after specified Cell
object. |
void |
insertHeading(int index,
Paragraph newParagraph)
Inserts a heading Paragraph into the given position of the collection. |
void |
insertPara(int index,
Paragraph paragraph)
Inserts a new Paragraph object into the collection at specified position. |
void |
insertPara(Paragraph paragraphToInsertAfter,
Paragraph newParagraph)
Inserts a new Paragraph object into the collection after specified Cell
object. |
void |
moveAfter(Paragraph paragraphToMoveAfter,
Paragraphs newParagraphs)
Moves a Paragraph object to end of the collection. |
void |
moveAt(Paragraph paragraphToMoveAt,
Paragraphs newParagraphs)
Moves a Paragraph object to the collection. |
Paragraph |
nextParagraph(Paragraph paragraph)
Gets the next Paragraph object of the given one. |
void |
remove(Paragraph paragraphToRemove)
Removes a Paragraph object from the collection. |
void |
setParagraph(int index,
Paragraph value)
Sets a Paragraph object from the collection according to Paragraph index. |
void |
setParagraph(java.lang.String paragraphID,
Paragraph value)
Sets Paragraph object from the collection according to Paragraph ID. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public Paragraphs()
Method Detail |
---|
public void add(Paragraph paragraph)
Paragraph
object into the collection.
paragraph
- The Paragraph
object to be added.public void addPara(Paragraph paragraph)
Paragraph
object into the collection
paragraph
- The Paragraph
object to be added.public Paragraph getParagraph(int index)
Paragraph
object from the collection
according to Paragraph index.
index
- public void setParagraph(int index, Paragraph value)
Paragraph
object from the collection according to Paragraph index.
index
- value
- public Paragraph getParagraph(java.lang.String paragraphID)
Paragraph
object from the collection according to Paragraph ID.
public void setParagraph(java.lang.String paragraphID, Paragraph value)
Paragraph
object from the collection according to Paragraph ID.
paragraphID
- value
- public Paragraph nextParagraph(Paragraph paragraph)
Paragraph
object of the given one.
paragraph
- public int indexOf(Paragraph paragraph)
Paragraph
object in the collection.
paragraph
- public void insertPara(int index, Paragraph paragraph)
Paragraph
object into the collection at specified position.
index
- paragraph
- public void insertPara(Paragraph paragraphToInsertAfter, Paragraph newParagraph)
Paragraph
object into the collection after specified Cell
object.
paragraphToInsertAfter
- newParagraph
- public void insert(Paragraph paragraphToInsertAfter, Paragraph newParagraph)
Paragraph
object into the collection after specified Cell
object.
paragraphToInsertAfter
- newParagraph
- public void remove(Paragraph paragraphToRemove)
Paragraph
object from the collection.
paragraphToRemove
- public void moveAt(Paragraph paragraphToMoveAt, Paragraphs newParagraphs)
Paragraph
object to the collection.
paragraphToMoveAt
- newParagraphs
- public void moveAfter(Paragraph paragraphToMoveAfter, Paragraphs newParagraphs)
Paragraph
object to end of the collection.
paragraphToMoveAfter
- newParagraphs
- public void copyTo(Paragraph[] paraArray, int index)
public void addHeading(Paragraph paragraph)
paragraph
- public void insertHeading(int index, Paragraph newParagraph)
index
- newParagraph
- public int combinePos(int index)
index
- public void combineBorder()
public java.lang.Object getObjectByID(java.lang.String ID)
ID
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |