com.aspose.slides
Class Table

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.GraphicalObject
          extended by com.aspose.slides.Table
All Implemented Interfaces:
IGraphicalObject, IHyperlinkContainer, IPresentationComponent, IShape, ISlideComponent, ITable

public final class Table
extends GraphicalObject
implements ITable

Represents a table on a slide.


Method Summary
 ICell get_Item(int columnIndex, int rowIndex)
           Returns the cell at the specified column and row indexes.
 IGraphicalObject getAsIGraphicalObject()
           
 IColumnCollection 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.
 IRowCollection 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.
 ICell mergeCells(ICell cell1, ICell 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)
           
 
Methods inherited from class com.aspose.slides.GraphicalObject
getShapeLock
 
Methods inherited from class com.aspose.slides.Shape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHLinkClick, getHLinkMouseOver, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getSlide, getTags, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setFrame, setHeight, setHidden, setHLinkClick, setHLinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.IGraphicalObject
getShapeLock
 
Methods inherited from interface com.aspose.slides.IShape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 
Methods inherited from interface com.aspose.slides.IHyperlinkContainer
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
 

Method Detail

mergeCells

public ICell mergeCells(ICell cell1,
                        ICell cell2,
                        boolean allowSplitting)

Merges neighbour cells.

Specified by:
mergeCells in interface ITable
Parameters:
cell1 - Cell to merge.
cell2 - Cell to merge.
allowSplitting - True to allow cells splitting.
Returns:
Merged cell.

getStylePreset

public int getStylePreset()

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

Specified by:
getStylePreset in interface ITable

setStylePreset

public void setStylePreset(int value)
Specified by:
setStylePreset in interface ITable

get_Item

public ICell get_Item(int columnIndex,
                      int rowIndex)

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

Specified by:
get_Item in interface ITable

getRows

public IRowCollection getRows()

Returns the collectoin of rows. Read-only RowCollection.

Specified by:
getRows in interface ITable

getColumns

public IColumnCollection getColumns()

Returns the collectoin of columns. Read-only ColumnCollection.

Specified by:
getColumns in interface ITable

getRightToLeft

public boolean getRightToLeft()

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

Specified by:
getRightToLeft in interface ITable

setRightToLeft

public void setRightToLeft(boolean value)
Specified by:
setRightToLeft in interface ITable

getFirstRow

public boolean getFirstRow()

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

Specified by:
getFirstRow in interface ITable

setFirstRow

public void setFirstRow(boolean value)
Specified by:
setFirstRow in interface ITable

getFirstCol

public boolean getFirstCol()

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

Specified by:
getFirstCol in interface ITable

setFirstCol

public void setFirstCol(boolean value)
Specified by:
setFirstCol in interface ITable

getLastRow

public boolean getLastRow()

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

Specified by:
getLastRow in interface ITable

setLastRow

public void setLastRow(boolean value)
Specified by:
setLastRow in interface ITable

getLastCol

public boolean getLastCol()

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

Specified by:
getLastCol in interface ITable

setLastCol

public void setLastCol(boolean value)
Specified by:
setLastCol in interface ITable

getHorizontalBanding

public boolean getHorizontalBanding()

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

Specified by:
getHorizontalBanding in interface ITable

setHorizontalBanding

public void setHorizontalBanding(boolean value)
Specified by:
setHorizontalBanding in interface ITable

getVerticalBanding

public boolean getVerticalBanding()

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

Specified by:
getVerticalBanding in interface ITable

setVerticalBanding

public void setVerticalBanding(boolean value)
Specified by:
setVerticalBanding in interface ITable

getAsIGraphicalObject

public IGraphicalObject getAsIGraphicalObject()
Specified by:
getAsIGraphicalObject in interface ITable