Microsoft Word · JSON Structure

Javascript Api Table Structure

Represents a table in a Word document.

Type: object Properties: 6
DocumentsMicrosoft 365OfficeProductivityWord Processing

Table is a JSON Structure definition published by Microsoft Word, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id rowCount columnCount style alignment headerRowCount

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-word/refs/heads/main/json-structure/javascript-api-table-structure.json",
  "name": "Table",
  "description": "Represents a table in a Word document.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "description": "Unique identifier of the table." },
    "rowCount": { "type": "int32", "description": "Number of rows in the table." },
    "columnCount": { "type": "int32", "description": "Number of columns in the table." },
    "style": { "type": "string", "description": "Style name applied to the table." },
    "alignment": { "type": "string", "description": "Table alignment.", "enum": ["Left", "Centered", "Right"] },
    "headerRowCount": { "type": "int32", "description": "Number of header rows." }
  }
}