Issue 6796 - Calc does not retain automatic line breaks when loading Excel format
Summary: Calc does not retain automatic line breaks when loading Excel format
Status: CLOSED DUPLICATE of issue 194
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-06 16:37 UTC by kalahari875
Modified: 2003-09-08 16:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kalahari875 2002-08-06 16:37:28 UTC
Calc does not retain automatic line breaks on any row without data when loading 
the saved document from xls format.

Steps to reproduce:
1. Set automatic line breaks on an entire column by selecting the column and 
applying the line break formatting (Format | Cells | Line Breaks).
2. Add data in the column for some rows to verify the auto line breaking is 
working.
3. Save the document in Excel format.
4. Reload the document. 
5. Examine the line break properties of the column. The rows that had data 
populated retained it on the column; none of the others do.

If you load the document using Excel itself, it has the line break formatting 
retained on all rows of the column.
Comment 1 kalahari875 2002-08-06 16:57:34 UTC
More testing... if MS Excel sets the auto row break formatting and OO 
then loads the document, it retains the formatting even on empty 
cells. Once OO saves the document in Excel format, the auto row break 
formatting is lost on any cell without data. If OO saves the document 
in its native format, it retains the formatting appropriately.
Comment 2 daniel.rentz 2002-08-06 17:50:52 UTC
It's a known limitation of the Excel export filter. It exports all
cells up to the last used row, but no default column formatting.
(Example: If you have empty cells in row 1 and 3 with line break, and
a filled cell anywhere in row 2, the cell in row 1 will be exported
correctly).

*** This issue has been marked as a duplicate of 194 ***
Comment 3 daniel.rentz 2002-08-06 17:52:04 UTC
Double