Files
nexus/wiki/sources/specialized-document-generator.md

2.0 KiB
Raw Blame History

title, type, tags, date
title type tags date
Document Generator source
agent
the-agency
document-generation
office-suite
2026-04-20

Source File

Summary

  • 核心主题Document Generator 专家智能体负责以代码方式生成 PDF、PPTX、XLSX 和 DOCX 等专业文档
  • 问题域:从零手工排版、格式不一致、难以复用模板、数据可视化质量不稳定
  • 方法/机制:使用 Python/Node.js 文档生成库,结合模板、样式和数据驱动流程输出成品文件
  • 结论/价值:将文档生产变成可重复、可自动化的工程流程,而不是一次性手工设计

Key Claims

  • Document Generator 擅长使用代码化方式生成专业文档
  • PDF 可用 reportlab、weasyprint、fpdf2、puppeteer 等工具生成
  • PPTX 可用 python-pptx 或 pptxgenjs 生成
  • XLSX 可用 openpyxl、xlsxwriter、exceljs 生成
  • DOCX 可用 python-docx 或 docx 生成
  • 文档必须使用样式与主题,而不是硬编码字体和字号
  • 输出应兼顾品牌一致性、可访问性与模板复用
  • 生成前应确认受众与目的,并交付脚本与成品文件

Key Quotes

"Generate professional documents using the right tool for each format." — 文档格式选择原则

"Use proper styles — Never hardcode fonts/sizes; use document styles and themes." — 关键规则

Key Concepts

Key Entities

Connections

Contradictions

  • 无明显冲突