<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Clear direct formatting ignores area fill attributes"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=99573#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Clear direct formatting ignores area fill attributes"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=99573">bug 99573</a>
              from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
        <pre>The clear direct attributes function seems to be FN_FORMAT_RESET. One way to
handle this is to HandleResetAttrAtTextNode RES_BACKGROUND and reset
XATTR_FILLSTYLE and XATTR_FILLCOLOR as well.

Note that on a round-trip the formatting IS gone, but only for .odt, not .doc
or .docx, for reasons I would guess as being related to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Clear Direct Formatting damages the document's styles"
   href="show_bug.cgi?id=47471">bug 47471</a>.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>