I am working with OpenXML manipulating the document.
Do we need to have office installed for opening document through OpenXML?
No. You only need to have a reference to the library that provides all the OpenXML functionality. That library is not dependant on Office. OpenXML will only handle the new file formats, not the old DOC and DOT.
OpenXml library from Open XML SDK 2.0, and WindowsBase in your project; adding in Visual Studio is straightforward. Go to your Solution Explorer > right click on references and then click Manage NuGet Packages . Then search in tab “Online” for DocumentFormat. OpenXml and install it.
Office Open XML (also informally known as OOXML) is a zipped, XML-based file format developed by Microsoft for representing spreadsheets, charts, presentations and word processing documents. Ecma International standardized the initial version as ECMA-376. ISO and IEC standardized later versions as ISO/IEC 29500.
Today MS Open Tech has announced the release of the Open XML SDK version 2.5 as open source software (Apache 2.0 license) under the stewardship of the . NET Foundation.
No. You only need to have a reference to the library that provides all the OpenXML functionality. That library is not dependant on Office.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With