I'm generating reports from a .docx
document using HtmlToOpenXml
.
I need to ensure that a particular html block will be displayed on the same page, for example:
<p>Video provides a powerful way to help [...]</p>
<br />
<br />
<p>To make your document look professionally [...]</p>
I took a look around the web:
<w:pPr><w:keepNext/></w:pPr>
had my attention but I'm not sure that I can put two paragraphs inside a larger one.
I'm aware that it will depend of the font, size and so on but it will not change.