← 返回
未分类

PPT Layout Matcher

Intelligent PPT layout matching system based on a 45-page design layout library (16:9). Analyzes input content and automatically recommends the best slide la...
基于45页设计布局库(16:9)的智能PPT布局匹配系统。分析输入内容并自动推荐最佳幻灯片布局。
zrxparley
未分类 clawhub v1.0.0 1 版本 99673.2 Key: 无需
★ 0
Stars
📥 305
下载
💾 1
安装
1
版本
#16:9#design#latest#layout#ppt#presentation

概述

PPT Layout Matcher

Intelligent layout matching for PowerPoint presentations based on a 45-page professional design layout library.

When to Use

  • User wants to create a PPT from content
  • User asks "which layout should I use for this content?"
  • User provides bullet points / data / flow descriptions and wants them turned into slides
  • User mentions "PPT", "presentation", "slides", "版式", "排版"

Workflow

Step 1: Analyze Content Structure

Extract key features from user input:

  • Number of items (3 key metrics? 4 steps? 2 comparisons?)
  • Content nature (data/metrics, process/steps, comparison, gallery, list)
  • Presence of numbers/charts/images
  • Timeline/step indicators

Step 2: Run Matching Algorithm

Execute the bundled script to get layout recommendations:

python3 ppt_layout_matcher.py

Or use the Python API:

from ppt_layout_matcher import recommend_layout
results = recommend_layout("user content here", top_k=3)
for template, score, analysis in results:
    print(f"{template.name} (Slide {template.slide_ref}) - Score: {score}")

Step 3: Present Top 3 to User

Show:

  • Layout name and reference slide number
  • Match score
  • Structure description
  • Why this layout was recommended

Let the user confirm before creating.

Step 4: Create PPT with python-pptx

Once confirmed, create the slide:

  • 16:9 dimensions (13.33" × 7.50")
  • Dark theme (deep blue/gray background)
  • White text, accent colors for data highlights
  • Follow the reference layout structure from references/layout_templates.md

Step 5: QA

Verify with markitdown:

python -m markitdown output.pptx | head -100

Layout Categories (Quick Reference)

CategoryCountUse Case
----------:-----:----------
A-Cover2Report cover, proposal front page
B-Divider2Section transitions
C-Data Display9Metrics, charts, data highlights
D-Process/Steps6STEP flows, development stages
E-Comparison5A/B comparison, multi-solution, SWOT
F-Grid/Cards82×2, 3×2, 4×N card grids
G-Gallery1Image gallery, timeline
H-List/Points4Numbered lists, text+image lists
I-Infographic1One Pager overview
J-Special7Radial, wraparound, mixed layouts

Design Conventions

  • Title bar: top 0.3-1.0" area
  • Content area: 1.2"-7.0"
  • Footer: 6.5"-7.2"
  • Margins: ≥0.5" on all sides
  • Heading: 20-30pt Bold, Body: 10-14pt, Big Numbers: 36-60pt Bold
  • Dark background, white text, accent colors for highlights

References

Full layout library documentation: references/layout_templates.md

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 03:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Strategic Consulting

zrxparley
基于麦肯锡、波特等框架提供战略咨询与商业分析,涵盖行业研究、竞争格局与市场机会评估,帮助企业制定数据驱动的战略。
★ 0 📥 552

Drucker

zrxparley
基于数据的战略咨询,运用麦肯锡、波特和德鲁克框架,提供业务分析、竞争洞察与可执行建议。
★ 0 📥 513

Cognitive Self Training

zrxparley
每日认知训练、梦境回顾、梦境场景叙事以及针对OpenClaw、Hermes、Codex、Claude Code等AI智能体的自我改进循环。使用...
★ 0 📥 425