When my application get started through the commandline it gets passed a parameter that contains the document that should be opened and a number which represents the page where