Link to home
Create AccountLog in
Avatar of mamuscia
mamusciaFlag for United States of America

asked on

How to dump/display classes for OOXML SDK V2

Hi experts, is there anyway to dump/display the classes used in the OOXML SDK V2 kit?
I would like to see the methods used within these classes and how they manipulate Office 2007 ooXML
documents.

Thanks.
Avatar of andrewssd3
andrewssd3
Flag of United Kingdom of Great Britain and Northern Ireland image

If you have Visual studio you can use the Object Browser to look at all the classes and members.  There is also this Microsoft documentation http://msdn.microsoft.com/en-us/library/gg278315.aspx.

Even more useful, I think, is the productivity tool that comes with the SDK - this allows you to specify an office document, and the tool generates all the OpenXML code required to create that document from scratch.  That way you can create a document with certain features you're interested in, and see exactly the code you need (keep the doc small or the code can be very large :))
Avatar of mamuscia

ASKER

Can you please elaborate on the second suggestion of using the productivity tool that comes with the SDK?
I have Visual Studio Express 2010, not the full blown version.  I am not a VS developer per say, so can you describe step by step what I would need to do to get this productivity tool working?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of andrewssd3
andrewssd3
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
OK, I got the productivity tool to work, and it shows me the code required to construct the document just like you said. Thanks for pointing this out to me.  This works for my purposes.  Thanks!