Reputation: 5755
In C# I can easily generate word documents or convert word files to other formats using the Microsoft.Office.Interop.Word
, but in case the users don't have the MS office installed in their systems, I think this approach is not gonna work. I would like to know if the .net frameworks provides any specific solution for doing this. (Not interested in third party libraries, I have already found many, my question is limited to .net frameworks )
Upvotes: 3
Views: 850
Reputation: 100575
No, .Net Framework does not provide complete solution for it.
You can build it yourself starting with - ZipPackage to build final file and XDocument
to create XML. Office file format documentation is available for download.
There are indeed libraries like OpenXml by Microsoft to create Office documents.
Upvotes: 5
Reputation: 2133
No, there is no way to generate Office files on a machine without Microsoft Office installed without the use of 3rd party libraries.
Upvotes: 0