Paging document

Hello guys, im aming for a pagination to.Can u guide me a little bit here, if i understood corect you slice the nodes that are in the overflow and move them in the next page node ? But how u know which nodes are are not visible ? One more question how this behave with large docs, over 50 pages for example?What do u think for the approach of Word online :