<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - "replace custom styles" option in AutoCorrect needs critical review"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140024">140024</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"replace custom styles" option in AutoCorrect needs critical review
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.2.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sdc.blanco@youmail.dk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>1. Apply some Custom paragraph styles to text in a document.
2. Select "Replace Custom Styles" in Tools > AutoCorrect > AutoCorrect Options
- Options tab.
3. Run "Tools > AutoCorrect > Apply

In general, Custom Styles are replaced by this command with "Text Body" PS

Exceptions: 

1. Have been able to get custom styles converted to:
 - Text Body Indent  (when "Before text indent" attribute is used)
 - Hanging Indent    (when "First line indent" and "Before text indent" used)
 - First Line Indent (when "First line indent" is used)

2.  Paragraph Style with four-sided border was NOT converted.

Copied from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Tools - AutoCorrect - Apply converts non-empty "Default Paragraph Style" paragraphs to "Text Body" PS --even when no [M] options are selected"
   href="show_bug.cgi?id=90507#c11">bug 90507, comment 11</a>

<span class="quote">> 'Replace Custom Styles' has some interesting behavior as well. 

> Not clear if those are relative to the Standard Template, or to the 
> Template used to create the document--but its action when applied is 
> to remove other PS and revert to something present in the template.

> So, makes me wonder exactly what is considered a "custom" style as related
> to the AutoFormat in (editeng/acorrcfg.hxx & acorrcfg.cxx)?  </span >
Copied from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Tools - AutoCorrect - Apply converts non-empty "Default Paragraph Style" paragraphs to "Text Body" PS --even when no [M] options are selected"
   href="show_bug.cgi?id=90507#c17">bug 90507 comment 17</a>

<span class="quote">> Need to verify the handling of 'custom' styles, what constitutes them and
> how are they made non-custom so can be protected from the 'Replace Custom
> Styles' action.

> Results of the 'Replace Custom Styles' action seems error prone to
> document layout at best.</span >

<span class="quote">> Well we should improve the documentation, obviously. </span >
Have made some modifications in relation to observed behavior. Can
documentation be improved further? 

Does command work as intended?</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>