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

--- Comment #11 from Justin L <[email protected]> ---
Created attachment 195826
  --> https://bugs.documentfoundation.org/attachment.cgi?id=195826&action=edit
160077_layoutInCell_horiRight_compat12.docx: a horrible related example

Contrary to the file name, this one is actually layoutInCell="0" (aka false),
and probably is not legitimately compat12 since it has some DML in it.

In any case, MS Word opens it without complaint, positioning the image at the
top right corner of the table.
(note that the right of the table is also the non-table-paragraph/page margin).
  <wp:positionH relativeFrom="column"> // paragraph
    <wp:align>right</wp:align>
  </wp:positionH>
  <wp:positionV relativeFrom="paragraph">
    <wp:align>top</wp:align>
  </wp:positionV>

The problem is that "vertical paragraph" is illegal in this context for some
reason (perhaps because it is a block table - not defined inside a w:p), and
thus when viewing the "size and position" in MS Word and pressing OK, the image
jumps to the top of the page.

But all this basically just confirms that both horizontal and vertical need to
use the table frame instead of the cell frame as their reference point if not
compat15.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to