Issue 39642 - Sometimes wrapping at em dash is undesirable
Summary: Sometimes wrapping at em dash is undesirable
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 1.1.4
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 16:16 UTC by rri0189
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Small sample (7.70 KB, application/vnd.sun.xml.writer)
2004-12-28 16:17 UTC, rri0189
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rri0189 2004-12-28 16:16:37 UTC
Bug 5982 was legitimate and needed to be fixed, but with the fix in place, a new
problem has arisen with no clean workaround. If a very long line ending with an
em dash happens to go just over the line, the em dash ends up on a line by
itself. In this case, the line should be broken before the previous word. The
same (but I grant it is even more complicated to implement) when there is just a
little punctuation.

(This is one of many issues where a "no break here" character style would be
useful, rather than relying wholly on no-break spaces and no-break hyphens.)
Comment 1 rri0189 2004-12-28 16:17:16 UTC
Created attachment 20886 [details]
Small sample
Comment 2 michael.ruess 2004-12-29 09:20:51 UTC
reassigned to SBA.
Comment 3 krajanikant 2005-01-04 04:10:19 UTC
Confirmed. This happens even in OpenOffice versions of 1.1.3 Beta and 1.9.65 
when the Operating System is Windows XP. But when the Operating System used is 
Linux(NLD), the document opens correctly with some text before the hyphen.
Comment 4 songbin 2005-02-03 03:04:42 UTC
I reproduce this bug with new document in open office 1.1.4 with windows XP. But
it is also reproduciable in open office 1.1.4 with Linux(red hat 7.3).
 
The reproduced steps:
    a. Open a new document, and type a long sentence until the line will be
       wrapped. Leave the cursor at the end of this line.
    b. From "Insert - Special Character", choosing "General Punctuation" at
       subset,and finding the em dash and insert it at the end of file.
    After pressing OK, this punctuation “em dash†will be wrapped by itself.

I try all of other punctuations that belong to the "General Punctuation". At the
same position of file, inserting different punctuation from "Insert - Special
Character -  General Punctuation", every punctuation will wrapped with the word
that is just before it except em dash.

It is bug.
Comment 5 stefan.baltzer 2005-02-03 12:19:36 UTC
SBA:  Prio set to P4, Target Office Later. Type changed to "Enhancement".
SBA ->FME: I think the following is desired:
(1) The em dash is NOT a "forbidden character". It it may occur at the end or
beginning of a line, so "both ends" of it are possible "break points".
(2) The em dash shall stay with the previous word if it is NOT followed by a word.



Comment 6 stefan.baltzer 2005-02-10 15:34:26 UTC
SBA: See also issue 42168.