Writer advanced usage: "page frames"

When you need to associate an illustration to text, you insert a frame attached to a paragraph and set wrap so that text flows around the frame. This works fine until the frame has a size such that it causes a page break leaving a huge white space at the bottom of the preceding page.

I wonder if there exists a way to attach the frame similar to To page where the frame does not cause spurious page break but where the anchor page would be determined dynamically, i.e. the nearest following the paragraph. What is desired is the frame should move when the paragraph moves.

In addition, since this special mode is intended for page-size or near page-size frames, it would be useful to associate some page style to the frame so that we have the following structure:

Page with P page style
   paragraph 1
   paragraph, anchor for special frame F
   paragraph 2
   paragraph 3
Page with I (illustration) page style (page style change optional but only for one page)
   special frame F
Page with P page style
   paragraph 3 continued
   paragraph 4

Typical use case is insertion of page-size “art” close to the referencing paragraph.

Is there any contorted way to do this presently?

tdf#89082 ⁠

@mikekaganski thanks.
I had a try at Jean Baptiste Faure’s work around but it is not satisfactory because:

  1. it breaks the “paragraph semantics” (a paragraph is a basic unit of significance) and two adjacent paragraphs may have different styles
  2. it supposes the break will occur in the vicinity of the line break and you provide manually enough continuous paragraph contents to cover all possible break cases (eventually replacing more paragraph breaks by line breaks)
  3. it can’t support my additional desire of momentarily changing the page style (e.g. switch to landscape format for wide images)

But good to know there is already an enhancement request.