Ask Your Question

Pdf to doc, docx, rtf puts boxes around lines!

asked 2018-03-27 21:24:12 +0200

ebbandari gravatar image

Converting pdf to doc, docx, or rtf puts boxes around each line of code!
Using the command

/opt/libreoffice5.4/program/soffice --headless --infilter="writer_pdf_import" --convert-to doc someFile.pdf

LiberOffice does create the files, but then there is a box around each line as if it is an image! But it is editable. It may be trying to avoid rulers, but it cannot be searched properly to turned into html. Is there a program that will take this file and creates a regular docx, or take an RTF and remove the boxes?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-11-20 19:42:22 +0200

ebbandari gravatar image

Hi I posted this a while back. Still no answer! Now hen we try converting Pdf to Docx (or Doc or Rtf) in Linux, NOTHING Happens. Not even the files with the textboxes are being generated!?!

Has the Pdf to Word conversion been removed or deprecated in Libreoffice?

There is a lot of frustration and discussions about this on other forums. Here is one from StackOverflow

edit flag offensive delete link more


It works fine. And moreover, the stackoverflow question you mention is totally unrelated, where conversion from document formats to PDF is discussed.

Mike Kaganski gravatar imageMike Kaganski ( 2019-11-20 20:07:00 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-03-27 21:24:12 +0200

Seen: 201 times

Last updated: Nov 20 '19