Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: juan.drn on March 27, 2018, 01:11:35 am
-
I need prevent a table will be splitted when content cannot end in the page and need to send to the next page, I've insert page break, but each table is showed in one page, and that is incorrect too, I want prevent split a table and I wan't prevent that exist one table by page.
Thanks
-
I need prevent a table will be splitted when content cannot end in the page and need to send to the next page, I've insert page break, but each table is showed in one page, and that is incorrect too, I want prevent split a table and I wan't prevent that exist one table by page.
This is not something you can achieve in a word processor so I very much doubt you can force EA to do it in the documentation generation. Generally if you want a table to be one page only you change the font size until you shrink it enough. That or generate an image that you scale to one page.
-
In the template you need to set the paragraph with orphan control and keep with next para to keep the table on one page.
-
I think you can set that in the properties of the table in Word, but not in the template itself.
I remember writing a VBA macro to change that setting in Word after generating a document.
Geert
-
No need to write VBA as you can do it in the template. Its actually a property of paragraph not table.
So from EA V13. Open the template you can access it via
Tab > Edit> Paragraph>Keep with next
Alternatively export to docx change para settings in MS word then import the template again.
Both techniques work for me.
-
You might be right.
I think there was also a setting to prevent rows to be splitted across pages.
That must have been the one we couldn't change in the EA template.
Geert