API reference / Common / Engine types / ShapePlaceholder
Interface: ShapePlaceholder
Properties
| Property | Description |
|---|---|
kindShapePlaceholderType | @type — which kind of placeholder this fills (ST_PlaceholderType). |
indexnumber | null | @idx — disambiguates two placeholders of the same kind on one layout (e.g. two body placeholders). Absent is the implicit 0. |
sizeShapePlaceholderSize | @sz — the placeholder's relative size hint (ST_PlaceholderSize). |
orientationShapePlaceholderOrientation | @orient — text flow orientation (ST_Direction). |
hasCustomPromptboolean | @hasCustomPrompt — whether this placeholder's own p:txBody holds a custom prompt (author-supplied sample text) rather than relying on the application's default. The format stores no prompt string: when this is false (the default) and the placeholder is empty, the app supplies the default prompt for its kind; when true, the placeholder's regular text body is the prompt and renders as-is. |