I am trying to work with MayNotBreak to keep group of rows in a table together. I noticed when upgrading from 5.5.1 to 5.5.9, the behavior of MayNotBreak changed, in what I think is an incorrect way.
In my code, I want to group 2 sets of rows together, such that they will never be on separate pages. Example that my PDF follows. Rows N and N+1 should stick together if N is even (0,2,etc...). On 5.5.1, the first page ends with "6, Group" which to me seems correct. Starting with 5.5.6, it now ends with "6, Group, 8" splitting 8 and its grouped row apart. It seems the cause is because of this commit: 2cb5efc9b6df33420073541e8010977974c9a2f1 <https://github.com/itext/itextpdf/commit/2cb5efc9b6df33420073541e8010977974c9a2f1#diff-16a128e8b6ebeeceb6829e8aecd5f0eeR1764> Can someone confirm this and that I am not mis-understanding the MayNotBreak option? -- View this message in context: http://itext.2136553.n4.nabble.com/bug-Java-iText-5-5-9-doesn-t-correctly-work-with-MayNotBreak-for-2-grouped-rows-tp4661021.html Sent from the iText mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php