Are there features that DO NOT appear in the OpenXML SDK v2?

I want to know if there is something that you cannot do with the SDK that was opened in the COM interface?

+6
source share
1 answer

The OpenXML SDK is a convenient layer for the OpenXML file format. Using this SDK, you can do your best with the file format, for example. Insert, modify, and delete content, metadata, and formatting.

Unlike COM Office automation, you cannot do anything related to application logic. To give you some examples: using the OpenXML SDK, you cannot know the page number of a specific element in a text document, because this will require pagination, you cannot recalculate the spreadsheet formulas because it requires the Excel math engine, or you You cannot convert a presentation slide to an image because this requires PowerPoint to display the slide.

As for Word, you can take a look at the following presentation, which demonstrates when to use the OpenXML SDK and Office for automation:

Presentation of open SDK + Word services for presentations in PDC

+6
source

All Articles