Ask Your Question
0

Convert PDF to Word Document at command Line on CentOS

asked 2015-08-17 23:05:13 +0100

Mohtashim gravatar image

updated 2015-08-21 16:33:29 +0100

Alex Kemp gravatar image

No doubt Libreoffice is a great product and I'm using it to convert my word files to PDF files very easily. Following is the simple syntax

$soffice --headless --convert-to pdf:writer_pdf_Export word.docx

But when I tried to convert any PDF file in word format, its not working fine. So kindly give me a command which I can use to convert PDF file into word file using LibreOffice.

Thanks

[edit: added centos tag]

edit retag flag offensive close merge delete

Comments

I think you can't do it. Pdf files can be opened as Draw files but not as Writer files.

m.a.riosv gravatar imagem.a.riosv ( 2015-08-18 00:51:43 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-01-25 10:30:46 +0100

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

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-08-17 23:05:13 +0100

Seen: 6,176 times

Last updated: Jan 25 '17