Graphics cropped when pasting into MS Word

Discuss the drawing application

Graphics cropped when pasting into MS Word

Postby Waiter » Mon Jun 10, 2019 10:59 pm

Hi!

If you draw an ellipse in OO Draw, then mark it and cut/past into MS Word 2019, the bottom and right edge of the ellipse is cut off.
Does not happen if you paste into OO Writer.

Can't find any info about this being a known bug, but is there a way around this?

(...apart from the obvious "Don't use MS Word!" :knock: )
Windows 10, OpenOffice 4.1.6
Waiter
 
Posts: 3
Joined: Mon Jun 10, 2019 10:52 pm

Re: Graphics cropped when pasting into MS Word

Postby RoryOF » Mon Jun 10, 2019 11:01 pm

Perhaps export your graphic as a bitmap and paste that? Or the obvious answer...
Apache OpenOffice 4.1.7 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29870
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Graphics cropped when pasting into MS Word

Postby Zizi64 » Mon Jun 10, 2019 11:51 pm

Please upload sample files here.
Tibor Kovacs, Hungary; LO6.1.6 on Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-6.3.3; AOO4.1.6
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 8521
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Graphics cropped when pasting into MS Word

Postby Waiter » Tue Jun 11, 2019 12:24 am

Cropped.jpg
Cropped.jpg (23.38 KiB) Viewed 531 times


Docx-File attatched.

I just created one filled and one empty ellipse and copied/pasted them into word. First both at once, which leaves the filled one intact since it's not touching the edge of the copied area, and then the filled one separately.

It seems like the paste command pastes the picture with one pixel line missing on each side. (right and bottom)

If you do this with a rectangle, the left and bottom sides are completely missing.
Attachments
pasted.docx
(25.33 KiB) Downloaded 24 times
Windows 10, OpenOffice 4.1.6
Waiter
 
Posts: 3
Joined: Mon Jun 10, 2019 10:52 pm

Re: Graphics cropped when pasting into MS Word

Postby Zizi64 » Tue Jun 11, 2019 4:38 pm

Use the native ODF fileformats (.odt for the Writer document, .odg for the Draw document). Create the objects (circle and ellipse) in a Draw document, and then copy-paste the original vectorgraphic objects from the Draw document into the Writer document instead of the converted pixelgraphic images.

Finally export the Writer document into the foreign OOXML format.
Last edited by Zizi64 on Tue Jun 11, 2019 5:32 pm, edited 1 time in total.
Tibor Kovacs, Hungary; LO6.1.6 on Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-6.3.3; AOO4.1.6
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 8521
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Graphics cropped when pasting into MS Word

Postby Zizi64 » Tue Jun 11, 2019 4:46 pm

The converting procedure (vectorgraphic to pixelgraphic) crops a few pixels. Maybe it is a bug.
Workaround tip:

Use a small dot (or an other object) near (some pixels distance) the right-bottom corner of the vectorgraphic object (colorize it to white color or to invisible) and convert the main and helper object together into pixelgraphic format.

But it is better to use the vectorgraphic objects.
Tibor Kovacs, Hungary; LO6.1.6 on Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-6.3.3; AOO4.1.6
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 8521
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Graphics cropped when pasting into MS Word

Postby Waiter » Mon Jun 17, 2019 11:00 am

Zizi64 wrote:Workaround tip:


That's of course a good workaround. Thanks for the tip! :D
Windows 10, OpenOffice 4.1.6
Waiter
 
Posts: 3
Joined: Mon Jun 10, 2019 10:52 pm


Return to Draw

Who is online

Users browsing this forum: No registered users and 1 guest