|
||||||||
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 class Table
Represents the table on a slide.
Field Summary |
---|
Fields inherited from class com.aspose.slides.GroupShape |
---|
m_shapes |
Fields inherited from class com.aspose.slides.Shape |
---|
defaultConnectionPoints, emptyConnectionPoints, emptyShape, m_anchor, m_animationSettings, m_fillFormat, m_frame, m_lineFormat, m_link, m_nFSTVersion, m_options, m_parent, m_shadowFormat, m_shapesParent, m_tags, m_TextFrame, m_version |
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_index)
Deletes column from a table. |
void |
deleteRow(int row_index)
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()
Returns TRUE if a group was flipped horizontally. |
boolean |
isFlipV()
Returns TRUE if a group was 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)
Flips the group horizontally. |
void |
setFlipV(boolean value)
Flips the group vertically. |
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. |
protected void |
updateShapeSizes()
|
Methods inherited from class com.aspose.slides.GroupShape |
---|
addTextFrame, getAlternativeText, getAnchor, getFillFormat, getFrame, getgeoBottom, getgeoRight, getGrFrame, getLineFormat, getMasterShapeId, getShapeId, getShapes, setAlternativeText, updateTextColors |
Methods inherited from class com.aspose.slides.Shape |
---|
addLink, clearLink, createShapeElements, createShapeElements, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getHeight, getLink, getName, getOptions, getParent, getPlaceholder, getRotation0_360, getShadowFormat, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isHidden, isMasterTextHolder, isTextHolder, serialize, setHeight, setHidden, setName, setWidth, setX, setY, shouldDraw, zOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getColumnsNumber()
public int getRowsNumber()
protected void updateShapeSizes()
updateShapeSizes
in class GroupShape
public Cell getCell(int column, int row)
column
- Column index.row
- Row index.
public int getRowHeight(int row)
row
- Row index.
public void setRowHeight(int row, int height)
row
- Row index.height
- New row minimal height.public int getMinimalRowHeight(int row)
row
- Row index.
public int getColumnWidth(int column)
column
- Column index.
public void setColumnWidth(int column, int width)
column
- Column index.width
- New column width.public void addRow() throws PptEditException
PptEditException
public void addColumn() throws PptEditException
PptEditException
public void deleteRow(int row_index)
row_index
- Index of a row to delete.public void deleteColumn(int column_index)
column_index
- Index of a column to delete.public Cell mergeCells(Cell cell1, Cell cell2) throws PptException
cell1
- First cell to merge.cell2
- Second cell to merge.
PptException
public int getRotation()
getRotation
in class GroupShape
public void setRotation(int value)
GroupShape
setRotation
in class GroupShape
value
- new rotation angle.public boolean isFlipH()
isFlipH
in class GroupShape
public void setFlipH(boolean value)
GroupShape
setFlipH
in class GroupShape
value
- true to flip the group horizontally.public boolean isFlipV()
isFlipV
in class GroupShape
public void setFlipV(boolean value)
GroupShape
setFlipV
in class GroupShape
value
- true to flip the group vertically.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 |