OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only

[OFFICE-3827] ODF1.2 draw:color-inversion states FF=256 in note

  • 1.  [OFFICE-3827] ODF1.2 draw:color-inversion states FF=256 in note

    Posted 05-22-2018 13:48
    Hi, Section 20.103 draw:color-inversion is not completely fixed in OpenDocument-v1.3-wd06-part3-documents. It still has one FF(=256). Suggestion: Only write it once, on the first occurrence of FF, so that you get: Note: Given a color "#rrggbb", where rr, gg and bb are 8-bit hexadecimal digits, the inverted color is "#RRGGBB" where RR is the 8 bit hexadecimal number obtained as the difference of hexadecimal FF(=255) and rr, GG is the 8-bit hexadecimal number obtained as the difference of hexadecimal FF and gg, and BB is the 8 bit hexadecimal number obtained as the difference of hexadecimal FF and bb. Kind regards Regina