|
||||||||
| 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(double width,
java.awt.Color color)
|
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, getAnimationSettings, getHeight, getLink, getName, getParent, getPlaceholder, getTags, getTextFrame, 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.IndexOutOfBoundsExceptionpublic 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.
PptEditExceptionpublic int getRotation()
getRotation in class GroupShape
public void setRotation(int value)
throws PptEditException
setRotation in class GroupShapevalue - the number of degrees the specified group is rotated around the z-axis.
PptEditExceptionpublic boolean isFlipH()
isFlipH in class GroupShape
public void setFlipH(boolean value)
throws PptEditException
setFlipH in class GroupShapevalue -
PptEditExceptionpublic boolean isFlipV()
isFlipV in class GroupShape
public void setFlipV(boolean value)
throws PptEditException
setFlipV in class GroupShapevalue -
PptEditException
public void setBorders(double width,
java.awt.Color color)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||