A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
Since this doesn't appear to be documented anywhere else that I could find, I have done some testing and thought I would pass along my findings.
- The Basics
- When using a Content Placeholder, depending on which icon the user clicks, the slide will store each Placeholder as a Text PH (shape), Picture PH, Media PH, etc., which I confirmed by looking in the XML file.
- As you noted, Rich, PowerPoint does seem to fill Text PHs with Text, Picture PHs with Pictures, etc. If I have a slide based on a layout with 3 Picture and 3 Text [P1, P2, P3, T1, T2, T3] and change to a Layout with 3 Text and 3 Pictures, they fill as I'd hoped [T1, T2, T3, P1, P2, P3].
- Where It Gets Interesting
- Based on my testing, PowerPoint fills the Content PHs in the idx order of theprevious Layout. So if I have a layout with index order P1, P2, P3, T1, T2, T3, and I change to a layout with 6 Content PHs, it will keep everything in the same order. If I start with a slide with index order T1, P1, T2, P2, T3, P3, then that's what will show up in the 6 Content PH Layout.
- However, if one takes this same slide [P1, P2, P3, T1, T2, T3] and changes to a layout with only 2 Picture PHs and 2 Text PHs, it fills in those 4 as expected and the other two become "floaters" somewhat haphazardly placed on the slide. **These floaters ALL get the idx="4294967295" and in the XML they get rearranged to list the Text entities first,**no matter what the order was on the previous Layout's XML. This also happens if one changes to a blank Layout; they all become "floaters" and get that same idx.
- If I take the original slide [P1, P2, P3, T1, T2, T3] which has been changed to a "blank" Layout (with 6 floaters) and now choose a layout with TTTPPP or PPPTTT, they all fill as expected--Text to Text and Pictures to Pictures in the idx order of the previous layout. And if I change the now-"blank" slide to 6 Content PHs, it gives the same result.
EXCEPT:
A) [P1, P2, P3, T1, T2, T3] -> Blank Layout -> PPPTTT Layout = [P1, P2, P3, T1, T2, T3]
B) [P1, P2, P3, T1, T2, T3] -> Blank -> PPPTTT-> Undo (back to Blank) -> PPPTTT = [P3, P2, P1, T3, T2, T1]
If an Undo takes you back to a situation where PHs become "floaters" then if a different Layout is selected, PowerPoint fills the "floater" PHs in reverse order!
As you might guess, it took me a long time to finally figure out what was triggering the inconsistencies.
I hope somebody finds this helpful.