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.
 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)
           Determines whether the first column of a table has to be drawn with a special formatting.
 void setFirstRow(boolean value)
           Determines whether the first row of a table has to be drawn with a special formatting.
 void setHorizontalBanding(boolean value)
           Determines whether the even rows has to be drawn with a different formatting.
 void setLastCol(boolean value)
           Determines whether the last column of a table has to be drawn with a special formatting.
 void setLastRow(boolean value)
           Determines whether the last row of a table has to be drawn with a special formatting.
 void setRightToLeft(boolean value)
           Determines whether the table has right to left reading order.
 void setStylePreset(int value)
           Get's or sets builtin table style.
 void setVerticalBanding(boolean value)
           Determines whether the even columns has to be drawn with a different formatting.
 
Methods inherited from class com.aspose.slides.GraphicalObject
getGraphicalObjectLock
 
Methods inherited from class com.aspose.slides.Shape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHLinkClick, getHLinkMouseOver, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getTags, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, 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
getGraphicalObjectLock
 
Methods inherited from interface com.aspose.slides.IShape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, 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 final 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 final int getStylePreset()

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

Specified by:
getStylePreset in interface ITable

setStylePreset

public final void setStylePreset(int value)

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

Specified by:
setStylePreset in interface ITable

get_Item

public final 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 final IRowCollection getRows()

Returns the collectoin of rows. Read-only IRowCollection.

Specified by:
getRows in interface ITable

getColumns

public final IColumnCollection getColumns()

Returns the collectoin of columns. Read-only IColumnCollection.

Specified by:
getColumns in interface ITable

getRightToLeft

public final boolean getRightToLeft()

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

Specified by:
getRightToLeft in interface ITable

setRightToLeft

public final void setRightToLeft(boolean value)

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

Specified by:
setRightToLeft in interface ITable

getFirstRow

public final 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 final void setFirstRow(boolean value)

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

Specified by:
setFirstRow in interface ITable

getFirstCol

public final 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 final void setFirstCol(boolean value)

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

Specified by:
setFirstCol in interface ITable

getLastRow

public final 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 final void setLastRow(boolean value)

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

Specified by:
setLastRow in interface ITable

getLastCol

public final 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 final void setLastCol(boolean value)

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

Specified by:
setLastCol in interface ITable

getHorizontalBanding

public final 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 final void setHorizontalBanding(boolean value)

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

Specified by:
setHorizontalBanding in interface ITable

getVerticalBanding

public final 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 final void setVerticalBanding(boolean value)

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

Specified by:
setVerticalBanding in interface ITable


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.