NXP-11618: 'pageSize' and 'currentPage' are optional when restoring a ContentViewState from a JSON string
NXP-11618: add method to set the document for a given main tab