Commit Graph
10 Commits
Author SHA1 Message Date
李进 d079a4b4cc fix: 文本框宽度/阴影/边框/背景/去重 — 通用化前稳定版
- 文本框宽度:contentW 从 slide 子节点推算,排除游离节点
- TEXT 宽度:顶层用 contentW,嵌套用 parentW,最小1.5in,x+w≤slideW
- collectSlideChildren 新增 _depth 参数标记层级
- boxShadow 正确传给 pptxgenjs(之前 addShape 只传了 fill)
- 单边 border 不加 shape line,由四周边框线逻辑单独处理
- shape 默认 line: { type: 'none' } 去掉 pptxgenjs 默认边框
- 背景色:从 slide name 推断 dark/light 兜底
- findSlides 支持 'slide ' 前缀
- collectOrphans 跳过 'slide ' 子树(修复文字重复)
- 新增 docs/ 目录:映射分析和通用架构文档
2026-07-24 16:30:24 +08:00
李进 56daab6b67 fix: frame before text for proper z-order, remove 1.2x width multiplier 2026-07-24 14:05:14 +08:00
李进 8802b00bdc feat: complete web-to-pixso JSON mapping - border sides, image assets, orphan nodes, slide container borders 2026-07-24 13:22:28 +08:00
李进 7735bb75de feat: extract all 4 border sides, border-radius, box-shadow from web-to-pixso nodes 2026-07-24 12:33:33 +08:00
李进 46ecb17956 fix: traverse all nodes, use slide container size for canvas, extract slide bg color 2026-07-24 10:07:00 +08:00
李进 cff5b12975 docs: update README and REQUIREMENTS to reflect current architecture (knowledge base + schema + renderer) 2026-07-23 19:07:47 +08:00
李进 37839c1e86 clean: remove experimental scripts, keep only knowledge base + schema + renderer 2026-07-23 19:04:31 +08:00
李进 ba8d17ba62 add: pptxgenjs v4.0.1 full API reference 2026-07-23 12:00:19 +08:00
李进 39ef403842 add: requirements doc for HTML-to-PPTX export engine 2026-07-22 17:54:46 +08:00
李进 9744adbd52 init: html2pptx project scaffold + requirements doc 2026-07-22 17:54:42 +08:00