Let's go straight to the topic! : Www. microsoft. comdownloadsdetails. aspx? FamilyIdC6E744E5-36E9-45F5-8D8C-331DF206E0D0 official forum: social. msdn. microsoft. comForumsen-USoxmlsdkthreads Other resources: msdn. microsoft. comen-uslibrar
Let's go straight to the topic! : Http://www.microsoft.com/downloads/details.aspx? FamilyId = C6E744E5-36E9-45F5-8D8C-331DF206E0D0 official forum: http://social.msdn.microsoft.com/Forums/en-US/oxmlsdk/threads Other resources: http://msdn.microsoft.com/en-us/librar
Let's go straight to the topic!
: Http://www.microsoft.com/downloads/details.aspx? FamilyId = C6E744E5-36E9-45F5-8D8C-331DF206E0D0
Official Forum: http://social.msdn.microsoft.com/Forums/en-US/oxmlsdk/threads
Other resources: http://msdn.microsoft.com/en-us/library/aa338205.aspx#office2007aboutnewfileformat_introduction
Download and install it. Press enter for the moment and default
Create a project and add reference
1, WindowBase,
2, C: \ Program Files \ Open XML Format SDK \ V2.0 \ lib \ DocumentFormat. OpenXml. dll
I think there are few articles in the garden because its documents are too full.
Note: The Office2007 system uses a brand new XML format for storage, and is then stored as a file using a compression algorithm. Therefore, similar to docx, files such as xlsx can be directly changed to rar, zip, and decompressed.
See how to generate a file
Open the Help file and find How to: Create a Package.
For advanced applications, if you want to write a file in a more complex format, you can manually create a document and use the tool that comes with it to directly view the XML structure and code!
The following two images
We can see that the structure is left, the XML code is on the top right, and the C # code is on the bottom right! What's your question?
The tool is located at: C: \ Program Files \ Open XML Format SDK \ V2.0 \ tools \ DocumentReflector.exe by default.
Try it now ~