<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 - Hidden linebreaks are ignored on creating pdf from rtf document"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131386">131386</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Hidden linebreaks are ignored on creating pdf from rtf document
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.6.2.2 release
          </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>juergen.bosch@sap.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I have an rtf document with hidden text and also with single hidden linebreaks.
On using the pdf writer to convert the rtf to pdf the single hidden linebreaks
are not ignored and on the pdf the linebreak is visible which is wrong.

Steps to Reproduce:
1. Use the attached testPreprocessRtl.rtf
2. Convert to pdf: soffice --headless --convert-to pdf testPreprocessRtl.rtf


Actual Results:
the hidden linebreak in rtf is contained in the result of the converted pdf
document

Expected Results:
the hidden linebreak in rtf should be not contained in the converted pdf as it
is in the preview of the rtf document on hide paragraph marks and the hidden
formating symbols.


Reproducible: Always


User Profile Reset: No



Additional Info:
In the example file an right to left rtf is attached where the issue could be
reproduced.</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>