views:

208

answers:

3

Hello, I want to scan a PowerPoint 2007 file, but I'm trying to do it with C++. Is there any Open XML parser for C++?

A: 

Not yet. But you can make one. The standards specification files are pretty clear, aren't they ;)

Alternatively you can convert http://phppowerpoint.codeplex.com/ using http://github.com/facebook/hiphop-php

Good luck!

Viet
A: 

There are several.

Xerces is the most comprehensive: http://xerces.apache.org/
TinyXML is popular: http://www.grinninglizard.com/tinyxml/
Expat is my favorite: http://expat.sourceforge.net/

You can find more information here: http://tinyurl.com/y6qhyvd

Martin York
You misread my question.. I'm looking for OpenXML, the Office 2007 format, not just ANY XML parser.
Ori Osherov
One would assume that OpenXML is simply just XML document. If you had said I wanted to convert an Office 2007 document into 'X' then you made hade a ligit question.
Martin York
The thing is, I'm a bit pressed for time and would rather not read the specs and adapt them to a generic tool. I was hoping there was something a la the OpenXML SDK for CLR that I could use.Thanks anyway though!
Ori Osherov
Treating OOXML as a plain XML format and trying to parse it from scratch could keep you busy for the next decade or so. Probably not the best way to go. ;)
jalf
A: 

Another option is try c++ binding directly. (more useful when you want to check specific small part of document)

http://wiki.services.openoffice.org/wiki/IDL_Files_and_Cpp#Concrete_Example

Jayan