We use an advanced extractor to detect ruled tables (lattice) or whitespace-aligned tables (stream) and then build a clean Excel file.