Forum Discussion
Text get cut off on page switch if table spans across pages
I have some code that creates a docx document that includes tables. At first i used some other code that could create doc files, through html, but to update it i now use docx instead, which is build differently. But the problem Im facing after the switch is that text gets cut off through the middle when the table spans across a page. See screenshot below.
The only thing I've found to work, is if i change the table theme when the document is opened in word, but I cant find a way to do this via xml.
It is also worth noting that the document is generated via code, that creates a html file holding the main content, and loaded via the <altChunk> tag in the xml
If i upload the document to word online there is however no issue
I've tried lots of things in the xml which is used in the docx generation, like padding, spacing, line-height etc. but haven't found anything yet that works, and at this point im out of ideas, hence why i reach out to the community.
1 Reply
- Charles_KenyonBronze Contributor
Can you save a problem document on OneDrive or DropBox and post a share link here so we can look at the actual document structure?