MCPcopy Create free account
hub / github.com/acking-you/static_flow / addContentSlide

Function addContentSlide

docs/create-pptx.js:88–99  ·  view source on GitHub ↗
(title)

Source from the content-addressed store, hash-verified

86
87// Helper: content slide with title
88function addContentSlide(title) {
89 let s = pres.addSlide();
90 s.background = { color: C.bg };
91 s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.06, fill: { color: C.cyan } });
92 s.addText(title, {
93 x: 0.8, y: 0.3, w: 8.4, h: 0.7, fontSize: 24, fontFace: FONT_H,
94 color: C.white, bold: true, align: "left", margin: 0,
95 });
96 // Thin separator
97 s.addShape(pres.shapes.RECTANGLE, { x: 0.8, y: 1.05, w: 1.5, h: 0.04, fill: { color: C.cyan } });
98 return s;
99}
100
101// ============================================================
102// SLIDE 2: Section - Act 1 Opening

Callers 1

create-pptx.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected