Sorry if this has been asked before.
I'd like to read and write DOCX/OpenXML files with C++ (or Objective-C++) on Mac. I'm not only interested in the text but also in the formatting (bold, italic, underline, strikethrough, font color).
I couldn't find any libraries that do that.
The official OpenOfficeXML SDK appears to be C# and Windows only.
Am I overlooking something obvious? Is [NSAttributedString initWithData...] my best option?
Edit: The other solutions suggest to (1) unzip the DOCX package and then work with the XML files or (2) they suggest using .NET and/or C#. Another solution that's mentioned is (3) DuckX.
(1) I don't want to write myself an XML parser to read the formatting information all by myself as I don't think that's the right way to go. (2) As the tags and title say I'm looking for a C++ solution that works on macOS (3) DuckX is great but doesn't support tables within Word documents