2 column divider problem

The current problem I have is similar to [SECTION 1 - Page 1] below, notice the column divider length. 
What I would like to create is [SECTION 2 - Page 2].

Each column content is dynamic so sometimes the column will be very short, or go halfway down the
column so the column divider length is inconsistent across all pages. I would like the 2 column
divider to extend all the way down to the end on every page.

Is there an easy way to accomplish this? Something like auto-fill in blank lines until end of
page section?

If not, what is the best method to approach this problem?

If it's possible, I was thinking of a function that would count how many lines there are until
the end of the page. So if the UntilEndofPageCounter() calculates there are 7 more lines until
it hits the end of the page, then it can Builder.Writeln "" 7 times and then insert
[SECTION BREAK]. Or is there some other simple method I overlooked?

[BEGIN 2 COLUMN DOCUMENT]

[SECTION 1 - Page 1]
f jksdl jkd fjlk...|.vdj ejn ejfn efj n.
qog fjkd eif fjk f..|.dfn f,s e jejf jk..
ie vjei ekje slk....|.eowp jeo uu wopw ..
fjlkjd djfie fjkej..|.ieow ekej foif kj..
[COLUMN BREAK]......|.ciej fkjlsf ifje ..
....................|.siejf ekje flekjf .
......................[SECTION BREAK]....
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
end of section 1

[cr] = Carriage Return

[SECTION 2 - Page 2]
f jksdl jkd fjlk...|.vdj ejn ejfn efj n.
qog fjkd eif fjk f..|.dfn f,s e jejf jk..
....................|.tuw fie ends ekf...
ie vjei ekje slk....|.eowp jeo uu wopw ..
fjlkjd djfie fjkej..|.ieow ekej foif kj..
uio fieu fjne ef f..|.ciej fkjlsf ifje ..
fjwl fejie ef jeii..|.[cr]...............
quis fje ig kdj ei..|.[cr]...............
sf ekfj elie kjf i..|.[cr]...............
sdf fe efe e e ww...|.[cr]...............
[COLUMN BREAK]......|.[cr]...............
....................|.[cr]...............
....................|.[cr]...............
....................|.[cr]...............
....................[.SECTION BREAK]......
end of section 2


[END 2 COLUMN DOCUMENT]

Unfortunately without pagination engine there is no way to tell how much space is left on the page. Aspose.Words currently does not have pagination engine, but we plan to implement it later this year.

Can this 2 column divider problem be solved using Aspose.PDF now? How
would you tackle this problem from Aspose.PDF point of view?



If PDF works and the delay is too long, I might just recode everything
to work with Aspose.PDF then. But I’ll wait for Aspose.Words’
pagination engine implementation as of now. Since it’s a minor problem
and not too many pages are being generated…yet.

Please contact Aspose.Pdf team directly via their dedicated forum.