diff --git a/backend/app/api/office.py b/backend/app/api/office.py index 0e63b22..bb45906 100644 --- a/backend/app/api/office.py +++ b/backend/app/api/office.py @@ -1,4 +1,7 @@ import io +import os +import hashlib +from datetime import datetime, timezone from pathlib import Path from flask import request, jsonify, current_app, send_file @@ -168,3 +171,146 @@ def _convert_pptx(filepath): 'html': '\n'.join(content_parts) if content_parts else '
(Leere Folie)
', }) return slides + + +# ========== Save (write back edited documents) ========== + +@api_bp.route('/files/