pptx-template
pptx-template copied to clipboard
Settings to be applied to all slides
Problem
If all slides have the same string like "Created date: 2017-10-20", model.json should have the same setting on EVERY slide settings.
Solution
Introduce "global" setting into model.json
Specification
The same settings for each slides, but written under "global" key in JSON.
If a key in "slides" setting has the same name with the key defined in "global", the value defined in "slides" is used.
{
"global": {
"<key1>": "<value1>",
"<key2>": { <chart settings> }
},
"slides": {
"<slide_id>": {
"<key1>": "<value1_local>", # this value is used instead of <value1> in global
....
}
}