Skip to content

add office to pdf document #90

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions api/office-process.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,14 @@ mode | int | 否 | `0` 表示转为完整的 HTML(head+body) 输
EncodedCSSURL | string | 否 | CSS 样式的URL,`EncodedCSSURL = urlsafe_base64_encode(CSSURL)`

`urlsafe_base64_encode(string)` 函数的实现符合 [RFC 4648](http://www.ietf.org/rfc/rfc4648.txt) 标准,开发者可以参考 <https://github.com/qiniu> 上各SDK的样例代码。


# office文档转PDF

office文档转PDF规格如下

[GET] url?odconv/pdf

`url` 获取可以参考 [下载接口](get.html)

支持的输入文件类型:`doc`,`docx`,`ppt`,`pps`,`xls`,`xlsx`,`wps`,`纯文本`等