Skip to content

feat(word): 支持隐藏 doc2docx 转换进度条#154

Open
forever-ivy wants to merge 1 commit into
CoderWanFeng:developfrom
forever-ivy:feat/doc2docx-progress-toggle
Open

feat(word): 支持隐藏 doc2docx 转换进度条#154
forever-ivy wants to merge 1 commit into
CoderWanFeng:developfrom
forever-ivy:feat/doc2docx-progress-toggle

Conversation

@forever-ivy

Copy link
Copy Markdown

背景

解决 #139:允许调用 office.word.doc2docx 时隐藏转换进度条。

修改

  • 为公开 API 增加 show_progress: bool = True
  • 显式传入 False 时向底层传递隐藏选项
  • 默认调用不传递新关键字,保持与旧版 poword 的兼容性
  • 更新 docstring 和 doc2docx Skill 文档
  • 增加参数转发单元测试

依赖

依赖底层 PR CoderWanFeng/poword#3

测试

python3 -m unittest tests.test_code.test_word_api_parameters -v

Fixes #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

增加选择是否显示进度条功能

1 participant