Take a look at WordprocessingDocument class in the DocumentFormat.OpenXml.Packaging I saw the Create method that receive as parameter a string path and a type that are a WordProcessingDocumentType.
WordProcessingDocumentType
public enum WordprocessingDocumentType
{
// Summary:
// Word Document (*.docx).
Document = 0,
//
// Summary:
// Word Template (*.dotx).
Template = 1,
//
// Summary:
// Word Macro-Enabled Document (*.docm).
MacroEnabledDocument = 2,
//
// Summary:
// Word Macro-Enabled Template (*.dotm).
MacroEnabledTemplate = 3,
}
So, I can’t build a .doc file, or put some compatibility with the Word 97-2003 as .doc format ?
No, pre 2007 doesn’t use the openxml file format.