Issue 31790

Summary: Wrong line wrapping of text and formulas flowing around frames
Product: Writer Reporter: khbellgardt <bellgardt>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: issues
Version: OOo 1.1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
Sample file showing wrong line wrapping none

Description khbellgardt 2004-07-20 18:08:45 UTC
A writer document contains a paragraph including a formula and a text frame
formatted with anchor "to paragraph" and wrapping "before", When the formula is
too wide to fit left to the frame it should be wraped to a position just below
the frame. But instead it is positioned much lower and a lot of space is
inserted between the bottom of the frame and the formula. The attached document
shows two examples for this behaviour. 

Some strange effects show up when inserting several line breaks (shift return)
before the formula. Then suddenly the formula moves up. When the line breaks are
deleted again the formula sometimes moves up further and overlays the frame. But
this cannot always be reproduced.
Comment 1 khbellgardt 2004-07-20 18:09:57 UTC
Created attachment 16629 [details]
Sample file showing wrong line wrapping
Comment 2 michael.ruess 2004-07-21 14:55:37 UTC
MRU->FME: true, when the width of the formula is increased (e.g. by entering a
space in the formula in the middle of the "p_1p_2" string, the object frame
moves down too much. There seems to be a problem with the "at least" line
spacing of the paragraph the object is anchored in. When setting to "single"
line spacing, layout looks as desired.