Issue 126079 - Improving text+frames flow
Summary: Improving text+frames flow
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 16:09 UTC by pehache.7
Modified: 2015-02-04 12:05 UTC (History)
2 users (show)

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


Attachments
Example of the desired text flow (182.14 KB, application/vnd.oasis.opendocument.graphics)
2015-02-04 11:15 UTC, Regina Henschel
no flags Details
Detailed description of the desired enhancement (136.95 KB, application/pdf)
2015-02-04 12:05 UTC, pehache.7
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pehache.7 2015-02-03 16:09:06 UTC
Hi,

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 Regina Henschel 2015-02-03 23:06:11 UTC
The description is not exact enough. You do not tell to which paragraph this frame-character belongs. Is it a character of paragraph 1 or a character of paragraph 2 or is it a character of a paragraph between paragraph 1 and paragraph 2?

If you want, that the surrounding text floats before the frame, then "anchor as character" is surely wrong. "anchor as character" means that the frame is treated as character. And you would not expect that a character moves from the beginning of a paragraph to the middle of a paragraph, when there happens to be a page break.

There exist still problems in handling page breaks, see bug 101976 and bug 10634.

Nevertheless, your wish for something like "vertical optimal" is valid. I set issue type to enhancement.
Comment 2 pehache.7 2015-02-04 07:34:01 UTC
The belongs to its own paragraph, so between paragraphs 1 and 2 there is indeed another paragraph that contains a single "character" (the frame).
Comment 3 pehache.7 2015-02-04 07:34:50 UTC
(In reply to pehache.7 from comment #2)
> The belongs... 

The *frame* belongs...
Comment 4 pehache.7 2015-02-04 07:39:17 UTC
(In reply to Regina Henschel from comment #1)
> 
> If you want, that the surrounding text floats before the frame, then "anchor
> as character" is surely wrong. "anchor as character" means that the frame is
> treated as character. And you would not expect that a character moves from
> the beginning of a paragraph to the middle of a paragraph, when there
> happens to be a page break.

Sure... The issue is indeed that there is currently no anchoring option that can produce the behavior that I expect.
Comment 5 oooforum (fr) 2015-02-04 07:50:16 UTC
I don't see what this enhancement can do.
For long documents, you could use master document.
To dispose some text and image, you can use a table.

Could you provide a sample file (PDF) to show this?
Comment 6 Regina Henschel 2015-02-04 11:15:46 UTC
Created attachment 84484 [details]
Example of the desired text flow

It is common practice. In the attached scan you can see, that "Figure 2-6" belongs to the second last paragraph of page 61. The figure itself is at top of page 62 because it does not fit under its paragraph on page 61. The empty space after the second last paragraph of page 61 is filled with the next paragraph.

Getting such text flow automatically, would be a useful enhancement.
Comment 7 pehache.7 2015-02-04 12:05:08 UTC
Created attachment 84485 [details]
Detailed description of the desired enhancement