Open anirudhvarma12 opened 4 years ago
@flaminestone take a look please
Hi @anirudhvarma12. There are no public methods for getting paragraph ids at now. I recommendet to use content controls for work with paragraphs/runs.
The problem with using content controls would be that they are visible to the user, we wanted something that is not visible to the user and can be used to track content. Any recommendations for that? Can we have an invisible content control?
No, content controls can not be invisible. I need some examples for understanding) Can you give more details?
We have some internal tools which require us to be able to track paragraph id. If you can give some pointers, I can open an MR also to add this functionality to the sdk.
First of all, you can hide the track around the content control.
Tell me pls, which paragraph id we are replacing? I mean which subnode or attribute of a
I was talking about the para:id
https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.paragraph.paragraphid?view=openxml-2.8.1#DocumentFormat_OpenXml_Wordprocessing_Paragraph_ParagraphId.
Is there any way to read this property from a paragraph?
It looks like OnlyOffice replaces the paragraph ids generated by Word to its own ids. Is there any way to get the word id(s) of the paragraphs?