Apache OpenOffice (AOO) Bugzilla – Issue 92483
WW8: layout-in-table-cell fix
Last modified: 2013-07-30 02:41:07 UTC
The layout-in-table cell attribute is not correctly handled, when the positioning is relative-to-page and layout-in-table-cell is set.
Created attachment 55574 [details] fix for layout-in-table-cell and positioning-to-page
OD->FLR: After investigation of your patch together with AMA and trying to figure out which problem you want to solve, we identified the following inefficiency of the Writer regarding the WW8 import: In Microsoft Word an object anchored inside a certain table cell having a relative position to page area and having attribute layout-in-table-cell set, orients its position at the table cell area instead of the page area. If its Microsoft Word wrapping style is also "in-front-of-text" or "behind-text" it can also leave the table cell area. In Writer the first use case can be achieved by set "Follow text flow" to true. But this has also the consequence that the anchored object can not leave anymore the table cell. Thus, the second use case can not be represented in Writer. Reason for this is my incomplete analysis of the Microsoft Word behavior regarding its layout-in-table-cell attribute, when initially introducing Writer's attribute "Follow text flow" for OOo 2.0 Your patch applies the first use case also to the second use case. Thus, it will break the layout of certain imported Microsoft Word documents - see attached Microsoft Word file <table_box.doc>. Please revise your patch - I think you need to adjust the Writer layout algorithm for Microsoft Word documents in certain use cases. P.S.: Your patch based on former revisions of the touched files. Please consider also fix for issue 84873 regarding the handling of the WW8 layout-in-table-cell attribute in the WW8 import.
Created attachment 56087 [details] use case which is broken by the provided patch
Any news? Shall we set the type to "DEFECT" or are you still working on an updated patch?
@flr: ping? I you are not interested in working on this patch anymore, I will set its type to "DEFECT".
I'm adding this comment to all open issues with Issue Type == PATCH. We have 220 such issues, many of them quite old. I apologize for that. We need your help in prioritizing which patches should be integrated into our next release, Apache OpenOffice 4.0. If you have submitted a patch and think it is applicable for AOO 4.0, please respond with a comment to let us know. On the other hand, if the patch is no longer relevant, please let us know that as well. If you have any general questions or want to discuss this further, please send a note to our dev mailing list: dev@openoffice.apache.org Thanks! -Rob
Reset assignee on issues not touched by assignee in more than 1000 days.