Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

带有修订的word转换pdf会连批注一起打印 #6

Closed
mysqk opened this issue Aug 4, 2022 · 4 comments
Closed

带有修订的word转换pdf会连批注一起打印 #6

mysqk opened this issue Aug 4, 2022 · 4 comments

Comments

@mysqk
Copy link

mysqk commented Aug 4, 2022

遇到的问题就是批量转换word时,时常有些有的带批注或者修订,能不能转换的时候直接打印最终版本

@evgo2017
Copy link
Owner

@mysqk 抱歉,之前在忙其他事情。相关问题处理好后会重新@你。

@mysqk
Copy link
Author

mysqk commented Oct 1, 2024

@mysqk 抱歉,之前在忙其他事情。相关问题处理好后会重新@你。

好的,谢谢

@evgo2017
Copy link
Owner

evgo2017 commented Feb 27, 2025

@mysqk

doc = word.Documents.Open(fromFilePath) 后面紧接一行 doc.ActiveWindow.View.ShowRevisionsAndComments = False,这样就会不打印批注了。

因为提到这个问题的人不多,我暂时就不修改代码了,单独打包了一份 zip。

下载地址1:最新文档提到的网盘中 Office2PDF_2025-02-27_Word不打印批注版.zip

下载地址2:Github Release Office2PDF_2025-02-27_WordDonotShowRevisionsAndComments.zip

@mysqk
Copy link
Author

mysqk commented Mar 7, 2025

感谢

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

No branches or pull requests

2 participants