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

List:       kde-commits
Subject:    branches/work/koffice-essen/libs/kotext/styles
From:       nandita suri <suri.nandita () gmail ! com>
Date:       2010-11-03 9:01:32
Message-ID: 20101103090132.8E729AC89E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1192460 by nanditasuri:

FEATURE: saving the color of bullets in open document format

 M  +7 -0      KoListLevelProperties.cpp  


--- branches/work/koffice-essen/libs/kotext/styles/KoListLevelProperties.cpp \
#1192459:1192460 @@ -636,6 +636,13 @@
 
     writer->endElement(); // list-level-properties
 
+    writer->startElement("style:text-properties", false);
+
+    if (d->stylesPrivate.contains(KoListStyle::BulletColor))
+        writer->addAttribute("fo:color",bulletColor().name());
+    
+    writer->endElement(); // text-properties
+
 //   kDebug(32500) << "Key KoListStyle::ListItemPrefix :" << \
d->stylesPrivate.value(KoListStyle::ListItemPrefix);  //   kDebug(32500) << "Key \
KoListStyle::ListItemSuffix :" << \
d->stylesPrivate.value(KoListStyle::ListItemSuffix);  //   kDebug(32500) << "Key \
KoListStyle::CharacterStyleId :" << \
d->stylesPrivate.value(KoListStyle::CharacterStyleId);


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

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