<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - ClearDirectFormatting does not remove page break"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138628#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - ClearDirectFormatting does not remove page break"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138628">bug 138628</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>Core pointers:

The entry points for "Clear DF" for Writer are:

SwAnnotationShell::Exec in sw/source/uibase/shells/annotsh.cxx
SwDrawTextShell::ExecDraw in sw/source/uibase/shells/drwtxtsh.cxx
SwTextShell::Execute in sw/source/uibase/shells/textsh1.cxx
(look for FN_FORMAT_RESET in all three)
The last one is relevant for text.

In SwTextShell::Execute, #i78856 and <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - "Clear Direct Formatting" clears RTL directionality"
   href="show_bug.cgi?id=40496">tdf#40496</a> are handled, excluding language
attributes and writing direction.
In SwDoc::ResetAttrs (sw/source/core/doc/docfmt.cxx), which does the actual
work, additional things are excluded (e.g., see "not including META here"
comment).

Lastly, lcl_RstAttr excludes more, e.g. RES_PAGEDESC and RES_BREAK that define
page break and its style, and also numbering rules.

Note that SwDoc::ResetAttrs is used not only in .uno:ResetAttributes, so handle
with care.</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>