word-2010

Unable to use existing paragraph styles in Open Xml

北战南征 提交于 2019-11-26 22:26:26
问题 I'm working on an export of an HTML file to a Open XML wordfile. If in the HTML <h1> is used, I want to add a Heading1 style to that part. But somehow when I open the document in Microsoft Word 2010, the Style isn't applied. If I open the created document in Libre Office, there is some style applied. I also defined some styles myself, and if I use one of those styles, everything went well in Word and Libre Office. I opened the Open XML SDK 2.5 Productivity Tool for Microsoft Office and when I