<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILEOPEN: Calc not honoring import text dialog column type for empty cells"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130745">130745</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILEOPEN: Calc not honoring import text dialog column type for empty cells
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.3.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rscragun@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
Calc does not honor the column type selected in the text import dialog/wizard
for empty cells.
Steps to Reproduce:
1. Paste the following into a text file and save as csv (indents are not part
of the file and are included only to offset the text from the rest of the
post):
Column 1, Column 2
Text 1,1234
Text 2,1973-07-20
Text 3,
Text 4,
2. Open the file with LO Calc (in Windows, right click on the file, select Open
with > LibreOffice)
3. In the "Fields" section of the text import wizard/dialog, select the
top-left box in the sample spreadsheet to select all rows and columns.
4. For "Column type", select "Text".
5. Hit "OK".
6. Check the formats of the cells.
Actual Results:
All cells with contents will be text type. All cells without contents will be
numeric type.
Expected Results:
All cells will be text type. This is particularly obvious for the empty cells
in columns that have other non-empty cells. The fact that the wizard says that
you are setting "column type" suggests that this is a column-specific setting
rather than a cell-with-contents-specific setting.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 6.3.4.2 (x64)
Build ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Example of why this matters:
The only reason I use Calc rather than Excel is that loading a CSV with dates
into Calc without messing them up is much easier. But if empty cells get a
different format from what is expected, there will be errors when I later type
dates into those cells.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>