https://bugs.freedesktop.org/show_bug.cgi?id=80823
Priority: low Bug ID: 80823 CC: glo...@fbihome.de Assignee: libreoffice-bugs@lists.freedesktop.org Summary: MAILMERGE: Use IDocumentMarkAccess::UNO_BOOKMARK to mark end of one mail merge part Severity: enhancement Classification: Unclassified OS: All Reporter: bjoern.michael...@canonical.com Hardware: Other Status: NEW Version: 4.2.5.2 release Component: Writer Product: LibreOffice The mail merge wizard currently creates a merged document, even when the user wants to save split files in the end. To know where to split the document, the wizard remembers the start and end page of each part. This is both slow and fragile: - To get the page numbers right, the whole merged document is rerendered after each part is inserted (issue i#72820 or commit 62ebbb006) again and again - This is futile anyway as the wizard allow the merged document to be "personalized", that is: edited. With that, page breaks might be introduced that mess up the remembered page numbers. It might be worth a try to use UNO_BOOKMARKs instead of page numbers to remember the position: - with that possibly the merged document only has to be rendered once, at the end of the merge and not once per added document part, which should help performance (quite a lot actually) - UNO_BOOKMARKs should move along even as pages are inserted/removed. While not perfect, they are certainly less fragile than hard page indices. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs