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

aspose word转pdf linux系统上很慢 #53

Closed
lllfx opened this issue Jul 3, 2019 · 3 comments
Closed

aspose word转pdf linux系统上很慢 #53

lllfx opened this issue Jul 3, 2019 · 3 comments

Comments

@lllfx
Copy link

lllfx commented Jul 3, 2019

同样的代码和word文件,在windows 讲word转成pdf只需要2s左右,在linux上需要200s。请问aspose是不是用了windows上某些库?

@lllfx
Copy link
Author

lllfx commented Jul 4, 2019

解决了,主要是doc中资源的问题。将资源定义为skip就可以了。

@lllfx lllfx closed this as completed Jul 4, 2019
@liu-zifan
Copy link

解决了,主要是doc中资源的问题。将资源定义为skip就可以了。

你好,请问怎么定义为skip

@AlexNosk
Copy link

@liu-zifan 您可以使用IResourceLoadingCallback来在加载文档时跳过加载外部资源。
https://apireference.aspose.com/words/java/com.aspose.words/resourceloadingaction#SKIP

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

3 participants