Join
Sign in
Search Options
Search Everything
Search Formats
Home
Blog
Resources
Forums
About Open XML
More ...
Home
»
Forums
»
Formats
»
DrawingML
»
[SmartArt] Discrepancy between GUI and shape information stored in 'diagram1.xml'
Re: [SmartArt] Discrepancy between GUI and shape information stored in 'diagram1.xml'
Formats
Discussions about working with different Open XML Formats
Get this RSS feed
Details
1
Reply
0
Subscribers
Posted
over 3 years ago
Options
Subscribe via RSS
Share this
DrawingML
[SmartArt] Discrepancy between GUI and shape information stored in 'diagram1.xml'
rated by 0 users
This post has
1 Reply |
0
Followers
fwdev
135
Posted by
fwdev
on
Wed, Jul 22 2009 1:29 PM
rated by 0 users
Post Points: 20
[SmartArt] Discrepancy between GUI and shape information stored in 'diagram1.xml'
Hi all,
With the introduction of Office 2007 SP2, SmartArt now has a shape tree description saved (in a file called 'diagram*.xml' along with its normal data. I am using this shape tree to render SmartArt, which works fine except for some seeming discrepancies between what's saved and what the PowerPoint GUI displays.
An example that illustrates one of the discrepancies is the SmartArt "Trapezoid List". If you create a stock Trapezoid List SmartArt object in the GUI and add text to each of the shapes, the text is oriented horizontally. If you click on the individual shapes, you'll notice that they are rotated.
Now, if you save this file and look at the shape tree generated for this SmartArt object, you'll notice that the shapes are saved as 'flowChartManualOperation' shapes that are rotated 270 degrees. However, the text for each shape is specified as being horizontally oriented (i.e. the "vert" attribute of 'bodyPr' is set to "horz"), and the text's associated 'txXfrm' tag specifies that the text should also be rotated 270 degrees. If you take this shape description and place it in a normal slide, the text is rendered vertically, from bottom to top, as you'd expect. This does not match what is rendered for the SmartArt.
I have looked through the data and layout for this SmartArt object (and others that exhibit similar problems), and I haven't seen anything to explain this mismatch. I was wondering if anyone could shed some insight on how to resolve this problem. Did I miss a detail somewhere?
Thanks for the help!
fwdev
mrrcomp
5
Posted by
mrrcomp
on
Thu, Jan 13 2011 9:47 AM
rated by 0 users
Post Points: 5
Re: [SmartArt] Discrepancy between GUI and shape information stored in 'diagram1.xml'
Hi I read with interest your post here. I was wondering if you could elaborate on how you "render" a smartart using the XML file. I need to create an SmartArt Heirarchy Org Chart on a PowerPoint Slide. Looking forward to your response. Thanks Meir
Page 1 of 1 (2 items)