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
2010-04-18 06:18:18
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
2010-04-18 08:02:45
You misread my question.. I'm looking for OpenXML, the Office 2007 format, not just ANY XML parser.
Ori Osherov
2010-04-18 08:38:49
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
2010-04-18 09:29:29
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
2010-04-18 10:54:40
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
2010-04-18 11:16:57
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
2010-07-31 18:10:09