Group:  General ยป microsoft.public.office.xml
Thread: convert powerpoint 2003 to xml file

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

convert powerpoint 2003 to xml file
william 31.08.2006 02:57:01
I am trying to convert ppt to a xml file, which means that I will also
extract the different shapes in the ppt file. What I am using is VS.Net2005
plus office 2003 interop assembly. The problem is that when I try to extract
the animated gif from the ppt file, the extracted gif image file is not
animated. And also how can I retrieve the original image's width and height,
so when I extract the image I can use these values.

Here is my current C# code:
int pixWidth = activeWindow.PointsToScreenPixelsX(shape.Width);
int pixHeight = activeWindow.PointsToScreenPixelsY(shape.Height);
shape.Export(fullFileName, PowerPoint.PpShapeFormat.ppShapeFormatGIF,
pixWidth, pixHeight, PowerPoint.PpExportMode.ppScaleToFit);
Re: convert powerpoint 2003 to xml file
"Dr. Eckehard Pfeifer" <privat[ at ]dr-e-pfeifer.newsgroup.de> 31.08.2006 08:37:58
Hi, my be its is a good idea, to save the presentation in xhtml-format
or to use the HTMLProject and its Items. In this way you have all the
pictures exportet by PowerPoint and you can use a xsl-Transformation to
transform shapes and its vml-definitions to the schema you use. A
transformation of the xhtml-part is a good idea at all. You can study
the fileformat of ppt 2007, too, to get some other ideas.

--
MfG EP
Entwicklung - Beratung - Training (www.dr-e-pfeifer.net)
XL-Funktionsverzeichnis (ISBN: 3860636898)
MS Office 2003 - Das Entwicklerbuch (ISBN 3-86063-688-X)


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net