https://bugs.documentfoundation.org/show_bug.cgi?id=162539

            Bug ID: 162539
           Summary: FILEOPEN DOC/X layoutInCell: from-top should be
                    limited by cell margin, not cell frame
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:doc, filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 120466, 120468

Created attachment 195928
  --> https://bugs.documentfoundation.org/attachment.cgi?id=195928&action=edit
layoutInCell_fromTop_cellMargin.doc: image top should start at cell margin

This is a follow-up to DOC bug 91632 and DOCX bug 160077.

Not only should the vertical "page" be limited to the cell margin,
but similarly, negative "from paragraph top" should be limited by cell margin
(as well as positive values be limited by bottom cell margin).

Once again, this is not related to compatibilityMode=15.

Steps to reproduce:
-open layoutInCell_fromTop_cellMargin.doc

Notice that the image top is at the top of the cell. (It should be 0.25cm below
the border.)

I think this should be an MSO-only layout issue. It isn't logical to use margin
for vert and cell edge for horizontal.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=120466
[Bug 120466] [META] DOCX (OOXML) anchor and text wrapping bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=120468
[Bug 120468] [META] DOC (binary) anchor and text wrapping bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to