From koffice-devel Sun Aug 31 17:54:31 2003 From: Nicolas Goutte Date: Sun, 31 Aug 2003 17:54:31 +0000 To: koffice-devel Subject: koffice/filters/kword/rtf/export X-MARC-Message: https://marc.info/?l=koffice-devel&m=106235266311000 CVS commit by goutte: Add support of the underline color (keyword \ulc) CCMAIL:koffice-devel@kde.org M +7 -3 ExportFilter.cc 2.76 --- koffice/filters/kword/rtf/export/ExportFilter.cc #2.75:2.76 @@ -1126,4 +1126,8 @@ QString RTFWorker::textFormatToRtf(const strElement+= ul; + if (formatData.underlineColor.isValid()) + { + strElement+=lookupColor("\\ulc",formatData.underlineColor); + } } else @@ -1138,5 +1142,5 @@ QString RTFWorker::textFormatToRtf(const { if( formatData.strikeoutType == "double" ) - strElement+="\\striked"; + strElement+="\\striked1"; // 1 needed! (The exception that confirm the rule!) else strElement+="\\strike"; _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel