![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.powerpoint.Shape
com.aspose.powerpoint.GroupShape
com.aspose.powerpoint.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 |
getHeight()
Returns the height of a table. |
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. |
int |
getWidth()
Returns or sets the width of a table. |
int |
getX()
Returns the x-coordinate of the upper-left corner of the shape. |
int |
getY()
Returns the y-coordinate of the upper-left corner of the shape. |
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 |
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 |
setHeight(int value)
Sets the height of a table. |
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 |
setWidth(int value)
Sets the width of a table. |
void |
setX(int value)
Sets the x-coordinate of the upper-left corner of the shape. |
void |
setY(int value)
Sets the y-coordinate of the upper-left corner of the shape. |
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.powerpoint.GroupShape |
---|
addTextFrame, getAlternativeText, getFillFormat, getLineFormat, getShapes, setAlternativeText |
Methods inherited from class com.aspose.powerpoint.Shape |
---|
addLink, clearLink, getAnimationSettings, getLink, getParent, getTags, getTextFrame, getZOrderPosition, isTextHolder, 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 height.
java.lang.IndexOutOfBoundsException
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, AsposeLicenseException
cell1
- First cell to merge.cell2
- Second cell to merge.
PptEditException
AsposeLicenseException
public void splitCellH(Cell cell) throws PptEditException, AsposeLicenseException
cell
- Cell to split.
PptEditException
AsposeLicenseException
public void splitCellV(Cell cell) throws PptEditException, AsposeLicenseException
cell
- Cell to split.
PptEditException
AsposeLicenseException
public int getX()
getX
in class Shape
public void setX(int value)
setX
in class Shape
value
- the x-coordinate of the upper-left corner of the shape.public int getY()
getY
in class Shape
public void setY(int value)
setY
in class Shape
value
- the y-coordinate of the upper-left corner of the shape.public int getWidth()
getWidth
in class Shape
public void setWidth(int value)
setWidth
in class Shape
value
- the width of a table.public int getHeight()
getHeight
in class Shape
public void setHeight(int value)
setHeight
in class Shape
value
- the height of a table.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) throws PptEditException
setFlipH
in class GroupShape
value
-
PptEditException
public boolean isFlipV()
isFlipV
in class GroupShape
public void setFlipV(boolean value) throws PptEditException
setFlipV
in class GroupShape
value
-
PptEditException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |