V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
latyas
V2EX  ›  Python

有木有通过 google docs 一键 word 转 pdf 下载到本地的项目(脚本)

  •  
  •   latyas ·
    ly0 · Feb 11, 2016 · 4381 views
    This topic created in 3735 days ago, the information mentioned may be changed or developed.

    或者是其他办法可以将 WORD & Excel 转化成 pdf 的。
    google api 似乎需要暴露 app secret ,有木有自己登陆操作自己的 google drive 和 google docs 的办法或者接口啥的。

    3 replies    2016-02-11 19:32:47 +08:00
    Arthur2e5
        1
    Arthur2e5  
       Feb 11, 2016
    用 Google Docs 转换是嫌格式太乱 /字体太多想去掉一点吗……

    可以看看 https://stackoverflow.com/questions/3815983 ,不过这年头也不流行 OpenOffice 改 LibreOffice 了(虽然某些格式兼容还是一团糟,但至少你能控制自己有哪些字体……中文字体总归得补一堆是吧)。看 https://stackoverflow.com/questions/32901398 的话好像用不了 Office365 API 。

    如果能搞清使用条款的话你也可以自己折腾 Word Automation 。
    Arthur2e5
        2
    Arthur2e5  
       Feb 11, 2016
    带上 Word Automation Services 的话好像有个 https://code.msdn.microsoft.com/office/SharePoint-2013-Convert-1e0578a1 ……
    fy
        3
    fy  
       Feb 11, 2016
    说起来 pandoc 效果怎么样?
    我记得支持 docx 细节就忘了……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2424 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 04:41 · PVG 12:41 · LAX 21:41 · JFK 00:41
    ♥ Do have faith in what you're doing.