← 返回
未分类

OrangeCRDE PPT Generator

OrangeCRDE brand-style PPT generator v3.2 — DARK TECH EDITION. Dark navy tech-style cover/closing/quote/qrcode with official product hero images, cyan accent, and gradient overlays. Based on 10x5.625in 16:9 format. 16 slide types with official logo, template support, chart generation, overflow detection, and speaker notes. Visual identity: dark navy (#0A0F2E) + orange (#FC5900) + cyan (#00C8FF), Microsoft YaHei, bottom '智橙平台' bar. Supports: cover, section_title, content_overview, content_feature
OrangeCRDE brand-style PPT generator v3.2 — DARK TECH EDITION. Dark navy tech-style cover/closing/quote/qrcode with official product hero images, cyan accent, and gradient overlays. Based on 10x5.625in 16:9 format. 16 slide types with official logo, template support, chart generation, overflow detection, and speaker notes. Visual identity: dark navy (#0A0F2E) + orange (#FC5900) + cyan (#00C8FF), Microsoft YaHei, bottom '智橙平台' bar. Supports: cover, section_title, content_overview, content_features, content_with_image, table, flow, chart, comparison, timeline, gallery, quote, team, qrcode, closing, text_content. Uses python-pptx + PIL.
user_3c7278bf
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 63
下载
💾 0
安装
1
版本
#latest

概述

OrangeCRDE Brand PPT Generator v3.2 — DARK TECH EDITION

集市场顶尖skill之大成,打造最强PPT生成器!

集成功能来源:

  • anthropics/pptx → 模板支持、演讲者备注
  • openai/slides → 溢出检测、PNG预览、布局助手
  • pptx-generator → Markdown内容支持

Quick Start

pip install python-pptx pillow pandas openpyxl
python scripts/create_ppt.py --input content.json --output output.pptx

新功能参数

ParamRequiredDescription
------------------------------
--inputYesJSON内容文件路径
--outputNo输出PPTX路径(默认:output.pptx)
--templateNo模板PPTX路径(可选)
--check-overflowNo启用溢出检测(默认:false)
--preview-dirNoPNG预览输出目录(可选)

JSON Content Format v3.0

{
  "title": "主标题",
  "subtitle": "副标题",
  "company": "OrangeCRDE",
  "website": "www.orangecrde.com",
  "slides": [
    // === 原有8种幻灯片类型(向下兼容)===
    {
      "type": "cover",
      "title_line1": "橙色云",
      "title_line2": "智橙PLM解决方案",
      "subtitle": "副标题文字",
      "website": "www.orangecrde.com"
    },
    {
      "type": "section_title",
      "number": "01",
      "section_title": "章节标题",
      "subtitle": "章节副标题"
    },
    {
      "type": "content_overview",
      "section_title": "页面标题",
      "description": "概述文字(用 \\n 换行)",
      "highlights": [
        {"title": "亮点1", "desc": "描述文字"},
        {"title": "亮点2", "desc": "描述文字"},
        {"title": "亮点3", "desc": "描述文字"},
        {"title": "亮点4", "desc": "描述文字"}
      ]
    },
    {
      "type": "content_features",
      "section_title": "功能模块",
      "categories": [
        {"name": "分类A", "items": ["功能1", "功能2", "功能3"]},
        {"name": "分类B", "items": ["功能1", "功能2", "功能3"]}
      ]
    },
    {
      "type": "content_with_image",
      "section_title": "页面标题",
      "left_title": "左侧标题(可选)",
      "left_text": "左侧说明文字(用 \\n 换行)...",
      "image_path": "path/to/image.png"
    },
    {
      "type": "table",
      "section_title": "表格标题",
      "headers": ["列1", "列2", "列3"],
      "rows": [["值1", "值2", "值3"], ["值4", "值5", "值6"]]
    },
    {
      "type": "flow",
      "section_title": "流程标题",
      "steps": ["步骤1", "步骤2", "步骤3", "步骤4"],
      "labels": ["标签A", "标签B"]
    },
    
    // === 新增:图表页(集成openai/slides)===
    {
      "type": "chart",
      "section_title": "数据图表",
      "chart_type": "column",  // column(柱状图), line(折线图), pie(饼图), bar(条形图)
      "categories": ["Q1", "Q2", "Q3", "Q4"],
      "series": [
        {"name": "产品A", "values": [120, 150, 180, 210]},
        {"name": "产品B", "values": [90, 130, 160, 190]}
      ],
      "width": 6.5,  // 可选,默认6.5
      "height": 4.0  // 可选,默认4.0
    },
    
    // === 新增:对比页 ===
    {
      "type": "comparison",
      "section_title": "方案对比",
      "left_title": "方案A",
      "left_items": ["特点1", "特点2", "特点3"],
      "right_title": "方案B", 
      "right_items": ["特点1", "特点2", "特点3"],
      "winner": "left"  // left/right,高亮获胜方
    },
    
    // === 新增:时间线页 ===
    {
      "type": "timeline",
      "section_title": "项目时间线",
      "items": [
        {"date": "2024 Q1", "title": "需求调研", "desc": "完成10家竞品分析"},
        {"date": "2024 Q2", "title": "方案设计", "desc": "完成AIPLM架构设计"},
        {"date": "2024 Q3", "title": "开发实施", "desc": "完成核心功能开发"},
        {"date": "2024 Q4", "title": "上线运营", "desc": "正式投入使用"}
      ]
    },
    
    // === 新增:引用页 ===
    {
      "type": "quote",
      "quote_text": "AI不会取代人类,但会用AI的人会取代不会用AI的人。",
      "author": "—— 某位智者",
      "bg_opacity": 80  // 可选,背景透明度 0-100
    },
    
    // === 新增:图片画廊页 ===
    {
      "type": "gallery",
      "section_title": "产品截图",
      "images": [
        {"path": "path/to/img1.png", "caption": "功能模块A"},
        {"path": "path/to/img2.png", "caption": "功能模块B"},
        {"path": "path/to/img3.png", "caption": "功能模块C"},
        {"path": "path/to/img4.png", "caption": "功能模块D"}
      ]
    },
    
    // === 新增:团队介绍页 ===
    {
      "type": "team",
      "section_title": "核心团队",
      "members": [
        {"name": "张三", "role": "项目经理", "avatar": "path/to/avatar1.png"},
        {"name": "李四", "role": "技术总监", "avatar": "path/to/avatar2.png"},
        {"name": "王五", "role": "产品经理", "avatar": "path/to/avatar3.png"}
      ]
    },
    
    // === 新增:二维码页 ===
    {
      "type": "qrcode",
      "section_title": "扫码体验",
      "qr_path": "path/to/qrcode.png",
      "description": "扫描二维码,立即体验智橙PLM系统"
    },
    
    // === 结尾页(官方模板风格)===
    {
      "type": "closing",
      "title": "感谢大家聆听",
      "subtitle": "打破创新边界,赋能未来制造",
      "keywords": "协同设计 | 数据拉通 | 云上研发 | 快速出图 | 高效选配",
      "contact": "www.orangecrde.com"
    }
  ]
}

Supported Slide Types v3.1

基础类型(8种,向下兼容)

TypeDescription
-------------------
cover封面页 — 橙色全屏背景 + 白色大标题 + 科技装饰
section_title章节页 — 左侧橙色区块 + 编号 + 右侧标题
content_overview概述页 — 标题 + 描述 + 2×2 亮点卡片(带阴影)
content_features功能矩阵 — 分类标题 + 橙色圆点功能项网格
content_with_image图文页 — 左侧文字 + 右侧图片
table表格页 — 橙色表头 + 交替行色数据表格
flow流程页 — 橙色圆角步骤框 + 箭头 + 标签胶囊
closing结尾页 — 橙色全屏背景 + 白色感谢文字

新增高级类型(6种,v3.0新增)

TypeDescription集成来源
-----------------------------
chart图表页 — 柱状图/折线图/饼图/条形图openai/slides
comparison对比页 — 左右方案对比,高亮获胜方新增
timeline时间线页 — 项目时间节点展示新增
quote引用页 — 大号引用文字 + 作者新增
gallery图片画廊 — 2×2/1×3/3×1图片网格新增
team团队页 — 成员头像+姓名+角色新增
qrcode二维码页 — 二维码+说明文字新增

品牌样式参考

颜色

  • Primary: #FC5900 (orange)
  • Accent Bright: #FF6E0A
  • Accent Dark: #E06020
  • Text White: #FFFFFF
  • Text Dark: #333333
  • Text Gray: #666666
  • Background: #FFFFFF

字体

  • Titles: 微软雅黑 (Microsoft YaHei), 26-48pt
  • Body: 微软雅黑, 12-14pt
  • English / Numbers: Arial

布局元素(基于官方PPT模板)

  • Slide size: 10.0 x 5.625 inches (16:9 widescreen, matching official template)
  • Left orange vertical stripe (0.12 inch) on content pages
  • Bottom orange horizontal bar (0.35 inch height) with "智橙平台" text
  • Page title at top-left matching official template position
  • Cards with rounded corners + subtle shadow
  • Official OrangeCRDE logo (top-right on white pages, adjusted on dark pages)

新功能详解

1. 模板支持(来自 anthropics/pptx)

python scripts/create_ppt.py --input content.json --output output.pptx --template template.pptx
  • 可基于现有PPTX模板创建新演示文稿
  • 保留模板的样式、主题、布局
  • 仅替换文本内容

2. 溢出检测(来自 openai/slides)

python scripts/create_ppt.py --input content.json --check-overflow
  • 自动检测文本框是否超出边界
  • 输出警告信息,提示需要调整的幻灯片
  • 避免文字被截断的问题

3. PNG预览生成(来自 openai/slides)

python scripts/create_ppt.py --input content.json --preview-dir ./previews
  • 生成每页幻灯片的PNG预览图
  • 快速检查排版效果,无需打开PowerPoint
  • 预览图保存在指定目录

4. 演讲者备注(来自 anthropics/pptx)

JSON格式:

{
  "type": "content_overview",
  "section_title": "页面标题",
  "notes": "这是演讲者备注,观众看不到,只有演示者能看到",
  "highlights": [...]
}

5. 图表支持(增强自 openai/slides)

支持的图表类型:

  • column - 柱状图(垂直)
  • bar - 条形图(水平)
  • line - 折线图
  • pie - 饼图

依赖项

  • Python 3.8+
  • python-pptx (pip install python-pptx)
  • Pillow (pip install pillow) - 用于PNG预览
  • pandas (pip install pandas) - 可选,用于数据处理
  • openpyxl (pip install openpyxl) - 可选,用于Excel数据导入

溢出入检测规则

系统会在以下情况发出警告:

  1. 文本框内容超过形状边界
  2. 文字字号自动缩小(PowerPoint自动调整)
  3. 表格内容超出单元格
  4. 图片被过度拉伸/压缩

检测方法:

  • 计算文本长度 vs 文本框宽度
  • 检查中文字符数(中文约为英文2倍宽度)
  • 估算行数 vs 文本框高度

版本历史

  • v3.0 (2026-05-17) - ULTIMATE EDITION
  • ✅ 集成 anthropics/pptx 模板功能
  • ✅ 集成 openai/slides 溢出检测
  • ✅ 集成 openai/slides PNG预览
  • ✅ 新增6种高级幻灯片类型
  • ✅ 支持演讲者备注
  • ✅ 支持图表生成(柱状图/折线图/饼图)
  • v2.0 (2026-05-16) - Enhanced Visuals
  • ✅ 渐变背景
  • ✅ 精致卡片阴影
  • ✅ 点阵装饰
  • ✅ 编号徽章
  • v1.0 (2026-05-15) - Initial Release
  • ✅ 8种基础幻灯片类型
  • ✅ OrangeCRDE品牌样式
  • ✅ python-pptx基础功能

版本历史

共 1 个版本

  • v1.0.0 Initial release 当前
    2026-05-17 22:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 400 📥 149,989
office-efficiency

腾讯文档 TENCENT DOCS

u_b0de8114
腾讯文档(docs.qq.com)-在线云文档平台,是创建、编辑、管理文档的首选 skill。涉及"新建/创建/编辑/读取/查看/搜索文档"、"保存文件"、"云文档"、"腾讯文档"、"docs.qq.com"等操作,请优先使用本 skill
★ 180 📥 126,848
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 476 📥 157,806