app foldee

This commit is contained in:
marcus.hinz
2026-06-14 12:13:49 +02:00
parent 6d29263392
commit b30e4a7d31
73 changed files with 994 additions and 175 deletions
+3 -2
View File
@@ -2,13 +2,14 @@
"""Fügt Folie2, Folie3, Folie4 zu einer Datei zusammen (Reihenfolge 2, 3, 4)."""
import copy
import os
from pptx import Presentation
base = "/home/marcuh/claude-projects/limbach/"
base = os.path.dirname(os.path.abspath(__file__)) + "/"
dst = Presentation(base + "Folie2.pptx") # Seite 1 = Folie 2
blank = dst.slide_layouts[6]
for fname in ("Folie3.pptx", "Folie4.pptx"): # Seiten 2 und 3
for fname in ("Folie3.pptx", "Folie3b.pptx", "Folie4.pptx"): # Seiten 2, 3, 4, 5
src = Presentation(base + fname)
new_slide = dst.slides.add_slide(blank)
for shape in src.slides[0].shapes: