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

List:       kde-commits
Subject:    koffice/filters/kpresenter/pptx
From:       Lassi Taneli Nieminen <lassniem () gmail ! com>
Date:       2010-11-10 15:23:51
Message-ID: 20101110152351.C2FF3AC89E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1195202 by lassin:

Improved pptx graphicFrame styling.


 M  +8 -1      PptxXmlSlideReader.cpp  


--- trunk/koffice/filters/kpresenter/pptx/PptxXmlSlideReader.cpp #1195201:1195202
@@ -1421,6 +1421,11 @@
 KoFilter::ConversionStatus PptxXmlSlideReader::read_nvGraphicFramePr()
 {
     READ_PROLOGUE
+
+    // Added to make sure these are 0 for tables etc.
+    d->phType.clear();
+    d->phIdx.clear();
+
     while (!atEnd()) {
         readNext();
         BREAK_IF_END_OF(CURRENT_EL);
@@ -1428,7 +1433,9 @@
             if (qualifiedName() == "p:cNvPr") {
                 read_cNvPr_p();
             }
-            ELSE_TRY_READ_IF(nvPr)
+            // commented atm. for tables because it is not clear what idx type would \
mean for table +            // ie. if this is uncommented then styles could be taken \
from bodystyle and that is not wanted +            //ELSE_TRY_READ_IF(nvPr)
         }
     }
     READ_EPILOGUE


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

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