How can I read the title of a slide from a Powerpoint 97-2003 Presentation (a .ppt file saved with Powerpoint 2007)?
If I have a .ppt file saved with Powerpoint 2003, the title can be found in the Slide.Placeholders collection at index 0. But this collection is always null if the ppt has been saved with Powerpoint 2007.
"PowerPoint 2007 converts all placeholders to plain shapes. They don't have links to placeholder records anymore, don't have parent master shapes and etc. So there are no ways to work with these objects as with placeholders in case presentation was saved in PP2007. That is not a problem of Aspose.Slides and I'm afraid we can't do anything to solve it. Information simply doesn't exist and we can't create it from scratch."
There is one more finding, if you create Title/Subtitle placeholders and save in 2003 format in MS-PowerPoint 2007, then they can be located in Slide.Shapes collection. And we can locate them by checking following fields, as you also stated.
1- Shape.IsTextHolder will be true
2- Shape.TextFrame will not be null
3- Shape.Name property contains either Title or Subtitle