Convert PDF to Word Document at command Line on Ubanto

I want to convert PDF file to Doc formater from command line , i tried this

soffice --infilter="writer_pdf_import" --convert-to doc file.pdf

it converts the file , but show some warnings in terminal.

(soffice:12967): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:12967): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
convert /home/haseeb/html/word_to_pdf/t.pdf -> /home/haseeb/html/word_to_pdf/t.doc using filter : MS Word 97

please help me to solve this issue

Can I convert a pdf file to a word file?

It is possible to convert PDF to any supported document format; however, the answer by @mariosv is correct, because the result will be unusable. See, however, this question for a macro.

However, your question, when read literally, makes no sense. You ask about “issue” that is warnings issued while running LO in headless mode. They aren’t a problem, so nothing needs to be done about them.