Pengcheng's avatar
Pengcheng
Copper Contributor
Sep 15, 2025
Status:
New

Assign Paragraph.uniqueLocalId to html.

Using getHtml API to read document can get formatted content of the word document, but when I want to operate(modify, styling, etc) the paragraph via word API, the uniqueLocalId is required to locate the paragraph object, however the "uniqueLocalId" is not in html code so it is hard to map the paragraph from html and word document.

 

for example:

<p data-unique-local-id="12345678-1234-1234-1234-1234567890123456">...</p>

 

Thanks!

No CommentsBe the first to comment