Document orientation control.