<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 - Horizontal line uno command"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114449">114449</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Horizontal line uno command
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>enhancement
          </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>philipz85@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>libreoffice-ux-advise@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>86899
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Insert > Horizontal Line doesnt actually insert a horizontal line, but instead
changes the paragraph to the 'Horizontal Line' paragraph style, which if done
on a line/paragraph with text, it will not have the desired result.

So the new horizontal line uno command should insert 2 paragraph breaks at the
current position of the cursor (without triggering any autocorrect triggers)
and then move the cursor up once, then assign the 'Horizontal Line' paragraph
style, and finally move the cursor left once.

Once the uno command is create it would replace
.uno:StyleApply?Style:string=Horizontal
Line&amp;FamilyName:string=ParagraphStyles entry in writer's menubar.xml.

<a href="https://cgit.freedesktop.org/libreoffice/core/tree/sw/uiconfig/swriter/menubar/menubar.xml">https://cgit.freedesktop.org/libreoffice/core/tree/sw/uiconfig/swriter/menubar/menubar.xml</a></pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Requests for the addition of UNO commands"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=86899">Bug 86899</a>] [META] Requests for the addition of UNO commands
              </li>
          </ul>
        </div>
        <br>

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

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