-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get actual ids of Paragraphs in a plugin? #92
Comments
@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 <w:p> we are replacing. |
I was talking about the 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?
The text was updated successfully, but these errors were encountered: