Bug 37494 - Find \n replace\n does NOT work (regular expressions work wrong in Impress)
Summary: Find \n replace\n does NOT work (regular expressions work wrong in Impress)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Presentation (show other bugs)
Version: 3.4.0 RC1
Hardware: All All
: medium minor
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 38261
  Show dependency treegraph
 
Reported: 2011-05-23 03:55 UTC by Martin Bartlett
Modified: 2014-06-23 21:41 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
source file to reproduce problem with find&replace (12.65 KB, application/vnd.oasis.opendocument.presentation)
2011-05-30 10:14 UTC, sasha.libreoffice
Details

Description Martin Bartlett 2011-05-23 03:55:48 UTC
Specifically, from the find/replace reg ex help:

To change a line break into a paragraph break, enter \n in the Search for and Replace with boxes, and then perform a search and replace.

Firstly, this simply replaces every soft-linebreak with the literal "\n", secondly whatEVER you enter in the replace box seems to STILL replace every soft-linebreak with the literal "\n" after that.

Editing a PPT format file.

May seem minor but I have about 100 presentations of 5 or so slides each that all need this modification!!!

And yes I do have the "Regular Expressions" switch on.
Comment 1 sasha.libreoffice 2011-05-30 10:14:18 UTC
Created attachment 47329 [details]
source file to reproduce problem with find&replace

This problem reproduced on LibreOffice 3.4 rc1 on Mandriva 64 bit and Windows XP 32 bit
Steps to reproduce:
0. Open file from attachment
1 [review]. Do Edit -> Find&Replace
2. In dialog: in fields "Search for" and "Replace with" enter \n
3. in dialog press button More Options 
4. enable option "Regulag expressions"
5. Press button "Replace All"

Expected: no changes, all 3 lines remains
Actually: all lines becomes as 1 line with \n text inside

The same problem with \t in field "Replace with"
Comment 2 sasha.libreoffice 2011-05-30 10:18:22 UTC
In Writer it works properly
Comment 3 sasha.libreoffice 2011-05-30 10:22:11 UTC
In comment 1 appears strange links. I have not entered them:
>0. Open file from attachment
>1 [details]. Do Edit -> Find&Replace
Comment 4 Björn Michaelsen 2011-12-23 12:03:31 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 5 sasha.libreoffice 2011-12-26 00:34:25 UTC
reproduced on LibO 3.5.0 beta 1


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.