Detecting a blank area in pdf