Adds the functionality to save the view mode (single page, facing...), continuous scrolling, and margin trimming to the document information, as it is already done with the zoom information.