com.aspose.slides.pptx
Class RowsEx

java.lang.Object
  extended by com.aspose.slides.pptx.RowsEx

public class RowsEx
extends java.lang.Object

Represents a collection of rows.


Method Summary
 int addClone(RowEx template, boolean withAttachedRows)
          Creates a copy of the specified template row and inserts it at the bottom of a table.
 RowEx get(int index)
          Gets the element at the specified index.
 void insertClone(int index, RowEx template, boolean withAttachedRows)
          Creates a copy of the specified template row and insert it at the specified position in a table.
 java.util.Iterator<RowEx> iterator()
          Returns an iterator for the entire collection.
 void removeAt(int firstRowIndex, boolean withAttachedRows)
          Removes a row at the specified position from a table.
 int size()
          Gets the number of elements actually contained in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public RowEx get(int index)
Gets the element at the specified index.

Parameters:
index - index of the element to return.
Returns:
See RowEx.

size

public int size()
Gets the number of elements actually contained in the collection.


iterator

public java.util.Iterator<RowEx> iterator()
Returns an iterator for the entire collection.


addClone

public int addClone(RowEx template,
                    boolean withAttachedRows)
Creates a copy of the specified template row and inserts it at the bottom of a table.

Parameters:
template - Row which is used as a template.
withAttachedRows - True to copy also all rows attached to the template row.
Returns:
Index of a new row.

insertClone

public void insertClone(int index,
                        RowEx template,
                        boolean withAttachedRows)
Creates a copy of the specified template row and insert it at the specified position in a table.

Parameters:
index - Index of a new row.
template - Row which is used as a template.
withAttachedRows - True to copy also all rows attached to the template row.

removeAt

public void removeAt(int firstRowIndex,
                     boolean withAttachedRows)
Removes a row at the specified position from a table.

Parameters:
firstRowIndex - Index of a row to delete.
withAttachedRows - True to delete also all attached rows.