Bug 89082 - FORMATTING: improving text+frames flow
Summary: FORMATTING: improving text+frames flow
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
: 117329 (view as bug list)
Depends on:
Blocks: Frame
  Show dependency treegraph
Reported: 2015-02-03 15:02 UTC by pehache.7
Modified: 2024-02-18 11:56 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:

Detailed description of the desired enhancement (136.95 KB, application/pdf)
2015-02-05 09:00 UTC, pehache.7
how to do that, example file (42.13 KB, application/vnd.oasis.opendocument.text)
2015-02-22 09:07 UTC, Jean-Baptiste Faure

Note You need to log in before you can comment on or make changes to this bug.
Description pehache.7 2015-02-03 15:02:31 UTC

Let's assume the following situation :

Page 1
* Paragraph 1
* Frame (anchored as character, so non-floatting)
* Paragraph 2

If all of this is progressively shifted down, at a moment there is no longer enough space for the Frame on the page 1, and we get :

Page 1
* Paragraph 1
* (empty space)
Page 2
* Frame 
* Paragraph 2

Instead, I would like the same behavior than can be found in LaTeX or FrameMaker:

Page 1
* Paragraph 1
* beginning of Paragraph 2
Page 2
* Frame 
* end of paragraph 2 (if applicable)

And it has to be fully automatic, without manual adjustment, whatever the modifications that can shift up or down this sequence.

I've tried all possible combinations of anchoring/text adaption in the frame settings, but none of them does. After investigations on forums, it looks like it's simply not possible (and it is not possible neither in Open Office nor in MS Office).

This features is actually a must-have for long technical documents that include many figures, tables, etc...
Comment 1 pehache.7 2015-02-05 09:00:58 UTC
Created attachment 113140 [details]
Detailed description of the desired enhancement


I attach a PDF file to better explain the problem ans the desired enhancement.
Comment 2 Jean-Baptiste Faure 2015-02-22 09:07:28 UTC
Created attachment 113591 [details]
how to do that, example file

Here is a document showing how to do that. The idea is to place the image inside a paragraph instead of between two paragraphs and to split this paragraph by a line break (MAJ+Enter) in order to have the appearance as if there was two paragraphs.
Note: it is necessary to uncheck the last option in menu Tools > Options > LibreOffice Writer > Compatibility.

To test this solution, open the attached file, and insert empty lines above the paragraph containing the image.

Best regards. JBF
Comment 3 pehache.7 2015-03-01 22:50:05 UTC
@JBF :

Thi scan work, but this is more a workaround than a solution.

Merging two paragraph into a single logical pararagraph, while they are still displayed as separate paragraph, is potentially confusing. And it requires that the two paragraphs share the same style (which is indeed the most frequent case, but not the only case).

A better solution is still needed in my opinion.
Comment 4 Heiko Tietze 2016-09-28 15:35:09 UTC
Sorry for the late answer. And even more apologies that I need to ask again what you are missing at positioning of frames. There are plenty of options.
Couldn't the image example be solved by Anchor > To Page (similarly for frames in general)?
Comment 5 V Stuart Foote 2016-09-28 16:50:37 UTC
Any reason not to place your paragraphs into Text Frames and link, a-la Framemaker? And then link your image either to character or to paragraph. Adjust and style content of your frames as needed and the writer canvas will recompose to follow.
Comment 6 pehache.7 2016-10-17 21:00:20 UTC
@Heiko Tietze : anchoring at the page is definitely not an option : depending on the flow, there can be some conflicts between two (or more) frames to occupy the same place. e.g. a paragraph at the bottom of page N with a frame anchored at the top of the page N, and on the next page N+1 a paragraph at the middle of the page with a frame anchored at also the top of the page N+1. If the whole text flow is shift down (by inserting some text in the previous pages, then the first paragraph may move to page N+1, while the second may be still on page N+1 : the frames would overlap on page N+1.

I have really investigated all possible positioning/anchoring options, and really none of them correspond to the behavior I described (which can be found in FrameMaker or Latex)

The best solution so far has been proposed by Jean-Baptiste Faure, but still it's more a workaround than a proper solution.

@V Stuart Foote : may be a solution for desktop publishing, but not for word processing with long documents (100+ pages)
Comment 7 Heiko Tietze 2017-08-15 12:57:56 UTC
From the UX POV there is nothing to say against another frame option. But I guess ODF hasn't such a feature. Since a workaround exists I'm for closing this ticket as WFM/WF but leave it open for dev decision.
Comment 8 Mike Kaganski 2021-03-22 09:08:55 UTC
*** Bug 117329 has been marked as a duplicate of this bug. ***
Comment 9 pehache.7 2024-02-18 11:56:07 UTC
Any chance this improvement be considered? I understand this probably requires an update of the ODF format itself, but I think it's worth the change.

This single missing feature is for me a no-show when it comes to use LO for long technical documents.