To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=55978
                  Issue #:|55978
                  Summary:|Need to search/replace carriage-return codes directly
                Component:|Word processor
                  Version:|current
                 Platform:|All
                      URL:|
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P4
             Subcomponent:|editing
              Assigned to:|mru
              Reported by:|stiebler





------- Additional comments from [EMAIL PROTECTED] Fri Oct 14 00:45:04 -0700 
2005 -------
[Using OO2 RC2 Writer]

A lot of text found on the Internet contains sentences part-terminated by
carriage-return <CR> (as distinct from "\n"). I personally have to deal with
texts like this a lot. Example:

The cat sat on<CR>
the mat and ate<CR>
the rat. <CR>
<CR>
The cat later needed<CR>
a rabies shot.<CR>

What one would like to do is:
1. retain the <CR> between paragraphs.
2. replace all the other <CR> with spaces, to give:

The cat sat on the mat and ate the rat.<CR>
<CR>
The cat later needed a rabies shot.<CR>

This is easy in Microsoft Word - just search/replace <CR><CR> with <DUMMY>,
search/replace <CR> with <space> and search/replace <DUMMY> with <CR>.
If there is a work-around with Open Office Writer, then I have been completely
unable to fathom it. No amount of juggling with ^, $ and '.' appears to work
(regular expressions turned on). Microsoft Word allows actual detection of <CR>
with the command "^p". There seems to be no direct equivalent in OO Writer.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to