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