Files
nexus/wiki/concepts/Document-Generation.md

31 lines
863 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Document Generation"
type: concept
tags: [office-suite, automation, documents]
last_updated: 2026-04-20
---
## Definition
Document Generation 是指通过代码、模板和数据驱动流程自动创建 PDF、PPTX、XLSX、DOCX 等专业文档的工作流,而不是依赖手工排版。
## Core Principles
- 选择正确的输出格式和工具链
- 使用样式、主题和模板保持一致性
- 将数据与版式分离,提升复用性
- 兼顾品牌一致性、可访问性和可维护性
- 在生成前明确受众、目的与交付要求
## Common Tooling
- PDFreportlab、weasyprint、fpdf2、puppeteer
- PPTXpython-pptx、pptxgenjs
- XLSXopenpyxl、xlsxwriter、exceljs
- DOCXpython-docx、docx
## Related Concepts
- [[Claude Skills]]
- [[Prompt Engineering]]
## Related Entities
- [[Document Generator]]
- [[The Agency]]