pptx-template
pptx-template copied to clipboard
table: fill cells with csv data
if ID in table object refers a csv-setting (not a plaitn string), its CSV data will be inserted into the table, where it's top left position is the cell that the ID is written.
for example,
pptx:
+---------+-----+
| {data} | |
+---------+-----+
| | |
+---------+-----+
model:
{
"data" : {
"file_name": "data1.csv" // contains " X,Y [LF] 10,100"
}
}
will be like:
+---------+-----+
| X | Y |
+---------+-----+
| 10 | 100 |
+---------+-----+