Heading style supporting
Posted: Sun Feb 15, 2015 11:57 am
Hello
I met a problem of converting heading styles like h1,h2 into docx. I have set "docx4j-ImportXHTML.Element.Heading.MapToStyle=true". If there is newly created WordprocessingMLPackage(e.g. wordprocessingMLPackage = WordprocessingMLPackage.createPackage() ), the heading styles can be properly converted into final docx. However, if those styles are converted into an existing WordprocessingMLPackage on disk, only bold style can be shown into the generated docx. Is there possible to still convert or match the heading styles into an existing docx
I met a problem of converting heading styles like h1,h2 into docx. I have set "docx4j-ImportXHTML.Element.Heading.MapToStyle=true". If there is newly created WordprocessingMLPackage(e.g. wordprocessingMLPackage = WordprocessingMLPackage.createPackage() ), the heading styles can be properly converted into final docx. However, if those styles are converted into an existing WordprocessingMLPackage on disk, only bold style can be shown into the generated docx. Is there possible to still convert or match the heading styles into an existing docx