An efficient synthesis of spiro[dibenzo[b,i]xanthene-13,3′-indoline]-pentaones and 5H-dibenzo[b,i]xanthene-tetraones