Issue 3317 - para anchored graphics do not cause
Summary: para anchored graphics do not cause
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 642
Hardware: All All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-04 10:13 UTC by caolanm
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments
example .sxw (13.14 KB, application/octet-stream)
2002-03-04 10:14 UTC, caolanm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2002-03-04 10:13:39 UTC
In the attached .sxw example there is a section with two columns, a graphic is
anchored to a para in column one and positioned over text in column two and the
text underneath wraps around the graphic as expected. There is another graphic
anchored to a paragraph in column two and positioned over text in column one.
The text underneath does not wrap around the graphic.
Comment 1 caolanm 2002-03-04 10:14:05 UTC
Created attachment 1145 [details]
example .sxw
Comment 2 andreas.martens 2002-03-04 12:11:15 UTC
It's a small step in the writer core but a great step in writer 
behaviour. At the moment a paragraph ignores all frames which are 
anchored at following paragraphs. If I change this, I'll get endless 
loops in many cases. The paragraph grows, moves the next paragraphs, 
so the frame has to be positioned again, the first paragraphs could 
shrink again and so on. Before I fix this bug I have to implement an 
algorithm to avoid these loops.
Comment 3 andreas.martens 2003-09-04 12:03:20 UTC
Let's try it.
Comment 4 Oliver-Rainer Wittmann 2003-09-05 11:34:34 UTC
OD (05.09.2003): accepted.
the above mentioned non-looping layout has also to be implemented, if
objects can be negative positioned (ms_interoperability).
Comment 5 Oliver-Rainer Wittmann 2003-09-24 11:51:36 UTC
.
Comment 6 Oliver-Rainer Wittmann 2004-08-25 14:23:02 UTC
fix in progress in cws swqbugfixes06
Comment 7 Oliver-Rainer Wittmann 2004-08-25 14:32:49 UTC
The wrapping of text around 'negative' positioned floating screen objects
(Writer fly frames and drawing objects) will be enabled. (Note: 'negative'
means, that the position of the floating screen object is according to the text
flow before its anchor.)
This can potentially cause loops in the layout process. Thus, if such a loop is
detected, temporarly the 'straightforward positioning process' - specified in
specification 'Positioning of floating screen objects with considering its
wrapping style', found at
http://specs.openoffice.org/writer/compatibility/obj-pos-without-wrapping.sxw -
is applied for the floating screen object causing such a loop.
Comment 8 Oliver-Rainer Wittmann 2004-08-25 16:06:38 UTC
fixed in cws swqbugfixes06 - changed files:
/sw/source/core/text/txtfly.cxx, 1.47.6.1
/sw/source/core/layout/frmtool.cxx, 1.66.6.1
/sw/inc/anchoredobject.hxx, 1.4.8.2
/sw/source/core/layout/anchoredobject.cxx, 1.4.6.1
/sw/source/core/layout/anchoreddrawobject.cxx, 1.3.6.4
/sw/source/core/layout/flycnt.cxx, 1.41.6.2
/sw/source/core/layout/fly.cxx, 1.63.6.2
/sw/source/core/layout/layact.cxx, 1.43.6.2
/sw/source/core/layout/objectformattertxtfrm.cxx, 1.2.6.1
/sw/source/core/layout/wsfrm.cxx, 1.58.6.1
Comment 9 Oliver-Rainer Wittmann 2004-08-27 12:40:50 UTC
reopen to assign to QA
Comment 10 Oliver-Rainer Wittmann 2004-08-27 12:41:13 UTC
OD->MRU: Checked in internal installation set of cws swqbugfixes06 - please verify.
Comment 11 Oliver-Rainer Wittmann 2004-08-27 12:41:30 UTC
set status back to FIXED
Comment 12 michael.ruess 2004-08-27 14:02:29 UTC
Verified in swqbugfixes06.
Comment 13 michael.ruess 2004-10-13 12:39:32 UTC
MRU: checked integration in 680m56.