Join
Sign in
Search Options
Search Everything
Search Formats
Home
Blog
Resources
Forums
About Open XML
More ...
Home
»
Forums
»
Formats
»
DrawingML
»
Overlapping drawingML and VML objects
Overlapping drawingML and VML objects
Formats
Discussions about working with different Open XML Formats
Get this RSS feed
Details
0
Replies
1
Subscriber
Posted
over 2 years ago
Options
Subscribe via RSS
Share this
DrawingML
Overlapping drawingML and VML objects
rated by 0 users
This post has
0 Replies |
1
Follower
ste1927
5
Posted by
ste1927
on
Tue, Aug 31 2010 2:07 AM
rated by 0 users
Post Points: 5
Overlapping drawingML and VML objects
In Microsoft Word 2007 and 2010, images are DrawingML objects whilst shapes are VML objects.
Does anyone know how to set the relativeHeight in the anchor DrawingML object and the z-index value in the VML pict object so as to control which one is in front when the two objects overlap?
Both objects should be behind text, so anchor has behindDoc set to 1 whilst the z-index in pict must be negative. I worked this thing out by looking at what MS Word is doing.
Here is where things get tricky: relativeHeight must be positive as from specs whilst z-index must be negative as from empirical evidence. So how can the VML object ever be in front since the specs say the higher the z-ordering the more in front.
Yes there is a way to do it since MS Word has its own way to work things out. Only I cannot figure out the logic and the specs say nothing about intersecting VML and DrawingML objects as far as I could see.
Thanks!
Page 1 of 1 (1 items)