Bug 150964 - FILEOPEN: HTM file with extension XLS partially imported using default filter by Calc
Summary: FILEOPEN: HTM file with extension XLS partially imported using default filter...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.0.0 beta1+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:html
Depends on:
Blocks: Format-Filters
  Show dependency treegraph
 
Reported: 2022-09-15 00:04 UTC by Alistair Saywell
Modified: 2023-05-24 15:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
HTML Excel Workbook (1.60 KB, application/vnd.ms-excel)
2022-09-15 00:04 UTC, Alistair Saywell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alistair Saywell 2022-09-15 00:04:45 UTC
Created attachment 182453 [details]
HTML Excel Workbook

An HTML file (labelled internally as ExcelWorksheet) with an xls extension opened in Calc does not import all the table data unless the filter "HTML Document (Calc) (.html, .xhtml, .htm)" is explicitly chosen. Double-clicking the file opens in Calc with only one cell visible.

If the extension is renamed .odt it opens in Writer with all data visible.

The same file opens correctly in Excel 2010 although with warning about incorrect extensions; apparently later versions of Excel open it without complaint. 

This problem arises in Ask.LibreOffice https://ask.libreoffice.org/t/xls-file-does-not-open-in-libre-calc-but-opens-in-google-sheets/81770

An average user is unlikely to investigate every filter option, especially not to the 70th filter in the list. The original questioner in Ask.LibreOffice appears to have not found the filter although it is explicitly mentioned in one comment and in one answer.

Can the filter selection be made easier? Or made automatic as the name Excel Worksheet is included inside the file?
Comment 1 Buovjaga 2023-02-16 17:34:14 UTC
Repro

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b63bffc2bb5a68d1f21e4035dde9a60429c9173c
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 16 February 2023