Loosing some colors when copy/pasting from/to Visio

  • Thread starter Patrick Steranka
  • Start date
P

Patrick Steranka

I have seen the following problem numerous times:

Problem: I create a Visio diagram and when I copy/paste the diagram
into another MS Office product, like Word, Powerpoint, or Excel, I
loose some of the colors.n

In fact, I just ran into this when copying a visio drawing from one
Visio file to another Visio file. Note that copying from one page
to another page within the same Visio file did not loose the colors.

Some quesitons I have are:

(Q) Why does this happen and what I can do (if anything) to prevent it
from happening.

(Q) How does visio, powerpoint, or word stores the colors associated
with objects so that the paste operation works?

(Q) Has anyone actually implemented copy/paste of graphic diagrams to
know what the issues are?

NOTE: I've created a short 1 page MS-Word document that shows how to
reproduce the problem if anyone cares to reproduce the problem.

Here are the words from the document:
----------------------------------------------------------------------
I created this to capture information about why some colors get lost
when pasting them. It's important to note that while Visio to Word is
shown in this document. I've seen the same behavior when pasting from
Visio to Powerpoint as well. I think I may have seen this when
copy/pasting from powerpoint to visio as well but I don't know for
certain.

Test #1: Visio to Word
In Visio 2000 SR1, I create a rectangle with a fill color of:
R/G/B=255/153/204 (equates to H/S/L=220/240/192).

Here is what it looks like in Visio. Screen snapshot taken with
PaintShop Pro.

// NOTE: This is a JPEG image

Here is what it looks like when I paste it into word:

// NOTE: This is a Visio Embedded Object inside of a Microsoft Word document.

Even if I right click on this Visio Embedded object and select Edit in
Visio, the object stays white.

(Q) So what happens if I edit the Visio Embedded object so the color
is correct (back to what it was in Visio), does that work? (A) Yes it
does. Here's how it looks.

// NOTE: This is a Visio Embedded Object inside of a Microsoft Word
document.

So what this tells me is that it is possible for word to display the
color. A problem exists with the Microsoft's (or someone's) algorithm
for copying/pasting objects with colors.

----------------------------------------------------------------------

In general, I use a screen capture program like PaintShop Pro, or
SnagIt to create a JPEG (with all of the colors) and paste the JPEG to
the next tool I'm using. This is fine if all I'm doing is creating a
report but not fine if I want or need to edit the diagram in the next
tool.

If you have other work-arounds, I'm interested in hearing them.

Thanks,
Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top