I’m inserting two tables. Between these tables I call documentBuilder.insertBreak(BreakType.LINE_BREAK)
Hi there,
Thanks for your inquiry.
You will find that a table will almost always have an empty paragraph after it. This is due to how MS Word sets out adjacent tables.
In your case to achieve your expected output you should beable to remove the extra line of code which inserts your line break.
Thanks,
Well when I leave out the additional LineBreak it looks like you can see on the new attatched screenshot “Without linebreak.png”
Hi there,
Thanks for this additional information.
Can you attach your code/template documents here for testing and I will look into this further for you.
Thanks,
I’ve attatched a simple Java Class which reproduces my problem.
Hi there,
Thanks for attaching your code here.
I think instead of inserting a line break you can insert a blank paragraph by calling either builder.InsertParagraph() or builder.writeln();.
Thanks,