chore: save workspace changes before pull

This commit is contained in:
2026-04-20 14:31:39 +08:00
parent 08da9a4d38
commit 9b5a9a9902
47 changed files with 1359 additions and 3033 deletions

View File

@@ -0,0 +1,30 @@
---
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]]