I'll rephrase my question. Imagine I have a doc looking like this:
My cross-reference to "Third sub-title" is: 1.c 1. First title a. First sub-title ~BLOCK_testBlock~ b. Second sub-title ~BLOCK_testBlock~ c. Third sub-title 2. Second title 3. Third title
Now, let's imagine I remove 1.b programmaticaly.
With DOCXPath as you suggest, how can I change my cross-reference from 1.c to 1.b? I managed to do it if the cross reference text is set to "Paragraph text" via the getWordContents() function. But getting the list style / numbering seems difficult.