Created attachment 161424 [details]
missing-path.docx: from ooxmlexport10 - the number is not positioned correctly.
The arrow should be almost touching the number, not an inch below it.
Based on a PDF comparison, I can see that the position of the textbox/number is what is wrong. I am guessing that LayoutInCell=0 indicates a different anchor position should be used.
This document is in 2010 mode.
<w:compatSetting w:name="compatibilityMode" w:val="14"/>
It is worth noting that if compatibilityMode=15 (2013 mode) is set in this document, then Word 2013 is somewhat similar to how LO is currently showing it, although it is only about a 1/2 inch away. Therefore any fix for this should take into account the compatibilityMode. See bug 77794 comment 17 for inspiration for that.
A bibisect is not possible. The textbox was not showing up until LO 5.3 with commit 9d9e5b40c1a6d91323564e60b25ccf04df86db4b
Author: Miklos Vajna on Wed Sep 7 22:17:34 2016 +0200
tdf#78727 sw: fix missing textbox text when anchored inside flying table
The 2013 mode version of the document is attachment 161425 [details]
Created attachment 161426 [details]
tdf133522_screenshot.png: compare LO and Word with 2010 mode, 2013 mode
I confirm it with
Version: 220.127.116.11.beta1 (x64)
Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
in comparison with Word 2016