namespace AIStudio.Tools.PowerPoint; /// /// What a placeholder of a slide layout is for, as far as filling it is concerned. /// /// /// Templates rarely say what a layout is for: most of them leave the layout type at "custom". So the /// role is read from the placeholder itself, its type and its size, and a text placeholder too small /// to hold more than a line becomes a label rather than a text. /// internal enum PlaceholderRole { /// /// A placeholder we cannot fill, e.g., a chart or a media placeholder. /// UNSUPPORTED = 0, TITLE, SUBTITLE, /// /// A text area large enough for paragraphs or bullet points. /// TEXT, /// /// A small text, e.g., a heading above a text area, the source of a picture, or a chapter number. /// LABEL, PICTURE, TABLE, FOOTER, SLIDE_NUMBER, DATE, }