Bug Hunting Session
Bug 46023 - [RFE, FORMATTING] Allow creation of inline paragraphs (where next paragraph continues on the same line, not on new line)
Summary: [RFE, FORMATTING] Allow creation of inline paragraphs (where next paragraph c...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph Writer-Styles-Paragraph Writer-Enhancements
  Show dependency treegraph
 
Reported: 2012-02-14 01:39 UTC by Nicolas Mailhot
Modified: 2017-06-10 06:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Mailhot 2012-02-14 01:39:50 UTC
An inline paragraph is not followed by a line break but a space (the next paragraph starts on the same line)

This would improve compatibility with html import/exports and permit clean creation of in-line titles without macro hacks such as:
http://user.services.openoffice.org/en/forum/viewtopic.php?f=29&t=709
Comment 1 Nicolas Mailhot 2012-02-14 02:44:05 UTC
Without inline:

3.4.5 Section title in bold/color/whatever

Section text here

With inline

3.4.5 Section title in bold/color/whatever Section text here
Comment 2 Joel Madero 2012-12-07 23:53:53 UTC
Seems like a valid request. Going to leave it as a medium level enhancement request. 

Marking as NEW (valid request), can you elaborate a bit on how you would see it behaving? It may be an easy hack (not sure to be honest). With release of 4 coming up I doubt this will be looked at soon but maybe a developer in the future will pick this up. 

Thanks for reporting and for being patient. Apologies for the long delay before communication from our team.

P.S. One question I have is the use of the "Enter" key, would this just cause a space and change the formatting to body text? Also, you'd see the auto update for TOC's with this? 

Thanks again, I like the idea quite a bit
Comment 3 Nicolas Mailhot 2012-12-08 09:51:38 UTC
(In reply to comment #2)

> P.S. One question I have is the use of the "Enter" key, would this just
> cause a space and change the formatting to body text? Also, you'd see the
> auto update for TOC's with this? 

Inlining paragraphs should not change the document structure, it's just presentation. So yes enter after a title would just insert a space and switch to the inline part (if it was defined as successor style to the title style), only the part in title style would end in toc and the toc would be updated the same way it is now for a title style with no inline follow-up
Comment 4 sasha.libreoffice 2012-12-13 13:28:00 UTC
Thanks for bugreport
Inserting index entry by:
Insert->Indexes and tables->Entry 
produces the same result. Please, tell what exactly needed. Or what wrong is in existing entry.
Comment 5 Nicolas Mailhot 2012-12-13 15:27:37 UTC
This RFE is not about creating a new form of index. This RFE is about enabling a formatting style that can be used in any part of an existing document, without changing its structure
Comment 6 sasha.libreoffice 2012-12-14 06:19:22 UTC
So, there should be possibility to specify character style for entries in text?
Comment 7 Nicolas Mailhot 2012-12-14 08:40:02 UTC
It's not a character property, it's a paragraph property. Please re-read the description in comment #1
Comment 8 sasha.libreoffice 2012-12-14 09:40:52 UTC
But paragraph property applicable for whole paragraph only. On screenshot from link in Description we see that formatted only part of paragraph. Therefore it is Character style, not a paragraph.

And another question: may be Basic Macro which changes style or formatting for all entries in document will be useful? As temporary workaround at least.
Comment 9 Nicolas Mailhot 2012-12-14 12:58:04 UTC
(In reply to comment #8)
> But paragraph property applicable for whole paragraph only. On screenshot
> from link in Description we see that formatted only part of paragraph.
> Therefore it is Character style, not a paragraph.

You are confusing document presentation with document structure. The aim of the RFC is to create a *presentation* attribute where a paragraph is followed by a space not a line change. This attribute must not change the document structure itself, or lots of things (indexes, etc) will break.
Comment 10 sasha.libreoffice 2012-12-14 13:05:25 UTC
Thanks for explanations.
As I understand, we need additional option for paragraph or paragraph style for current paragraph become followed not by CarriageReturn, but by Space.
Comment 11 Yury 2013-06-19 18:17:30 UTC
Would be swell to have this, e.g., for lower level headings -- there are certain standard document requirements mandating TOC'able inline headings of level 4 equivalent.