Table detection in heterogeneous documents.