![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.pdf.elements.PdfElementBase
com.aspose.pdf.elements.Paragraphs
Represents a collection of Paragraph objects.
Constructor Summary | |
Paragraphs(ElementFactory elementFactory)
Initializes a new instance of the Paragraphs class. |
Method Summary | |
void |
add(Paragraph paragraph)
Adds a new Paragraph object into the collection. |
void |
clear()
Clear paragraphs of pdf. |
java.lang.Object |
clone()
Paragraphs does not support clone method. |
Paragraph |
get(int index)
|
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
int |
indexOf(Paragraph paragraph)
Gets the index of a specified paragraph in the collection. |
void |
Insert(int index,
Paragraph paragraph)
Inserts a new Paragraph object into the collection at specified position. |
boolean |
isEmpty()
Returns true if the collection contains no paragraph. |
java.util.Iterator |
iterator()
Returns an iterator over the paragraph objects in paragraphs in proper sequence. |
void |
remove(int index)
Removes a Paragraph object from the collection at the specified position. |
void |
remove(Paragraph paragraph)
Removes a Paragraph object from the collection. |
int |
size()
Gets the size of paragraph objects collection. |
Methods inherited from class com.aspose.pdf.elements.PdfElementBase |
getElementFactory, getID, getNameIndex, setID |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Paragraphs(ElementFactory elementFactory)
elementFactory
- xsl-fo DOM element factory.Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class PdfElementBase
java.lang.CloneNotSupportedException
java.lang.Object#clone()
public void add(Paragraph paragraph)
paragraph
- the paragraph that will be added.public void clear()
public int indexOf(Paragraph paragraph)
public void Insert(int index, Paragraph paragraph)
index
- The position that the paragraph will be inserted at.paragraph
- the paragraph that willed inserted.public void remove(Paragraph paragraph)
paragraph
- The paragraph that willed removed.public void remove(int index)
index
- The index of the paragraph that willed removed.public int size()
public java.util.Iterator iterator()
public boolean isEmpty()
public Paragraph get(int index)
public org.w3c.dom.Element getDOMElement() throws AsposeBaseException
PdfElementBase
getDOMElement
in class PdfElementBase
AsposeBaseException
PdfElementBase.getDOMElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |