PPTX.gallery

Stars and Banners

Left right ribbon

"shape": "leftRightRibbon" draws PowerPoint's leftRightRibbon preset. The PPTX export writes it as a native shape with its adjust values, so it stays editable in PowerPoint.

Search words: banner, ribbon

Frame

A shape block takes the largest frame of 2:1 (width to height) that fits its cell, centered; set aspectRatio for another. Text inside is fitted to the preset's text rectangle and never set below the readability floor.

Adjust Values

NameDefaultRange
adj10.50 to 0.83333
adj20.50 to 0.9375
adj30.166670 to 0.33333

OPF units: fractions (most often of the shorter side) and degrees, for example "adjust": { "adj1": 0.5 }.

OPF Config

{
  "$schema": "https://openpresentation.org/schema/opf/v1",
  "name": "PPTX.gallery — shapes/leftRightRibbon",
  "description": "The leftRightRibbon preset as an OPF shape block.",
  "slides": [
    {
      "title": "Left right ribbon",
      "blocks": [
        {
          "shape": "leftRightRibbon",
          "text": "Left right ribbon"
        }
      ]
    }
  ]
}

More Stars and Banners