https://bugs.documentfoundation.org/show_bug.cgi?id=154192
Bug ID: 154192
Summary: FILEOPEN DOCX: import fails special case for
anchor-after-break in last paragraph of the document
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: filter:docx
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 108771
Created attachment 185960
--> https://bugs.documentfoundation.org/attachment.cgi?id=185960&action=edit
shapeAnchorPageBreak3c.docx:
I guess you could call it a regression because anchoring was wrong before 7.6,
but it worked in this special situation. In any case, the difference here is
simply adding a <w:p/> at the end of the document causes the shapes to move
before the break. LO has never identified the last paragraph of the document
during import, so this is really inherited from OOo.
Compare this to ooxmlexport18's tdf153613_textboxAfterPgBreak3.docx (which is
not the last paragraph). [I used Word 2010.]
Steps to reproduce
1- open the document in LO. Notice that the two shapes on the first page.
In Word, they are on the second page - the first page is blank.
As a code pointer, see 7.6 commit a9bc19c2d4a35606668aa2dcc53355651b71ee78
Author: Justin Luth on Wed Feb 15 13:54:31 2023 -0500
tdf#153613 writerfilter: don't always split para for shape w/ pagebreak
Before this commit it accidentally looked good.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=108771
[Bug 108771] [META] DOCX (OOXML) page-related issues
--
You are receiving this mail because:
You are the assignee for the bug.