libreoffice-impress
建立和編輯 LibreOffice Impress 簡報(程式化操作)
透過自動化的投影片操作來生成、修改和匯出專業簡報。此技能提供對 LibreOffice Impress 的程式化控制,適用於大量簡報工作流程。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「libreoffice-impress」。 Create a presentation with title 'Sales Report'
預期結果:
Successfully created presentation with 1 slide using BLANK layout. The title placeholder is ready for content.
正在使用「libreoffice-impress」。 Apply patch with two operations
預期結果:
Patch applied successfully (atomic mode). Operations: replace_text [ok], insert_text_box [ok]. Document persisted.
安全審計
低風險This skill provides LibreOffice Impress presentation automation via UNO API. Static analysis flagged 210 potential issues, but manual review confirms all are false positives or legitimate office automation patterns. Subprocess calls invoke hardcoded LibreOffice commands for document processing. No network exfiltration, credential access, or persistence mechanisms detected. Risk level is LOW - appropriate for publication.
低風險問題 (2)
風險因素
⚡ 包含腳本 (5)
品質評分
你能建構什麼
自動化報告生成
透過將資料合併到投影片範本中,作為簡報生成每週或每月報告。以程式化方式新增圖表、表格和格式化文字。
大量簡報更新
在多個簡報中套用一致的變更。更新公司品牌、修正所有簡報中的文字,或在所有投影片上新增標準頁尾。
投影片內容擷取
從現有簡報中擷取文字內容、演講者備註或投影片清單,以用於文件編製或分析目的。
試試這些提示
Create a new Impress presentation at /path/to/output.odp with a title slide and two content slides.
Open /path/to/report.odp and replace all instances of 'Q3 2024' with 'Q4 2024' in the body text.
Apply this patch to /path/to/deck.odp: [operation] type = insert_text_box target.kind = slide target.slide_index = 2 ...
Export /path/to/presentation.odp to PDF at /path/to/output.pdf, then capture a PNG snapshot of slide 3.
最佳實務
- 使用絕對檔案路徑處理所有簡報檔案,以避免路徑解析問題
- 優先使用形狀名稱而非形狀索引,以獲得更穩定的目標參照
- 在正式工作流程中使用原子修補程式模式,以防止文件部分損壞
避免
- 呼叫 Impress API 時請勿使用相對路徑
- 避免在 LibreOffice 原生投影片複製後依賴精確的形狀名稱
- 在變更簡報順序的變異操作後,請勿跳過投影片清單