Correspondence between documentformat.openxml and office version

markDong 1 Reputation point

I've a question, Does documentformat.openxml correspond to the version of office? for example,DocumentFormat.OpenXml 2.8.1 can deal with the office 2013, but can this deal with the office 2016 ?

Is there some differences in dealing with the two versions of office? or we need to avoid somethings when we use the DocumentFormat.OpenXml 2.8.1 to deal with the office

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,435 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tom Jebo 1,446 Reputation points Microsoft Employee

    Hi markDong-0600,

    Yes, there are versioned API's and types in the DocumentFormat.OpenXml library pertaining to Office 2007, 2010, 2013, 2016 and 2019 (currently). Since this question is about the 2.8.1 version (currently the open source version of this is at 2.13.1, working towards 2.14), you should really direct your questions about the project to:

    Open XML SDK Issues list

    In general, you can ask "how to" questions by following the guidance on the readme for the github repo which says:

    If you have "how-to" questions please post to one of the following resources:

    Microsoft Q&A Forums (tag: office-addins-dev)
    Stack Overflow (tags: openxml or openxml-sdk)

    For this forum, since this tag doesn't scope to the Open XML SDK, I'll change the tag from [openspecs-questions] to [office-addins-dev], however, that forum mainly targets the 2.5 version of the SDK.

    I hope this helps.

    Best regards,
    Tom Jebo
    Sr Escalation Engineer
    Microsoft Open Specifications

    0 comments No comments