简体   繁体   中英

Is there an Open XML parser for C++?

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++?

Here's a newly released C library called libOPC which has the same intent as the Open XML SDK, but can be used in all of Linux/Windows/Mac/etc. You can read about it here: libOPC version 0.0.1 released and get the code from CodePlex (be sure to check the documentation page for demo videos).

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!

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

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 on Google : XML parser C++

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM