powerpoint
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<instructions>
<powerpoint_professional_suite>
<high_fidelity_creation>
The preferred method for precise layout positioning:
- HTML: Create slides (720pt x 405pt). Text MUST be in ,
<p>-<h1>, or<h6>.<ul> - Visuals: You MUST rasterize gradients/icons as PNGs using Sharp FIRST. Reference: .
references/html2pptx.md - Execution: Run to generate the presentation. </high_fidelity_creation>
html2pptx.js
<template_structure>
For deck editing or template mapping:
- Audit: Generate thumbnail grid () to analyze layout.
scripts/thumbnail.py - Duplication: Use to duplicate and reorder slides.
scripts/rearrange.py - Text Injection: Use with the JSON inventory to populate content. </template_structure>
scripts/replace.py
<design_quality>
- Fonts: You MUST use web-safe fonts ONLY (Arial, Helvetica, Georgia).
- Colors: You MUST NOT use the prefix in PptxGenJS hex codes (causes corruption).
# - Layout: You SHOULD prefer two-column or full-slide layouts. You MUST NOT stack charts below text.
- Verification: You MUST generate a final thumbnail grid with to inspect for text cutoff or overlap issues. </design_quality>
--cols 4
</powerpoint_professional_suite>
</instructions>
<instructions>
<powerpoint_professional_suite>
<high_fidelity_creation>
精确布局定位的首选方法:
- HTML:创建幻灯片(尺寸为720pt x 405pt)。文本必须置于、
<p>-<h1>或<h6>标签内。<ul> - 视觉元素:必须先使用Sharp将渐变/图标栅格化为PNG格式。参考文档:。
references/html2pptx.md - 执行操作:运行生成演示文稿。 </high_fidelity_creation>
html2pptx.js
<template_structure>
针对演示文稿编辑或模板映射场景:
- 审核:生成缩略图网格()以分析布局。
scripts/thumbnail.py - 复制:使用复制并重新排序幻灯片。
scripts/rearrange.py - 文本注入:结合JSON清单,使用填充内容。 </template_structure>
scripts/replace.py
<design_quality>
- 字体:仅可使用网络安全字体(Arial、Helvetica、Georgia)。
- 颜色:在PptxGenJS的十六进制代码中不得使用前缀(会导致文件损坏)。
# - 布局:优先选择两栏或整页布局。严禁将图表堆叠在文本下方。
- 验证:必须使用参数生成最终缩略图网格,检查是否存在文本截断或重叠问题。 </design_quality>
--cols 4
</powerpoint_professional_suite>
</instructions>