<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 - Image Control in Mail Merge Document only displays first result."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118391">118391</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Image Control in Mail Merge Document only displays first result.
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>debug@roosoft.ltd.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When trying to print out images direct from a DB with a query only the first
Image is show and repeated in the image control for all other rows while the
other fields change correctly. A form generated from the DB will behave
correctly with the same settings in the image control 

Steps to Reproduce:
1.Create a DB. Can be Embedded or remote. Create a Table called LOGOS with 3
Fields. ID. Int Autovalue, IMAGE, VARBINARYIMAGE, NAME, VARCHAR. 

2. Create Query for the Table QueryLOGOS. 

3. Create a Form from the Query and populate the DB with an IMAGE and a NAME

4. Save DB

5. Create a Writer Document and link it to the DB-Query via the Dataview.

6. Add fields from the Query for ID and NAME. Add an Image control and Link
that to IMAGE in the query.

7. Save Document

8. Print docuemnt. It will ask to mail merge say yes. Save as a single file.

Actual Results:
The first logo in the query is repeated for all entries while the fields update
correctly.

Expected Results:
The image should change as the fields do 


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
There needs to be a better way to debug such issues. Perhaps some sort of
sanity check if the options are not what they are supposed to be.</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>