Ask Your Question
0

Convert PDF to Word Document at command Line on Ubanto

asked 2017-06-03 13:11:43 +0200

Haseeb gravatar image

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

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2017-06-04 14:48:47 +0200

m.a.riosv gravatar image

updated 2017-06-04 14:49:29 +0200

edit flag offensive delete link more
0

answered 2017-06-04 18:33:21 +0200

It is possible to convert PDF to any supported document format; however, the answer by @m.a.riosv 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.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-06-03 13:11:43 +0200

Seen: 2,990 times

Last updated: Jun 04 '17