I have an application that download docx file from a service. The problem is that the service creates the docx with the an old format (I think it used the open xml version 2.0). I don't own the service so I can't change the creation process of the word , but I thought about building a convertor , that will open the downloaded files and recreate them in the newest format using the open xml sdk version 2.5. I was optimistic when I thought this code will work ( A simple open and save) :
WordprocessingDocument wordprocessingDocument =
WordprocessingDocument.Open(filePath, true);
wordprocessingDocument.MainDocumentPart.Document.Save();
I'm not fimiliar with the open xml sdk , so any help will be appreciated.