Issue with copy/paste Windows Metafile (WMF format)

Post Reply
andy_hoppe
Posts: 1
Joined: Thu Jun 24, 2021 9:09 pm

Issue with copy/paste Windows Metafile (WMF format)

Post by andy_hoppe »

I have come across an issue with pasting Windows Metafiles (WMF) images into Presentations or TextMaker on Linux. The attached test files { testfile1.wmf, testfile2.wmf } can be inserted via Insert->Picture. However, when these metafiles are present in clipboard neither Textmaker nor Presentations can insert these even through they are listed as “WMF picture (Windows Metafile)” in the Paste Special dialog window.

I have tested this using the xclip utiliy on the command line as follows:

xclip -sel clip -t 'image/wmf' testfile1.wmf

“WMF picture (Windows Metafile)” listed in Paste Special but pasting in does not work.

However, I can paste in a bitmap version of the same file from the clipboard:

xclip -sel clip -t 'image/bmp' testfile1.bmp

“BMP picture (Bitmap)” listed in Paste Special and pasting in works.


This should be easily fixable as the functionality to read, decode and insert WMF image files is already there for reading in WMF files. The clipboard data is the same as the image file data so it is just a matter of redirecting the input data stream.

I would be very grateful if this could be made to work.

Many thanks.
clipboard issue.zip
test files for clipboard
(1.8 KiB) Downloaded 184 times
SuperTech
SoftMaker Team
SoftMaker Team
Posts: 2930
Joined: Wed Mar 11, 2020 5:31 pm

Re: Issue with copy/paste Windows Metafile (WMF format)

Post by SuperTech »

Thanks for reporting this problem. I was able to reproduce it and forwarded the details to our developers team.
SuperTech
SoftMaker Team
SoftMaker Team
Posts: 2930
Joined: Wed Mar 11, 2020 5:31 pm

Re: Issue with copy/paste Windows Metafile (WMF format)

Post by SuperTech »

Our developers team has fixed this problem and the solution is included in the current service pack of SoftMaker Office. Please update your SoftMaker Office.
Post Reply

Return to “Presentations 2021 for Linux”