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

            Bug ID: 106289
           Summary: Global find-and-replace for big document (35,000
                    words) can take over an hour.
           Product: LibreOffice
           Version: 5.2.5.1 release
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Global find-and-replace for a big document (40,000 words) can take hours.

I asked about this on libreoffice.org, and was answered by Mike Kaganski: "As a
workaround, I'd suggest to try to switch to Web view for a time when you do
such operations, and switch back afterwards."

I switched to web view and tried a test: I tell it to find all places of two
consecutive paragraph breaks --meaning \p\p in Tools, Add Ons, Alternative
Searching and checkbox Regular Expressions, and replace them with characters
yyy then I tell it to find all places of single paragraph breaks and replace
them with a space, then I tell it to replace all places of yyy with two
consecutive paragraph breaks, then I replace all instances of two consecutive
spaces with one space.

Switching to web view solved the problem of the screen stuttering and redrawing
for every individual replace, but the process took just as long.

For comparison, in Microsoft Word (Office 97, I think, and Office 2003), this
whole process could be completed in less than a minute.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to