The LibreOffice test document n779627.docx contains a discarded footer (checked in MS Office, too), but its shapes are imported by LibreOffice, see http://cgit.freedesktop.org/libreoffice/core/plain/sw/qa/extras/ooxmlimport/data/n779627.docx
László Németh committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=da0c3b50c79697dd595b00922ede004b9f2960f4 tdf#91077 don't import shapes from discarded DOCX header/footer It will be available in 5.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
László Németh committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fccd44a01e2092b587bbab43f5c5f56cd7ece4cd tdf#91077 unit tests for shape import of discarded DOCX header/footer It will be available in 5.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
verified Version: 5.5.0.0.alpha0+ Build ID: 066665644b398a882e6cded98af5bb060af41d76 TinderBox: Android-ARM@24-Bytemark-Hosting, Branch: Master, Time: 2017-06-01 00:30:43