pptx-template icon indicating copy to clipboard operation
pptx-template copied to clipboard

table: fill cells with csv data

Open reki2000 opened this issue 7 years ago • 0 comments

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 |
+---------+-----+

reki2000 avatar Jun 09 '17 05:06 reki2000