none
OpenXml SDK- How to uniquely identify a paragraph in a word document RRS feed

  • Question

  • I need to extract paragraphs based on some unique ids or something that can identify/differentiate each paragraph in a 50- 60 pages word document (using TX Text Editor to load it) . I will tag these unique IDs to a list box or some other list control and on-click of the list box item, go to that specific paragraph and highlight it. I thought w:paraID is unique but it is null and not for development purpose. There should be some custom hack where in i can add something.

    Right now i convert the TxText Editor loaded content to docx -> wordprocessingML and trying to figure out how to extract certain paragraphs using some unique ids or style. The Content of the Paragraph will not be known, only some mapping between the listitem and Docx will be there to highlight the entire paragraph.

    Regards, Jasbir

    Sunday, May 26, 2019 10:26 AM

All replies

  • Hi,

    i am also looking for a solution for the same scenario as you are. did you get a solution?

    Saturday, September 26, 2020 4:57 AM