[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/filters/kspread/csv
From: Laurent Montel <montel () kde ! org>
Date: 2005-02-27 10:43:24
Message-ID: 20050227104324.52AEC148A2 () office ! kde ! org
[Download RAW message or body]
CVS commit by mlaurent:
Adapt with new kspread API
M +18 -10 csvexport.cc 1.32
--- koffice/filters/kspread/csv/csvexport.cc #1.31:1.32
@@ -71,4 +71,11 @@ void CSVExport::exportCell( KSpreadSheet
if ( !cell->isDefault() && !cell->isEmpty() )
{
+ if ( cell->isFormula() )
+ text = cell->strOutText();
+ else if ( !cell->link().isEmpty() )
+ text = cell->text(); // untested
+ else
+ text = cell->strOutText();
+#if 0
switch( cell->content() )
{
@@ -87,4 +94,5 @@ void CSVExport::exportCell( KSpreadSheet
break;
}
+#endif
}
if ( !text.isEmpty() )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic