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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 21 11:40:42 UTC 2018


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

            Bug ID: 116537
           Summary: Incorrect output of mail merge print with specified
                    record ranges
           Product: LibreOffice
           Version: 5.4.5.1 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: muesliflyer at nexgo.de

Description:
When I print only a specified range of records from the data source, I get
strange page ranges to be printed. I have a single page Writer document and a
Calc table with three records as the data source. Here is what I get for
different record ranges:

>From To Result
1    1  Prints the document filled with data from first record. Fine.
2    2  Prints document with data from *third* record!
3    3  Error message: No pages to be printed available (I am translating from
German
1    3  Prints all three pages. Fine.
2    3  Prints document with data from *third* record only!

I looked into mmresultdialogs.cxx but could not find anything wrong that would
be obvious to me. Maybe someone can help.

Comment: I get the impression that Writer first generates an output document
with all pages from all data source records and then prints a page range from
this output document. Shouldn't it be better to generate an output document
only for the selected data source record range and then print all of that
document?

Steps to Reproduce:
1. Open attached Writer document and connect to attached Calc data source
2. Push "Serienbrief drucken" (print merged document??) button
3. Select a record range as described above

Actual Results:  
Incorrect ranges of the data source are output or an error is flagged as
described above

Expected Results:
The Writer document should be printed for the specified range of data source
records.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
For the attachment, please get it from here:
https://bugs.documentfoundation.org/show_bug.cgi?id=116527


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101
Firefox/59.0

-- 
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/20180321/3d121974/attachment.html>


More information about the Libreoffice-bugs mailing list