read page information for crerengine
also check page changes on UpdatePos event
fix: retrieve toc when page or height of document is changed