← 返回
开发者工具

Itinerary DOCX Template

Generate tourism itinerary DOCX by replacing only matched itinerary sections inside a provided Chinese template document. Use when the user sends a simplifie...
通过替换提供的中文模板文档中匹配的行程部分,生成旅游行程DOCX文件。当用户发送简化版... (原文似乎被截断,请提供完整内容以便完整翻译。)
nnswjlll
开发者工具 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 469
下载
💾 40
安装
1
版本
#latest

概述

Itinerary DOCX Template Filler

Fill a Chinese travel-agency template DOCX from simplified itinerary lines, while preserving template style.

Workflow

  1. Save user simplified content into a UTF-8 .txt file (one day per line).
  2. Run scripts/fill_from_simplified.py with:
    • --template source template docx
    • --content simplified txt
    • --output output docx
  3. Send resulting .docx back to user.

Simplified input format

One line per day:

  • 1南宁接 三街两巷 中山路小吃街 住南宁丽呈瑞轩酒店(会展店)
  • 2明仕田园 太平古城 住崇左维纳斯度假酒店
  • 3德天瀑布 蓝洞咖啡 住龙州观堂酒店

Rules:

  • Leading number = day number.
  • 住... segment = hotel.
  • Remaining tokens after day head are scenic spots.

Notes

  • Keep template clauses/terms unchanged; replace only itinerary-related paragraphs.
  • If python-docx is missing, install via python -m pip install python-docx.
  • This script is tuned for the user's current template layout and paragraph anchors.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 19:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,706
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,753
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,714