Word Report : Prohibit lines splitting over several pages
My script report generate table cells in a Word document.
My problem, my table is over several pages, but at the end of each page, line rows could be split between 2 pages...
Line code for creating table :
ooutfile.BeginTable(100, colWidthList, Constants.C_BLACK,Constants.C_WHITE,Constants.FMT_LEFT | Constants.FMT_ITALIC | Constants.FMT_REPEAT_HEADER ,0);
To solve my problem I have to change manualy in the Word document the table property to prohibit splitting of lines over several pages...
Is it possible to change the table properties by script to do that automatically ?