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

Dispatch.call open byte[] #30

Open
tadashi0 opened this issue May 10, 2023 · 5 comments
Open

Dispatch.call open byte[] #30

tadashi0 opened this issue May 10, 2023 · 5 comments

Comments

@tadashi0
Copy link

我把文件转为byte[] ,但是报错,说找不到文档

@tadashi0
Copy link
Author

我用的是1.20的版本

@sdabing
Copy link

sdabing commented Jun 13, 2023

兄弟,你有没有遇到过这种问题,如果文件路径里带#,会转成%23,结果就找不着文件了
com.jacob.com.ComFailException: Invoke of: Open
Source: Microsoft Word
(D://abc/回复%232...)

at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:625)
at com.jacob.com.Dispatch.callN(Dispatch.java:453)
at com.jacob.com.Dispatch.call(Dispatch.java:541)

@tadashi0
Copy link
Author

tadashi0 commented Jun 13, 2023 via email

@sdabing
Copy link

sdabing commented Jun 13, 2023

我这本身原word文件路径带#,然后转pdf报错,怎么能不报错呢

@freemansoft
Copy link
Owner

Is this the same problem as the "space or other character" one?

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