Populate simple table
Fill a table using a two-dimensional array of cell values
Use the
data_cells
object to populate a table shape. It is a 2-dimensions array of cell values.Each cell value can be a simple string or a text object.
You can provide more or fewer rows or columns than the template shape
Reference: table
Download: input.zip | output.pptx


{
"presentation": {
"template": "template.pptx",
"slides": [
{
"slide_index": 0,
"shapes": [
{
"name": "Table 1",
"data_cells": [
[
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun"
],
[
"45",
"65",
"23",
"63",
"74",
"69"
],
[
"1",
"98",
"6",
"45",
"41",
"60"
]
]
}
]
}
]
}
}
Last updated
Was this helpful?