Apache OpenOffice (AOO) Bugzilla – Issue 92970
Frame at wrong place when other frame covers part of paragraph spacing
Last modified: 2017-05-20 11:18:13 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'.
Created attachment 55898 [details] Frame at wrong place
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.
Created attachment 61528 [details] file with wrong-width table
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)
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.
Reset assigne to the default "issues@openoffice.apache.org".