Issue 63425 - Allow paragraph breaks within a line
Summary: Allow paragraph breaks within a line
Status: CLOSED DUPLICATE of issue 39582
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.0.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: requirements
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2006-03-21 10:41 UTC by magi
Modified: 2006-04-04 20:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description magi 2006-03-21 10:41:36 UTC
Allow paragraph breaks within a line. I couldn't find an older issue about this,
but there might very probably be one, as this is so obvious problem. It might
require rather radical changes, but it would be rather useful.

My main reason for requesting such a feature is that official documents (at
least in Finland) have formatting rules that require short headings to be on the
same line as the actual text body (which is usually intended 4,58 cm). For example:

1 This is a normal heading that is rather long

                Here is just plain text, which is normally
                written with the "Text body" style. You
                usually want this paragraph to be kept together
                with the heading above.

2 Heading       On the left was a heading that was so short
                that it did not reach the 4,58 cm indentation,
                so it is written on the same line as the
                plain text.

                Here is another paragraph with plain text, which
                should typically have style "Text body". However,
                a page break should be allowed between this and
                the paragraph above.

The problems should be obvious. We want to have heading paragraphs with a
heading style, to allow numbering and possibly a different font, etc. But
heading paragraphs have "Keep with next paragraph" attribute, which is obviously
important. But if many of the successive paragraphs have short heading, they
will all be kept together. It would also be nice to have the line break occur
automatically when the heading is too long.

I don't know about other text processing systems, but at least LaTeX can have
such paragraphs. For example, the \paragraph and \subparagraph are headings that
are displayed on the same line as the normal text. Also, for example in
mathematical definitions and such, the "Definition x.xx" is often written with a
different style than the text following it. Currently, it doesn't seem to be
possible to move LaTeX documents cleanly to OOo because of problems such as these.

Having a negative top margin for the first paragraph after a short heading could
solve this problem partially, but it would require setting the paragraph style
manually depending on the length of the heading.
Comment 1 michael.ruess 2006-03-21 12:09:00 UTC
It looks, that a kind of DTP capabilities need to be implemented into OO Writer.
Reassigned to requirements.
Comment 2 lohmaier 2006-04-04 20:12:46 UTC
duplicate

*** This issue has been marked as a duplicate of 39582 ***
Comment 3 lohmaier 2006-04-04 20:13:02 UTC
closing duplicate.