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

希望增加 文档在线预览 功能 #1582

Closed
Marrrrrrrrry opened this issue Jan 3, 2024 · 6 comments
Closed

希望增加 文档在线预览 功能 #1582

Marrrrrrrrry opened this issue Jan 3, 2024 · 6 comments
Assignees
Labels

Comments

@Marrrrrrrrry
Copy link

在最新版本的casa中,我注意到还没有实现文档在线预览,微软提供了接口
https://view.officeapps.live.com/op/view.aspx?src=
用来进行在线预览,保存和转换成pdf下载,希望可以评估并增加该功能

@github-project-automation github-project-automation bot moved this to Need Triage (QA+PM) in CasaOS Issues Jan 5, 2024
@ETWang1991 ETWang1991 moved this from Need Triage (QA+PM) to Future in CasaOS Issues Jan 5, 2024
@ETWang1991 ETWang1991 moved this from Future to Need Triage (QA+PM) in CasaOS Issues Jan 5, 2024
@ETWang1991
Copy link

@jerrykuku 麻烦看看有帮助吗?我们研究下

@Marrrrrrrrry
Copy link
Author

但是有一个点要注意,src后的url要转换成urlencode不然微软会报404。
再次,微软只接受域名开头作为文件源传入,例如ice.com/1.doc 像1.1.1.1/1.doc会报错,微软仅接受80、443端口传入
最后是我个人的建议,由于我常年套一层cf的cdn,这样微软是拿不到文件的,估计是cf的5秒盾微软过不了,所以要提醒用户不能套要人机验证的cdn

@jerrykuku
Copy link
Contributor

我们在即将发布的新版本中增加了三个文件预览器,分别是word,excel和pdf,都是本地渲染。敬请期待。

@Marrrrrrrrry
Copy link
Author

感谢

@jerrykuku
Copy link
Contributor

v0.4.5已经发布,我将关闭这个issue.

@github-project-automation github-project-automation bot moved this from Need Triage (QA+PM) to To be verified (QA) in CasaOS Issues Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants