<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 - RTF FILEOPEN paragraphs preceded by endnote with custom character lose formatting"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108266">108266</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>RTF FILEOPEN paragraphs preceded by endnote with custom character lose formatting
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.2.7.2 release
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Windows (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>marco.albareti@tiscali.it
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When opening rtf files any paragraph preceded by endnote or footnote with
custom character lose style assignment.
If the "Automatic" option is selected non error occurs.
File is saved correctly; other applications (Word, OpenOffice 4.1.3) open it
with no errors.

Steps to Reproduce:
1.Create new Writer document
2.Format first line as, for example, "heading 1"
3.Insert Footnote with "Footnote or Endnote..." option
4.Choose "Character", insert any character and press OK
5.Type anything in the first line
6.Save document in .rtf format and close it.
7.Reopen the document

Actual Results:  
The first line has "Default Style"

Expected Results:
The first line should have "heading 1" style


Reproducible: Always

User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Builds ID: LibreOffice 5.3.3.2


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36</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>