I’m interested in harvesting data from powerpoint for use in another application via xml. I’ve downloaded the demo and can’t find an example that uses templates in this fashion.
The template example you have provided instead relies on the text value in the power point text box to determine what to publish. As in…
This is OK if you want to publish to PP from another source, but this will not work going in the other direction. For example, what if I wanted collect the text in the text area containing “H1” no matter what text it contained?
It seems to me that my solution will require that my PowerPoint template have some way to “tag” text fields with some kind of meta data indicator. I suppose I could use something like substring() to check that “H1” precedes the text contained in a text area. This is somewhat less than ideal as it requires that my powerpoint users not break this. Is this making any sense? Do you have any suggestions for me? Thanks!
After further investigation I am wondering if I could use the MainMaster class to achieve this? For example, does the Asposeppt API provide access to a MainMaster placeholder?
About MainMaster placeholders.
At first, what would you like to find? TextHolders or TextFrames?
MainMaster doesn’t contain real text holders. It’s just a template without any text.