|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.GroupShape
com.aspose.slides.Table
public final class Table
Represents the table on a slide.
Method Summary | |
---|---|
void |
addColumn()
Clones last column of a table and adds new column at the end of the table. |
void |
addRow()
Clones last row of a table and adds new row at the end of the table. |
void |
deleteColumn(int column)
Deletes column from a table. |
void |
deleteRow(int row)
Deletes row from a table. |
Cell |
getCell(int column,
int row)
Returns the cell of a table. |
int |
getColumnsNumber()
Returns number of columns in the table. |
int |
getColumnWidth(int column)
Returns the width of the specified column in a table. |
int |
getMinimalRowHeight(int row)
Returns user set row height. |
int |
getRotation()
Returns the number of degrees the specified group is rotated around the z-axis. |
int |
getRowHeight(int row)
Returns the height of the specified row in a table. |
int |
getRowsNumber()
Returns number of rows in the table. |
boolean |
isFlipH()
Determines whether the table is flipped horizontally. |
boolean |
isFlipV()
Determines whether the table is flipped vertically. |
Cell |
mergeCells(Cell cell1,
Cell cell2)
Merges two cells or throws exception if cells can't be merged. |
void |
setBorders(float width,
java.awt.Color color)
Shows or hides all borders and sets width and color of all borders in a table. |
void |
setColumnWidth(int column,
int width)
Sets new width for the specified column in a table. |
void |
setFlipH(boolean value)
Do nothing. |
void |
setFlipV(boolean value)
Do nothing. |
void |
setRotation(int value)
Sets the number of degrees the specified group is rotated around the z-axis. |
void |
setRowHeight(int row,
int height)
Sets new height for the specified row in a table. |
void |
splitCellH(Cell cell)
Splits cell of a table horizontally on two parts. |
void |
splitCellV(Cell cell)
Splits cell of a table vertically on two parts. |
Methods inherited from class com.aspose.slides.GroupShape |
---|
addTextFrame, getAlternativeText, getFillFormat, getLineFormat, getShapes, setAlternativeText |
Methods inherited from class com.aspose.slides.Shape |
---|
addLink, clearLink, createShapeElements, createShapeElements, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getHeight, getLink, getName, getParent, getPlaceholder, getShadowFormat, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, isHidden, isMasterTextHolder, isTextHolder, serialize, setHeight, setHidden, setName, setWidth, setX, setY, zOrder |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Cell getCell(int column, int row)
column
- row
-
public int getColumnsNumber()
public int getRowsNumber()
public int getRowHeight(int row) throws java.lang.IndexOutOfBoundsException
row
- Row index.
java.lang.IndexOutOfBoundsException
public void setRowHeight(int row, int height) throws java.lang.IndexOutOfBoundsException
row
- Row index.height
- New row minimal height.
java.lang.IndexOutOfBoundsException
public int getMinimalRowHeight(int row)
row
- Row index.
public int getColumnWidth(int column) throws java.lang.IndexOutOfBoundsException
column
- Column index.
java.lang.IndexOutOfBoundsException
public void setColumnWidth(int column, int width) throws java.lang.IndexOutOfBoundsException
column
- Column index.width
- New column width.
java.lang.IndexOutOfBoundsException
public void addRow() throws PptEditException
PptEditException
public void addColumn() throws PptEditException
PptEditException
public void deleteRow(int row) throws java.lang.IndexOutOfBoundsException
row
- the index of a row to delete.
java.lang.IndexOutOfBoundsException
public void deleteColumn(int column) throws java.lang.IndexOutOfBoundsException
column
- the index of a column to delete.
java.lang.IndexOutOfBoundsException
public Cell mergeCells(Cell cell1, Cell cell2) throws PptEditException
cell1
- First cell to merge.cell2
- Second cell to merge.
PptEditException
public void splitCellH(Cell cell) throws PptEditException
cell
- Cell to split.
PptEditException
public void splitCellV(Cell cell) throws PptEditException
cell
- Cell to split.
PptEditException
public int getRotation()
getRotation
in class GroupShape
public void setRotation(int value) throws PptEditException
setRotation
in class GroupShape
value
- the number of degrees the specified group is rotated around the z-axis.
PptEditException
public boolean isFlipH()
isFlipH
in class GroupShape
public void setFlipH(boolean value)
setFlipH
in class GroupShape
value
-
PptEditException
public boolean isFlipV()
isFlipV
in class GroupShape
public void setFlipV(boolean value)
setFlipV
in class GroupShape
value
-
PptEditException
public void setBorders(float width, java.awt.Color color)
width
- New width of all borders in a table. 0 to hide borders.color
- New color of all borders in a table.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |