10

What is the best way to copy a drawing (complete document) from LibreOffice Draw into an MS Word document (using MS Word) on Windows?

A "naive" copy&paste form Draw to Word gives next to useless results. The bitmap method gives too low resolution, the metafile loses other details (missing lines, text etc.)

It is similar if I export the drawing from LOD to an EPS or WMF/EMF file and then inserting that into Word: many details are lost or wrong.

I ended up exporting to high resolution PNG (300 dpi) and inserting that into Word.

There must be a better way (that preserves the vector nature of the drawing).

PS: I noticed exporting to PDF gives "perfect" results. Could that (a PDF file or part of it) be imported into Word maybe?

3 Answers 3

1
+50

Your is a common problem with Word and I have the impression that Microsoft didn't like so much the idea to enhance the compatibility with Openoffice. I would like to suggest the use of Latex, BTW it is not always possible.

Since you noticed that you can produce the desired effect exporting as PDF, I decide to report here an interesting blog page for MacOS that can used to get hints to import a vectorial PDF inside Microsoft Word: the procedure is not fast but it avoids to fix the draw on a grid (as you do converting to PNG).

The main solution is based on pstoedit tools.
Once that you have your PDF (or eps) file you can convert in EMF by command line too.

Those are some command lines suggested:

  • pstoedit -f emf diagram.pdf/eps output.emf
  • pstoedit -f emf -pta diagram.pdf/eps output.emf
    Place letters individually, if text looks odd
  • pstoedit -f "emf:-m" diagram.pdf/eps output.emf
    Use Arial as font, if font looks wrong
  • pstoedit -f emf -drawbb diagram.pdf/eps output.emf
    Force drawing of bounding box – try this if you get cropping
  • pstoedit -f emf -xscale 2 -yscale 2 diagram.pdf/eps output.emf Scale up – use this if lines look blocky; experiment with larger values than 2
  • pstoedit -f "emf:-m" -pta -drawbb diagram.pdf/eps output.emf
    A combination of some of above

You can search a program to manage images that works fine with vectorial format under your operative system. Maybe you want to give a look to inkscape or intaglio for OS.

At the end you may prefer to fix the grid if the image as PNG file, maybe with the same resolution of the printer you're going to use (even 600 dpi or more if this is the case) and to save your time.

3

An answer can be found in the article what is the best way to draw in LibreOffice that is ready for exporting to MS Word?, answered by the poster himself :

My question was not about SVG graphic, but how to create drawings with LibreOffice, so MS Word could open it as well. SVG was one approach I was hoping it would be working...

This approach is pretty good (actually perfect):

  1. Draw objects in LibreOffice Draw
  2. Copy to clipboard (CTRL+C)
  3. Paste Special in LibreOffice Writer (Shift+Ctrl+V)
  4. Select GDI metafile
  5. Now you can save your document in any format (odt, docx, doc) without fear of being unrecognized when opened in MS Word or LibreOffice Writer again.

What I discovered that GDI metafile is not the same as WMF or EMF format, because when drawing is exported from Draw to WMF or EMF, and then imported to Writer -> printing to PDF does not work (from LibreOffice Writer), as well as some other problem. However, copy->paste works just fine.

I am using LibreOffice 4.0.3.3. with Ubuntu 13.04.

5
  • I tried that before creating this question but the results were bad. I'll recheck (maybe I remember it wrong). Jun 26, 2015 at 13:13
  • Many lines are not visible in Word after copying. They appear on extreme zoom levels (document view zoom + Change object size), but otherwise look like half of the drawing is missing. Also some text is wrapped differently. Basically it looks useless (on screen, haven't checked printing yet). Jun 30, 2015 at 20:14
  • Maybe you can print to file and select EPS format. Another idea is to export instead to svg, then use Inkscape to convert the svg to emf (see this article).
    – harrymc
    Jul 2, 2015 at 8:48
  • You copy to clipboard using CTRL C not CTRL V
    – s.ouchene
    Dec 18, 2021 at 8:14
  • @s.ouchene: Fixed (the error was in the original quoted text).
    – harrymc
    Dec 18, 2021 at 8:45
0

Open the LibreOffice Write and copy the 0needed graphs using "Right Mouse Click -> Paste Special -> Graphics Device Interface metafile (GDI)".

Save the LibreOffice Write as .docx or similar.

Using MS Word to open the .docx file and you can copy the graphs to anywhere with high quality of scalable vector.

In Windows 10 it works well.

1
  • 1
    Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Apr 22, 2022 at 10:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .