Summary: | FILEOPEN: Images anchored to paragraph dont load within their table cells | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Alexandre-Xavier <alexandrexavier> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | cno, jmadero.dev, philipz85, vsfoote |
Priority: | medium | Keywords: | filter:odt |
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 87740, 103100 | ||
Attachments: |
ordis.odt
ordis.pdf |
Description
Alexandre-Xavier
2016-07-04 01:04:45 UTC
Hi Alexandre-Xavier, Can you try anchoring the images as a character instead of "to paragraph". Right click on each image and anchor as character. Arrange the images as you want, save, close, open. I believe this resolves the problem because you want the images treated like characters (inside of the table) and not to the paragraphs (which are part of the page). Marking as NEEDINFO - throw back into UNCONFIRMED if that does not resolve it. The issue is that when I saved my document and reloaded it, the images had moved.
> Right click on each image and anchor as character.
Yes, it fixed my problem, but that's only a workaround.
(In reply to Alexandre-Xavier from comment #2) [...] > > Right click on each image and anchor as character. > > Yes, it fixed my problem, but that's only a workaround. No it is not a workaround, it is the correct way to anchor an image in that case. Indeed anchoring to the paragraph only fix the distance between the image and the paragraph. Closing as WorksForMe. Please feel free to reopen if you disagree. Best regards. JBF I disagree. The issue is not whether my image was anchored correctly, it's about the document being saved with the images placed in a certain way and then this placement being different on reload. When a user saves a document, he expects the document to be the same on reload. It's acceptable when opening .docx files that were made with Microsoft Office, but not for .odt files, because they are LibreOffice's native format. Created attachment 128085 [details]
ordis.odt
Created attachment 128086 [details]
ordis.pdf
Attached the odt and pdf to bugzilla so they dont disappear later. @Stuart, @Cor: what is your take on this issue? This looks like a repagination issue that seems to fall down when the cell contents is at the end of the page and works perfectly fine when it isnt. Insert anchored "to paragraph" within a table cell is going to be problematic as here because tables are "recomposed" onto the canvas round trip to and from ODF. As with bug 87720 the default anchor should be to character. OPs complaint that document should be structured the same on reopening the ODF is valid--but is caused by the default anchor to paragraph. Agree with JBF this is not a bug and should be closed Works For Me--but bug 87720 for defaults needs to review placement of images into frames, table cells, etc. and assign functional defaults. |