8000 GitHub - wwgwzy/office2pdf: convert(print) office file to pdf file
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wwgwzy/office2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

office2pdf

convert(print) office file(doc, ppt) to pdf file

转换(打印)同文件夹和子文件夹下的 office 文件到pdf文件,兼容设备以便浏览。

需要安装 comtypes 库。pip install comtypes

只写了转换doc(x),ppt(x)的部分,其他格式文件的写法可以在 https://docs.microsoft.com/zh-cn/office/vba/api/powerpoint.presentation.saveas 这样的微软官方说明文档页面找到,大同小异。

如果由于文件损坏出错,在自动打开的文件夹中找到损坏的文件,用office修复后按提示继续即可。

About

convert(print) office file to pdf file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0