Bug 130923 - kspread eats .ods border
Summary: kspread eats .ods border
Status: RESOLVED DUPLICATE of bug 107956
Alias: None
Product: calligrasheets
Classification: Applications
Component: opendocument (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-16 17:47 UTC by Thorsten Staerk
Modified: 2006-07-27 18:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case: borderb2g7.ods - no borders shown (5.76 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-07-16 17:48 UTC, Thorsten Staerk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Staerk 2006-07-16 17:47:04 UTC
Version:           1.6 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

I created a spreadsheet in OpenOffice, did a border around and in b2-g7. I saved it as .ods. When I load it in OpenOffice, the borders are there. When I open it in kspread, the borders are not there.
Comment 1 Thorsten Staerk 2006-07-16 17:48:34 UTC
Created attachment 17008 [details]
test case: borderb2g7.ods - no borders shown

open this with OpenOffice, then with kspread. Enjoy the difference.
Comment 2 Thorsten Staerk 2006-07-16 23:46:57 UTC
in kspread_cell.cc,
Cell::loadOasis, the line
format()->setStyle( style );

sets a cell border.

Good example to write a patch.
Comment 3 Stefan Nikolaus 2006-07-19 17:24:13 UTC
Related to bug 107956
Comment 4 Stefan Nikolaus 2006-07-27 18:14:12 UTC
SVN commit 566941 by nikolaus:

OpenDocument	Default cell style name.
		Unless there's a clarification from the OpenDocument committee,
		we stay with the old (in my opinion the correct one) behaviour.
		At least it is better than losing styles assigned to cols/rows!
CCBUGS: 107956, 124566, 130923


 M  +62 -45    branches/koffice/1.6/koffice/kspread/kspread_sheet.cc  
 M  +57 -45    trunk/koffice/kspread/Sheet.cpp  
Comment 5 Stefan Nikolaus 2006-07-27 18:14:37 UTC

*** This bug has been marked as a duplicate of 107956 ***