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

List:       kde-commits
Subject:    koffice/filters/libmsooxml
From:       Lassi Taneli Nieminen <lassniem () gmail ! com>
Date:       2010-10-21 12:50:33
Message-ID: 20101021125033.3455DAC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1188109 by lassin:

Made gradfill in drawingML to at least change the color of the text, though full \
gradfill cannot be supported.


 M  +4 -2      MsooXmlCommonReaderDrawingMLImpl.h  


--- trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h \
#1188108:1188109 @@ -1861,7 +1861,7 @@
  - effectDag (Effect Container)  §20.1.8.25
  - effectLst (Effect Container)  §20.1.8.26
  - extLst (Extension List)  §20.1.2.2.15
- - gradFill (Gradient Fill)  §20.1.8.33
+ - [done] gradFill (Gradient Fill)  §20.1.8.33
  - grpFill (Group Fill)  §20.1.8.35
  - [done] highlight (Highlight Color)  §21.1.2.3.4
  - [done] hlinkClick (Click Hyperlink)  §21.1.2.3.5
@@ -1897,6 +1897,7 @@
             TRY_READ_IF(latin)
             ELSE_TRY_READ_IF_IN_CONTEXT(blipFill)
             ELSE_TRY_READ_IF(solidFill)
+            ELSE_TRY_READ_IF(gradFill)
             ELSE_TRY_READ_IF_IN_CONTEXT(noFill)
             else if (QUALIFIED_NAME_IS(highlight)) {
                 TRY_READ(DrawingML_highlight)
@@ -4932,7 +4933,7 @@
      - effectDag (Effect Container)                     §20.1.8.25
      - effectLst (Effect Container)                     §20.1.8.26
      - extLst (Extension List)                          §20.1.2.2.15
-     - gradFill (Gradient Fill)                         §20.1.8.33
+     - [done] gradFill (Gradient Fill)                         §20.1.8.33
      - grpFill (Group Fill)                             §20.1.8.35
      - highlight (Highlight Color)                      §21.1.2.3.4
      - hlinkClick (Click Hyperlink)                     §21.1.2.3.5
@@ -4963,6 +4964,7 @@
         BREAK_IF_END_OF(CURRENT_EL);
         if (isStartElement()) {
             TRY_READ_IF(solidFill)
+            ELSE_TRY_READ_IF(gradFill) // we do not support this properly, at least \
we get the color  ELSE_TRY_READ_IF(latin)
 //! @todo add ELSE_WRONG_FORMAT
         }


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

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