plutext / docx4j-ImportXHTML

Converts XHTML to OpenXML WordML (docx) using docx4j
136 stars 125 forks source link

H1~h6 can support the heading1-heading6 conversion to word #87

Open SK-XFY opened 2 years ago

SK-XFY commented 2 years ago

I found a section of configuration in the configuration file, but I don't know how to make the configuration file effective image

xunbie commented 2 years ago

ImportXHTMLProperties.setProperty("docx4j-ImportXHTML.Element.Heading.MapToStyle", true);