jacob-project icon indicating copy to clipboard operation
jacob-project copied to clipboard

Dispatch.call open byte[]

Open tadashi0 opened this issue 1 year ago • 5 comments

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

tadashi0 avatar May 10 '23 09:05 tadashi0

我用的是1.20的版本

tadashi0 avatar May 10 '23 09:05 tadashi0

兄弟,你有没有遇到过这种问题,如果文件路径里带#,会转成%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)

sdabing avatar Jun 13 '23 06:06 sdabing

| | 田重辉 | | @.*** | 没有啊,哥们,这个Jacob只能去加载本地的文件!转%23是正常的,如果不行的话,可以对路径进行转义,然后再加载 ---- Replied Message ---- | From | @.> | | Date | 06/13/2023 14:25 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [freemansoft/jacob-project] Dispatch.call open byte[] (Issue #30) |

兄弟,你有没有遇到过这种问题,如果文件路径里带#,会转成%23,结果就找不着文件了 com.jacob.com.ComFailException: Invoke of: Open Source: Microsoft Word (D://abc/回复%23【中金-季报】国家能源投资集团有限责任公司企业...)

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)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tadashi0 avatar Jun 13 '23 06:06 tadashi0

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

sdabing avatar Jun 13 '23 06:06 sdabing

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

freemansoft avatar Sep 04 '23 17:09 freemansoft