I need the Paragraph- Keep with next feature in the documents I’m creating.
Since this is not currently supported in Words, can you see any possible problems with the following workaround?
Enclose the paragraphs to be kept together in a single cell table [with no borders] and set row property ‘allow row to break across pages’ to false.
Some of the paragraphs contain a table, so I’d have a nested table. Would that cause a problem? The tables do not use regions but do contain mergefields.
One problem I can see possibly happening with nested tables is when you have rows marked as “header” rows so they repeat at the top of each page if the table overlaps pages, they might not behave correctly.
My application needs to generate and display documents where the end user has no awareness that the documents are designed in MSword, and I have no guarantee that the end user will have MSword installed on their machine. So I need to convert to pdf to display a print preview of the document.
Now, some day in the future, Aspose.words viewer will be available with a print preview mode…[hint, hint!] and I will not have this problem.