Read the orientation preference from the hpub file

Set orientation to landscape if the HPUB file specifies it.