|
||
| 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.Sections
Represents a collection of Section objects.
| Constructor Summary | |
Sections(ElementFactory elementFactory)
Initializes a new instance of the Sections class. |
|
| Method Summary | |
Section |
add()
Initializes a new instance of the Section class and add it to the Sections collection. |
void |
add(Section section)
Adds a new Section object into the collection. |
void |
clear()
Clear sections of pdf. |
java.lang.Object |
clone()
Sections does not support clone method. |
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
int |
indexOf(Section section)
Gets the index of a specified section in the collection. |
void |
Insert(int index,
Section section)
Inserts a new Section object into the collection at specified position. |
boolean |
isEmpty()
Returns true if the collection contains no section. |
java.util.Iterator |
iterator()
Returns an iterator over the section objects in sections in proper sequence. |
void |
remove(int index)
Removes a Section object from the collection at the specified position. |
void |
remove(Section section)
Removes a Section object from the collection. |
int |
size()
Gets the size of section 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 Sections(ElementFactory elementFactory)
elementFactory - xsl-fo DOM element factory.| Method Detail |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class PdfElementBasejava.lang.CloneNotSupportedExceptionjava.lang.Object#clone()public void add(Section section)
section - the section that will be added.
public Section add()
throws AsposeBaseException
AsposeBaseExceptionpublic void clear()
public int indexOf(Section section)
public void Insert(int index,
Section section)
index - The position that the section will be inserted at.section - the section that willed inserted.public void remove(Section section)
section - The section that willed removed.public void remove(int index)
index - The index of the section that willed removed.public int size()
public java.util.Iterator iterator()
public boolean isEmpty()
public org.w3c.dom.Element getDOMElement()
throws AsposeBaseException
PdfElementBase
getDOMElement in class PdfElementBaseAsposeBaseExceptionPdfElementBase.getDOMElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||