According to the documentation for Open XML SDK 2.0 for Microsoft Office I should be able to use DocumentFormat.OpenXml.Office2010.Word.DrawingShape
(along with many other namespaces prefixed by DocumentFormat.OpenXml.Office2010
) with my Word 2010 document.
I have referenced assembly DocumentFormat.OpenXml
(from DocumentFormat.OpenXml.dll
which is version 2.0 of the SDK) but Object Browser does not show any of the DocumentFormat.OpenXml.Office2010
etc namespaces as available.
If I reference Open XML SDK 2.5 for Microsoft Office however, these namespaces are available. Unfortunately, I need to use v2.0 in my project because we rely on a third party dll which is not compatible with framework 4.
Am I wrong to think that everything should be contained in DocumentFormat.OpenXml.dll
(for v2.0) or is there an additional package I need to download?