[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kspread
From: Ariya Hidayat <ariya () kde ! org>
Date: 2004-04-01 0:02:39
Message-ID: 20040401000239.4BF7690F4 () office ! kde ! org
[Download RAW message or body]
CVS commit by ariya:
load number correctly
M +10 -0 kspread_cell.cc 1.541
--- koffice/kspread/kspread_cell.cc #1.540:1.541
@@ -5103,4 +5103,14 @@ bool KSpreadCell::loadOasis( const QDomE
}
+ // integer and floating-point value
+ if( element.hasAttribute( "table:value-type" ) )
+ if( element.attribute( "table:value-type" ) == "float" )
+ {
+ bool ok = false;
+ double value = element.attribute( "table:value" ).toDouble( &ok );
+ if( ok ) setValue( value );
+ }
+
+
// cell comment/annotation
QDomElement annotationElement = element.namedItem( "office:annotation" ).toElement();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic