public void nextColumn ( ) throws DocumentException { currentColumn = ( currentColumn + 1 ) % columnDefs . size ( ) ; top = nextY ; if ( currentColumn == 0 ) { newPage ( ) ; } }
Moves the text insertion point to the beginning of the next column issuing a page break if needed .