Add support for scaling the document to fit to a page, fit to width, fit to height and custom scaling.
Add support for scaling the document to fit to a page, fit to width, fit to height and custom scaling.