Issue 92970 - Frame at wrong place when other frame covers part of paragraph spacing
Summary: Frame at wrong place when other frame covers part of paragraph spacing
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 22:21 UTC by tab
Modified: 2017-05-20 11:18 UTC (History)
1 user (show)

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


Attachments
Frame at wrong place (17.18 KB, text/plain)
2008-08-20 22:22 UTC, tab
no flags Details
file with wrong-width table (12.10 KB, text/plain)
2009-04-13 16:09 UTC, tab
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tab 2008-08-20 22:21:35 UTC
BadFrame.odt
Fig.9 format is supposed to be:
Right, with respect to parag text area
From top by 0.3 in with respect to parag text area
Yet, it's stuck near the left. Why?

If I drag the anchor to parag '2:', Fig.9 goes to the right. OK. So, what is the
problem with anchoring to parag '1:'? Is it that parag. 'd:' above, with a
'Spacing' 'Below paragraph' of 2.8 in, has an 'area' limited by Fig.0? If this
behaviour is normal, then the documentation should improve the definition of
'anchoring' and 'paragraph text area'.
Comment 1 tab 2008-08-20 22:22:25 UTC
Created attachment 55898 [details]
Frame at wrong place
Comment 2 michael.ruess 2008-08-21 12:46:48 UTC
MRU->OD: the second frame has horizontal alignment "right of paragraph text
area". But it is aligned  at the left edge of the upper frame. It looks, that
the lower frame thinks that the upper one is in the same paragraph because it
covers parts of the spacing above.
Comment 3 tab 2009-04-13 16:09:22 UTC
Created attachment 61528 [details]
file with wrong-width table
Comment 4 tab 2009-04-13 16:12:46 UTC
In Table.odt, Table Properties>Columns shows a width of 2.13 in. OK.
Then, why does Table Properties>Table show a table width of 7.20 in instead of
2*2.13=4.26 in? (7.20 in is the width I assigned, but I could not get it,
apparently because of Fig.0)
Comment 5 Oliver-Rainer Wittmann 2009-04-17 11:00:17 UTC
MRU's analysis of the text frame positioning problem is correct and I already
identified the defective code snippet.
In method <SwAnchoredObjectPosition::_AdjustHoriRelPosForDrawAside(..)> the
wrong vertical position is used to determine, if anchored objects, like text
frames, have to draw aside. It is needed to determine the correct vertical top
position of the object's anchor frame.

OD->tab: Please submit a new issue for your problem with attached document
"Table.odt", Thanks.
Comment 6 Marcus 2017-05-20 11:18:13 UTC
Reset assigne to the default "issues@openoffice.apache.org".