<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 - MAILMERGE: Conditionally hidden sections can lead to wrong page count"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123057">123057</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>MAILMERGE: Conditionally hidden sections can lead to wrong page count
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.3.0.0.alpha0+ Master
</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>ilhanyesil@gmx.de
</td>
</tr></table>
<p>
<div>
<pre>Description:
The page count of mail merged documents can differ, if sections are hidden for
some recipients. As example, a merged document has 2 pages with shown section
and only 1 page if section is hidden.
But in the mail merging process, page count fields are converted to text
fields, and in this process they are set to a wrong page count.
Steps to Reproduce:
1. Open attached "pagecounttest.ott"
2. Run the mail merge wizard and select the attached "db_pagecounttest.ods" as
address list.
3. Select "Save Merged Documents" in the mail merge toolbar
4. Select to save as a single large document and click "Save Documents"
5. Save the generated document and afterwards open the generated odt file.
Actual Results:
The header shows a wrong page count, if sections are hidden. So it shows "Page
1 of 2" although only one page is generated
Expected Results:
It should show "Page 1 of 1"
Reproducible: Always
User Profile Reset: No
Additional Info:</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>