#33 Script can't handle Word 2007's fancy new colors

1.0.0
closed-fixed
Christian
Conversion (14)
5
2008-04-14
2008-03-12
Christian
No

Some of the colors in Word 2007 can't be converted to HTML color values. For example, one of the blues under theme colors is returned as -603914241 which doesn't correspond to anything in http://msdn2.microsoft.com/en-us/library/bb237558.aspx. The dll that the script is calling to convert these colors (oleaut32.dll) doesn't seem to be able to do anything with them.

Discussion

  • Christian
    Christian
    2008-03-12

    Logged In: YES
    user_id=2032487
    Originator: YES

    After some more testing, it converts the colors to hex values but the hex values don't look anything like the color in Word. For example, it converted a shade of blue to yellow...

     
  • Christian
    Christian
    2008-03-27

    Logged In: YES
    user_id=2032487
    Originator: YES

    Okay, apparently Word 2007 uses some crazy color theme system. See http://proofficedev.com/blog/2007/10/10/colours-in-word-2007-part-2/. I updated the color conversion code to handle this. It works perfectly now. Anyway, I'm not posting any more patches until someone gives me commit access so I can commit changes myself.

     
  • Christian
    Christian
    2008-04-14

    • assigned_to: nobody --> cneubauer
    • status: open --> closed-fixed
     
  • Christian
    Christian
    2008-04-14

    Logged In: YES
    user_id=2032487
    Originator: YES

    Working in the word2007 branch