Extracting Powerpoint Slide Infromation

S

Saurabh

Hi,

I am trying to work on exporting PPT into some proprietary format which can
be displayed in our application. Currently we export PPT slides to Jpg images
and embed those images in our application but then we loose upon the
animation. Now we want support animation as well. For that I tried to go
through the basic architecture of PPT, but couldn't find something which will
give out all the details about how to extract information about slides,
shapes, from PPT. If anyone have some good samples that I can try out please
let me know. Even some links which might be helpful.

I was trying to export the background of the slide to an image, but I am
only able to do that for the master slide and it doesn't work for the next
slides. For exporting background I am using following code:

slide.Background.Export("SlideBack.jpg", PpShapeFormat.ppShapeFormatJPG,
slide.Master.Height,slide.Master.Width, PpExportMode.ppRelativeToSlide);

But it only works for Master slide, remaining all slides background is
exported as complete black image. Can somebody tell me how to achieve this?

Other information that I was trying to extract from PPT was the position of
Shapes in slide. I get the left, top, right and bottom information on shape
but looks like it’s not correct, when I try to replicate same thing on SWF,
the position looks slightly shifted to left and top, so I was thinking that I
might be missing out on some of the margin values like Header or left/top
margin. I looked at the MarginLeft, MarginTop properties of TextFrame of my
current slide but it show 0 there. what is the difference between TextFrame
and TextFrame2?

How to extract information about margin length on the slide, and also how to
find the height and width of Header/Footer from the slide.

-Saurabh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top