PPTX.gallery

Basic Shapes

Smiley face

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

Search words: smile, emoji, happy

Frame

A shape block takes the largest frame of 1: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
adj0.04653-0.04653 to 0.04653

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

OPF Config

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

More Basic Shapes