Using bullet-points
Last updated
Last updated
Find the shape name
you want to update. See here to find shape names.
Use text_run
to list your text into separate chunks.
Control bullet-point properties in text_properties
.
Before and After
Template Presentation:
JSON Payload
{
"presentation": {
"template": "bullet-point-example.pptx",
"export_version": "Pptx2010",
"slides": [
{
"slide_index": 0,
"shapes": [
{
"name": "TextBox 7",
"text": [
{
"text_run": "Below below is a list:\n",
"text_properties": {
"font_type": "Arial"
}
},
{
"text_run": "This is the start of the list",
"text_properties": {
"bullet": true,
"bullet_font_name": "Wingdings",
"bullet_character_code": 158,
"bullet_color": "pink",
"bullet_indent_level": 1,
"bullet_size": 100,
"bullet_type": "Symbol",
"font_size": 15,
"font_type": "Arial Black"
}
},
{
"text_run": "This is the second",
"text_properties": {
"bullet": true,
"bullet_font_name": "Wingdings",
"bullet_character_code": 167,
"bullet_color": "0,150,0",
"bullet_indent_level": 2,
"bullet_size": 100,
"bullet_type": "Symbol",
"font_size": 20,
"font_type": "Arial Narrow"
}
},
{
"text_run": "This is the third",
"text_properties": {
"bullet": true,
"bullet_font_name": "Wingdings",
"bullet_character_code": 172,
"bullet_color": "yellow",
"bullet_indent_level": 3,
"bullet_size": 100,
"bullet_type": "Symbol",
"font_size": 25,
"font_type": "Arial Nova Light"
}
},
{
"text_run": "This is the fourth",
"text_properties": {
"bullet": true,
"bullet_font_name": "Wingdings",
"bullet_character_code": 216,
"bullet_color": "240,40,200",
"bullet_indent_level": 3,
"bullet_size": 100,
"bullet_type": "Symbol",
"font_size": 30,
"font_type": "Arial Black"
}
}
]
},
{
"name": "Subtitle 2",
"text": "15 May 2024"
}
]
}
]
}
}