Set layout for document page