Two algorithms for automatic document page layout · Study