docconv icon indicating copy to clipboard operation
docconv copied to clipboard

Docx files saved using windows wordpad are not working with docconv

Open dev2021-ctrl opened this issue 2 years ago • 2 comments

Attached valid sample docx file , pls advise A bit urgent Sample code

text, _, err :=  docconv.ConvertDocx("sample_dummy.docx")
fmt.Println(text)

Result:

Empty text returned

sample_dummy.docx

dev2021-ctrl avatar Dec 20 '23 08:12 dev2021-ctrl

Thanks for the issue. We won’t be able to look at this this year. If you need an urgent fix you should look at forking the library and putting in a fix yourself then using your fork in your go.mod. If you do fix anything please also create a PR so we can look at upstreaming it.

jonathaningram avatar Dec 20 '23 08:12 jonathaningram

Okay, I am not very experienced in development, but if any of your contributors can spare some time to review it at their earliest convenience and provide just the bare pseudocode or logic, then I can ask my developer to implement the fix

dev2021-ctrl avatar Dec 20 '23 08:12 dev2021-ctrl