https://bugs.documentfoundation.org/show_bug.cgi?id=148662

--- Comment #6 from Mike Kaganski <[email protected]> ---
Trying to guess with assumption that the attached documents are not the correct
ones.

(In reply to Vikas from comment #4)
> When I am trying Save As for XLS file, the file save dialog is suggesting
> .csv format.

This means that you are working with some CSV files that are renamed to XLS
(and XLSX). CSV files are basically just plain text files, that have specific
structure allowing to parse them as structured tabular data. We have a special
rule in our import to allow text files with XLS extension to be opened in Calc.
But not for CSV files disguised as XLSX; this means that when you open such a
"pseudo-XLSX", you would usually open it in Writer.

But:

(In reply to Vikas from comment #0)
> Both the files are opening in Libre

This is likely because you try to open the pseudo-XLSX from Calc already open,
in which case, current module (Calc) is taken into account (this is also true
for RTF and HTML files, by the way). But if I'm correct, then trying to open
such XLSX from your file manager, or from LibreOffice with no Calc document
open, you would get it opened in Writer.

(In reply to Vikas from comment #0)
> But when I am changing its extension to .xlsx and executing the same command
> getting an error.

And this is confusing. There should not be errors, if the above is a correct
guess. Simply the PDF should be from Writer, not from Calc.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to