Hi,
Thanks for your inquiry. This is Amber from E-iceblue support team.
1. Please refer to the following code to set section breaks in CSS.
- Code: Select all
<span ><br clear=all style='page-break-before:always;mso-break-type:section-break'></span>
And I have attached an html file, you could take it as a reference.
2. In your sentence “Can I convert the DOCX(OpenXML) to retain section breaks?” Do you want to convert Docx to html? If so, sorry to tell you that our Spire.Doc couldn’t analysis section breaks, so when convert Docx file to html file, the section breaks won’t be retained. We will add it into our update plan and try to achieve it in the future. Once there is any good news, we will inform you.
Best wishes,
Amber
E-iceblue support team
Login to view the files attached to this post.