<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 - Cross-reference does not work as a link in PDF exported headlessly"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114351">114351</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cross-reference does not work as a link in PDF exported headlessly
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </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>matthew.bugzilla@epoq.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When the attached document is exported headlessly to PDF, one particular
cross-reference does not work as a link, even though an identical
cross-reference in a previous paragraph works correctly.

Steps to Reproduce:
1. Export the document to PDF with the command line:
soffice --convert-to pdf BrokenCrossRef.odt --outdir %userprofile%\documents
2. Open the exported PDF in Adobe Acrobat Reader
3. Scroll to to the top of page 3

Actual Results:  
The "1.7" in the middle of the first line on page 3 should be a link to
paragraph 1.7 on the previous page.

Expected Results:
The "1.7" in the middle of the first line on page 3 is not a link. I did
notice, though, that part of the word "uxjas" just before the "1.7" is a link
to the correct paragraph, though. It looks like the link is just not quite
where it should be.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 5.3.7.2
Build ID: 6b8ed514a9f8b44d37a1b96673cbbdd077e24059
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Layout Engine:
new; 
Locale: en-GB (en_GB); Calc: group


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101
Firefox/57.0</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>