T
T
TANK_IST2019-07-15 11:41:46
ubuntu
TANK_IST, 2019-07-15 11:41:46

How to convert pdf to word?

Need to do it via console, Debian 9 system

sudo libreoffice --invisible --convert-to docx:"MS Word 2007 XML" 1.pdf

Doesn't work, throws an error
convert /var/www/trash/data/www/site/1.pdf -> /var/www/trash/data/www/site/1.docx using filter : MS Word 2007 XML
Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///var/www/trash/data/www/site/1.docx> failed: 0xc10)

Haven't tried anything yet, it doesn't work.
sudo libreoffice --invisible --convert-to pdf:writer_pdf_Export 2.docx

Works good.
Tell me how to convert correctly.
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
nic777, 2019-07-15
@nic777

PDFs are different. There are text ones from which you can copy-paste fragments of text. And there are - sets of scanned pages (in pirated copies of books this is all the time). If you can still find utilities for the former, then for the latter the only way is to disassemble into bitmaps, run through OCR and save the result in Word format

C
CityCat4, 2019-07-15
@CityCat4

No way.
It's like a picture in a raster and in a vector. A vector image (doc) can easily be converted to a raster image (pdf), but back a raster image to a vector one... well, there are tracers, but the results of their work, frankly, are #oops...

T
TyzhSysAdmin, 2019-07-15
@POS_troi

abiword

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question