ApiTableCell

class ApiTableCell

Description

Class representing a table cell.

Instance Methods

GetClassType(): tableCell

Returns the type of the ApiTableCell class.

GetContent(): ApiDocumentContent

Returns the current cell content.

SetShd(sType, r, g, b)

Specifies the shading which shall be applied to the extents of the current table cell.

SetCellMarginBottom(nValue)

Specifies an amount of space which shall be left between the bottom extent of the cell contents and the border of a specific individual table cell within a table.

SetCellMarginLeft(nValue)

Specifies an amount of space which shall be left between the left extent of the current cell contents and the left edge border of a specific individual table cell within a table.

SetCellMarginRight(nValue)

Specifies an amount of space which shall be left between the right extent of the current cell contents and the right edge border of a specific individual table cell within a table.

SetCellMarginTop(nValue)

Specifies an amount of space which shall be left between the top extent of the current cell contents and the top edge border of a specific individual table cell within a table.

SetCellBorderBottom(fSize, oApiFill)

Sets the border which shall be displayed at the bottom of the current table cell.

SetCellBorderLeft(fSize, oApiFill)

Sets the border which shall be displayed at the left of the current table cell.

SetCellBorderRight(fSize, oApiFill)

Sets the border which shall be displayed at the right of the current table cell.

SetCellBorderTop(fSize, oApiFill)

Sets the border which shall be displayed at the top of the current table cell.

SetVerticalAlign(sType)

Specifies the vertical alignment for text within the current table cell.

SetTextDirection(sType)

Specifies the direction of the text flow for the current table cell.

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).