Added PowerPoint templates to the Slide Assistant (#1055)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Sabrina-devopsandThorsten Sommer authored and GitHub committed 2026-10-25 18:52:39 +01:00
1 parent 8c5cfa78b6
commit 6eb23ebbcb
136 files changed
+16535 -522

No files matched your search

@@ -0,0 +1,21 @@
namespace AIStudio.Tools.PowerPoint;
internal static class TemplateSlideElementKindExtensions
{
/// <summary>
/// How the kind is called in the list of template slides the model reads.
/// </summary>
public static string CatalogName(this TemplateSlideElementKind kind) => kind switch
{
TemplateSlideElementKind.TEXT_BOX => "text box",
TemplateSlideElementKind.SHAPE => "shape",
TemplateSlideElementKind.LINE => "line",
TemplateSlideElementKind.PICTURE => "picture",
TemplateSlideElementKind.TABLE => "table",
TemplateSlideElementKind.CHART => "chart",
TemplateSlideElementKind.DIAGRAM => "diagram",
TemplateSlideElementKind.GROUP => "group",
_ => "object",
};
}