KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
118331
:
opendocument - formating of numbers lost
P
roduct
:
kspread
Co
m
ponent
:
opendocument
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
1.4.2
Pr
i
ority
:
VHI
Severity
:
major
V
otes
:
1
Description
:
Opened:
2005-12-14 18:58
Last Changed:
2006-08-03 15:16:00
Version: 1.4.2 (using KDE 3.5.0, Gentoo) Compiler: gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) OS: Linux (i686) release 2.6.11-gentoo-r11 Hello, When you create a table, set there some whole number, like 6 and set the cell the data format to number with precision of 1 (so it shows '6.0'), it shows it OK. If I save it as KSpreadSheet, it is kept like it should. However, if I save it to OpenDocument, the data format get's lost. Next time, I see only '6', where there was '6.0'. Experimenting with OpenOffice a bit, I found out that the data format is ignored by KSpread both when loading and when saving. OpenOffice stores it in some way, saving and opening in OOo does remember it. Is there any more I info I can provide? If so, tell me.
Comment
#1
Stefan Nikolaus 2006-04-20 20:23:54
SVN commit 531980 by nikolaus: "three in a row" OpenDocument Fix loading/saving of number formattings. Fix loading/saving of number precisions. Fix saving of large numbers. Parts of this patch (precision, BC preserving, hint for the large number issue) come from Ariya. Thanks. BUGS: 118331,125520,125632 M +19 -11 branches/koffice/1.5/koffice/kspread/kspread_cell.cc M +6 -0 branches/koffice/1.5/koffice/kspread/kspread_doc.cc M +10 -1 branches/koffice/1.5/koffice/kspread/kspread_format.cc M +2 -2 branches/koffice/1.5/koffice/kspread/kspread_format.h M +109 -23 branches/koffice/1.5/koffice/kspread/kspread_style.cc M +1 -1 branches/koffice/1.5/koffice/kspread/kspread_style.h M +1 -1 branches/koffice/1.5/koffice/lib/kofficecore/KoGenStyles.h M +123 -12 branches/koffice/1.5/koffice/lib/kofficecore/KoOasisStyles.cpp M +16 -0 branches/koffice/1.5/koffice/lib/kofficecore/KoOasisStyles.h M +29 -21 trunk/koffice/kspread/kspread_cell.cc M +6 -0 trunk/koffice/kspread/kspread_doc.cc M +9 -0 trunk/koffice/kspread/kspread_format.cc M +2 -2 trunk/koffice/kspread/kspread_format.h M +108 -23 trunk/koffice/kspread/kspread_style.cc M +1 -1 trunk/koffice/kspread/kspread_style.h M +1 -1 trunk/koffice/libs/kofficecore/KoGenStyle.h M +116 -17 trunk/koffice/libs/kofficecore/KoOasisStyles.cpp M +6 -1 trunk/koffice/libs/kofficecore/KoOasisStyles.h
Comment
#2
Stefan Nikolaus 2006-04-21 11:55:28
System dates are still a problem. :(
Comment
#3
Stefan Nikolaus 2006-08-03 10:15:25
***
Bug 130840
has been marked as a duplicate of this bug. ***
Comment
#4
Stefan Nikolaus 2006-08-03 15:15:59
SVN commit 569308 by nikolaus: OpenDocument Fix loading of system date formatting. Fix saving of prefix/suffix (not for dates, times and strings). BUGS: 118331 CCBUGS: 131052 M +1 -1 branches/koffice/1.6/koffice/kspread/kspread_cell.cc M +4 -0 branches/koffice/1.6/koffice/kspread/kspread_format.cc M +128 -70 branches/koffice/1.6/koffice/kspread/kspread_style.cc M +28 -15 branches/koffice/1.6/koffice/kspread/kspread_style.h M +28 -36 branches/koffice/1.6/koffice/lib/kofficecore/KoOasisStyles.cpp M +20 -23 branches/koffice/1.6/koffice/lib/kofficecore/KoOasisStyles.h M +1 -1 trunk/koffice/kspread/Cell.cpp M +4 -0 trunk/koffice/kspread/Format.cpp M +112 -53 trunk/koffice/kspread/Style.cpp M +24 -11 trunk/koffice/kspread/Style.h M +16 -8 trunk/koffice/libs/kofficecore/KoOasisStyles.cpp M +16 -8 trunk/koffice/libs/kofficecore/KoOasisStyles.h
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
People
Reporter
:
Michal Vaner
Assigned To
:
Stefan Nikolaus
CC
:
P Schellart gmail com
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In