[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    koffice/filters/kword/rtf/export
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2003-08-31 17:54:31
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic