com.aspose.slides
Class TableEx

java.lang.Object
  extended by com.aspose.slides.ShapeEx
      extended by com.aspose.slides.GraphicalObjectEx
          extended by com.aspose.slides.TableEx

public final class TableEx
extends GraphicalObjectEx

Represents a table on a slide.


Method Summary
 CellEx get_Item(int columnIndex, int rowIndex)
           Returns the cell at the specified column and row indexes.
 ColumnExCollection getColumns()
           Returns the collectoin of columns.
 boolean getFirstCol()
           Determines whether the first column of a table has to be drawn with a special formatting.
 boolean getFirstRow()
           Determines whether the first row of a table has to be drawn with a special formatting.
 boolean getHorizontalBanding()
           Determines whether the even rows has to be drawn with a different formatting.
 boolean getLastCol()
           Determines whether the last column of a table has to be drawn with a special formatting.
 boolean getLastRow()
           Determines whether the last row of a table has to be drawn with a special formatting.
 boolean getRightToLeft()
           Determines whether the table has right to left reading order.
 RowExCollection getRows()
           Returns the collectoin of rows.
 int getStylePreset()
           Get's or sets builtin table style.
 boolean getVerticalBanding()
           Determines whether the even columns has to be drawn with a different formatting.
 float getX()
           Returns or sets the x-coordinate of the upper-left corner of the table.
 float getY()
           Returns or sets the y-coordinate of the upper-left corner of the table.
 void mergeCells(CellEx cell1, CellEx cell2, boolean allowSplitting)
           Merges neighbour cells.
 void setFirstCol(boolean value)
           
 void setFirstRow(boolean value)
           
 void setHorizontalBanding(boolean value)
           
 void setLastCol(boolean value)
           
 void setLastRow(boolean value)
           
 void setRightToLeft(boolean value)
           
 void setStylePreset(int value)
           
 void setVerticalBanding(boolean value)
           
 void setX(float value)
           
 void setY(float value)
           
 
Methods inherited from class com.aspose.slides.GraphicalObjectEx
getShapeLock
 
Methods inherited from class com.aspose.slides.ShapeEx
addPlaceholder, createEffectFormatData, createFillFormatData, createLineFormatData, createThreeDFormatData, getAlternativeText, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHLinkClick, getHLinkMouseOver, getLineFormat, getName, getParent, getPlaceholder, getPresentation, getRawFrame, getRotation, getSlide, getTags, getThreeDFormat, getWidth, getZOrderPosition, isTextHolder, removePlaceholder, setAlternativeText, setFrame, setHeight, setHidden, setHLinkClick, setHLinkMouseOver, setName, setRawFrame, setRotation, setWidth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mergeCells

public void mergeCells(CellEx cell1,
                       CellEx cell2,
                       boolean allowSplitting)

Merges neighbour cells.

Parameters:
cell1 - Cell to merge.
cell2 - Cell to merge.
allowSplitting - True to allow cells splitting.

getStylePreset

public int getStylePreset()

Get's or sets builtin table style. Read/write TableStylePresetEx.


setStylePreset

public void setStylePreset(int value)

get_Item

public CellEx get_Item(int columnIndex,
                       int rowIndex)

Returns the cell at the specified column and row indexes. Read-only CellEx.


getRows

public RowExCollection getRows()

Returns the collectoin of rows. Read-only RowExCollection.


getColumns

public ColumnExCollection getColumns()

Returns the collectoin of columns. Read-only ColumnExCollection.


getRightToLeft

public boolean getRightToLeft()

Determines whether the table has right to left reading order. Read-write bool.


setRightToLeft

public void setRightToLeft(boolean value)

getFirstRow

public boolean getFirstRow()

Determines whether the first row of a table has to be drawn with a special formatting. Read/write bool.


setFirstRow

public void setFirstRow(boolean value)

getFirstCol

public boolean getFirstCol()

Determines whether the first column of a table has to be drawn with a special formatting. Read/write bool.


setFirstCol

public void setFirstCol(boolean value)

getLastRow

public boolean getLastRow()

Determines whether the last row of a table has to be drawn with a special formatting. Read/write bool.


setLastRow

public void setLastRow(boolean value)

getLastCol

public boolean getLastCol()

Determines whether the last column of a table has to be drawn with a special formatting. Read/write bool.


setLastCol

public void setLastCol(boolean value)

getHorizontalBanding

public boolean getHorizontalBanding()

Determines whether the even rows has to be drawn with a different formatting. Read/write bool.


setHorizontalBanding

public void setHorizontalBanding(boolean value)

getVerticalBanding

public boolean getVerticalBanding()

Determines whether the even columns has to be drawn with a different formatting. Read/write bool.


setVerticalBanding

public void setVerticalBanding(boolean value)

getX

public float getX()

Returns or sets the x-coordinate of the upper-left corner of the table. Read/write int.

Overrides:
getX in class ShapeEx

setX

public void setX(float value)
Overrides:
setX in class ShapeEx

getY

public float getY()

Returns or sets the y-coordinate of the upper-left corner of the table. Read/write int.

Overrides:
getY in class ShapeEx

setY

public void setY(float value)
Overrides:
setY in class ShapeEx