MasterShape and SVG export

Started by Yves B. Desfossés, June 28, 2016, 12:45:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yves B. Desfossés

A few years back I created a set of shapes that contained formulas to create a hyperlink automatically from the text in the shape. I add bells and whistles to that shape and it worked fine for that project.

I'm on another project and I want to reuse those shapes. In this project, I just overwrite the automatic link manually in the shape and the end result is exported in SVG to import into Confluence.

The problem I have is that when I overwrite the Hyperlink, it's still the MasterShape Hyperlink that show in the SVG. If I edit the link on the shape, it shows the correct one and only the correct one.

I ran a VBA with the command:
vsoShape.MasterShape.Hyperlink.Delete
It fix the symptom and the overwritten link shows in the SVG.
But, the command not only erased the hidden hyperlink but it erase it in the stencil as well.

So I have two problems:
1-the SVG export that export the mastershape hyperlink instead of the actual hyperlink.
2-how to remove the mastershape hyperlink in the shape but not in the stencil.

Any thought?