ARIS Community - We Love BPM

Word Report : Prohibit lines splitting over several pages

legoupil.jp's picture
by Jean-Philippe Legoupil in Reports & Macros posted on 2017-03-14

Hello,

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 ?

Thanks

551 Views
0 Likes
0 Comments
Sorry there are no tags
There are no attachments