PowerPoint Generator API
  • PowerPoint Generator API
  • Getting started
    • Quick start
  • API reference
    • token/create
    • generator/create
  • Knowledge base
    • Key concepts
    • Templating your presentation
    • Building your JSON payload
    • Finding shape names
  • JSON/ PPTX Reference
    • presentation
    • slides
    • shapes
      • textbox
      • chart
      • picture
      • table
    • tags
    • Deprecated
  • Examples
    • Presentation
      • Naming output presentation
      • Using multiple templates
    • Slide
      • Change shape size and position
      • Change shape background color
      • Hide or remove shape
      • Replacing tags
    • Textboxes
      • Add text
      • Set font type and size
      • Set font color and font background color
      • Set bold, italic & underline
      • Set text alignment
      • Set text indentation
      • Set text line spacing
      • Using bullet-points
    • Chart
      • Change font settings
      • Insert data
      • Adjust chart legend
      • Appending to data labels
    • Pictures
    • Table
      • Populate simple table
      • Using `text_runs` in Table cells
      • Handling merged cells
      • Update a specific cells in existing table
    • Tags
Powered by GitBook
On this page

Was this helpful?

  1. Examples
  2. Textboxes

Using bullet-points

PreviousSet text line spacingNextChart

Last updated 12 months ago

Was this helpful?

  1. Find the shape name you want to update. See to find shape names.

  2. Use text_run to list your text into separate chunks.

  3. 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"
          }
        ]
      }
    ]
  }
}

here
35KB
bullet-point-example.pptx