Issue 10815 - Converting Line break to paragraph break
Summary: Converting Line break to paragraph break
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.1
Hardware: All All
: P4 Trivial with 8 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa, rfe_eval_ok
: 19141 53063 62984 76919 (view as issue list)
Depends on:
Reported: 2003-01-21 01:28 UTC by mjevans
Modified: 2013-02-07 22:41 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description mjevans 2003-01-21 01:28:30 UTC
It's often convenient to convert between paragraph breaks and line

breaks.  Find/replace is the ideal tool.  In Microsoft Word,

UltraEdit, and similar programs, these breaks are encoded as \p and \n

(or ^p and ^n, ...).  So they can be used in find/replace operations.

OpenOffice 1.0.1 has no such distinction it seems.  There is no

equivalent to \p.  And \n can represent both types of break in the

same dialog box!  The 1.0.1 help file says:

"\n  Finds a hard row break which has been inserted with Shift+Enter.

Use this sign to change row breaks into paragraph breaks. Enter a \n

in the Search for as well as the Replace with fields [!!!both fields

at once!!!]. Now activate the Replace all button."

Simple tests show even this much information to be inaccurate.  The

operation as described does not work.

How about a proper \p expression?

Secondly I wonder about general regular expressions. There are some

good C/C++ regex engines out there (PCRE comes to mind). Which one

does OpenOffice use, if any?


Comment 1 mjevans 2003-01-21 02:27:26 UTC
The display option for "Nonprinting Characters" has good notations for 
paragraph breaks, tabs, and space bar characters.  Manual line breaks 
should be better represented.  In 1.0.1 they are empty square boxes.  

Some programs use a bent arrow to indicate non-paragraph line breaks.  
That's a pretty good choice.  (Maybe this should be a separate issue 
but since it relates so closely, I posted here.  Feel free to 
move/fork this comment.)
Comment 2 h.ilter 2003-01-21 15:16:30 UTC
Reassigned to BH
Comment 3 bettina.haberer 2003-03-17 11:17:26 UTC
Thank you for your issue Mark. This issue will be reviewed. Changed prio.
Comment 4 tamblyne 2003-10-14 04:37:19 UTC
*** Issue 19141 has been marked as a duplicate of this issue. ***
Comment 5 lohmaier 2004-12-05 15:07:32 UTC
This clearly is a duplicate of issue 25177  - please decide which one to keep.
Comment 6 eric.savary 2005-08-09 11:03:22 UTC
*** Issue 53063 has been marked as a duplicate of this issue. ***
Comment 7 hwoarang 2006-03-15 02:43:21 UTC
*** Issue 62984 has been marked as a duplicate of this issue. ***
Comment 8 otterfolly 2007-03-19 09:40:48 UTC
I feel this should have a higher priority - this is really quite important in 
terms of what other writer programs offer e.g. MS Word. In particular Issue 
62984 needs to be 
resolved here. 
Comment 9 eric.savary 2007-08-15 13:23:03 UTC
*** Issue 76919 has been marked as a duplicate of this issue. ***
Comment 10 Dotan Cohen 2008-06-24 08:18:32 UTC
As the fix for this issue may break backwards compatibility, the time to do it
is between major versions. Thus, this issue should be given higher priority to
be fixed before the 3.0 release. Also see bug #15666 for much more discussion on
the topic.
Comment 11 bettina.haberer 2010-05-21 14:58:34 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".