[Libreoffice-bugs] [Bug 116537] Incorrect output of mail merge print with specified record ranges

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 29 14:24:02 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116537

Buovjaga <todventtu at suomi24.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bibisected, bisected,
                   |                            |regression
             Status|UNCONFIRMED                 |NEW
                 CC|                            |glogow at fbihome.de
            Version|5.4.5.1 release             |5.2.0.4 release
             Blocks|                            |102998
     Ever confirmed|0                           |1

--- Comment #5 from Buovjaga <todventtu at suomi24.fi> ---
Ok, I repro with MS print to PDF.

In mail merge wizard, select address list - add - Test.ods to make the initial
test case.

I used "2 to 2" range.

I bisected this to (I tried searching Bugzilla, no other bisection for this):
https://cgit.freedesktop.org/libreoffice/core/commit/?id=3c1a343f6936f1dcefdf79a677f8c26ce29676e6

commit  3c1a343f6936f1dcefdf79a677f8c26ce29676e6 (patch)
tree    1e8a21c764ec489381d6d9c63dacba12e029cbe9
parent  dfbc2f37207f11a3bafb2c5ce0dea4fcc137e527 (diff)
tdf#89708 Adjust print page range for unprinted blank pages
Depending on whether automatically inserted blank pages are to be
printed or not, the range of pages to print is expressed differently
to the pages displayed in the preview in the Print dialog - i.e. the
page range includes blank pages, whereas the preview doesn't (if
blank pages are not to be printed).

This patch adapts the range so that if blank pages are ignored upon
printing, the range can be expressed across printable pages only,
same as the Print dialog preview.

An example is a merged document of several records into a single
page letter or document - blanks are automatically put in between
documents but usually aren't displayed/printed. Previously,
printing page 2 would print the blank page between the 1st and 2nd
merged document. After this change, printing page 2 will print the
2nd merged document instead.

The "Pages" (print range) text box in the Print dialog defaults to
the current page - this patch adjusts this when blanks are not to
be printed so that it is expressed as the current page minus any
blanks since the start of the document.

Change-Id: Ic1d4d374a82c6f921bb41a97130838757c6b74b1
Reviewed-on: https://gerrit.libreoffice.org/18420

Adding jmux to CC as Eilidh is not contributing anymore.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102998
[Bug 102998] [META] Mail merge bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180329/63b8d7a2/attachment.html>


More information about the Libreoffice-bugs mailing list