hi,
There is a requirement where only selected nodes should be editable in the word document.
I am able to bookmark those Nodes in the word document.
Is it possible to make the document read only except the bookmarked nodes?
<span style=“color: rgb(34, 34, 34); font-family: “Arial”,“sans-serif”; mso-ansi-language: EN;” lang=“EN”>Thanks.
please reply as soon as possible
Hi Nikhil,
- Move cursor to the last node before the start of Bookmark
- Insert SectionBreakContinuous using DocumentBuilder.InsertBreak Method
- Move cursor to the first node after the end of Bookmark
- Insert SectionBreakContinuous using DocumentBuilder.InsertBreak Method
- Above 4 steps will keep bookmarked content in a separate Section.
- Repeat the same steps for every Bookmarked content in your document
- Keep track of these newly created Sections
- Now apply document protection using Document.Protect(ProtectionType.AllowOnlyFormFields) method.
- Finally, selectively turn protections off for the Sections we created above e.g. doc.Sections[1].ProtectedForForms = false;
hi Awais Hafeez,
If the document is in Newsletter format, Inserting SectionBreakContinuous causes formatting lost.
Is there any other approach?
reply as soon as possible please…
<span style=“color: rgb(34, 34, 34); font-family: “Arial”,“sans-serif”; mso-ansi-language: EN;” lang=“EN”>Thanks.
hi Awais Hafeez,
Thanks Awais for your quick response. That is the most critical item on our list and hence will it be possible for you to share even a tentative time frame when I can expect this one to be available for our use? This would greatly help me plan our work schedules around it.
Also, is it possible to define protected editing on page level? If yes, how? I am facing a concern because the document page count and PAGE_BREAK count does not match. Hence, if I keep track of page breaks, it ideally does not give me an accurate number of pages in the document and hence I end up with erroneous results.
Looking forward to your response and thanks again for your help!
Best,
Nikhil
Hi Nikhil,
Hi Awais Hafeez,
Is there any update for feature request WORDSNET-9000?
The issues you have found earlier (filed as WORDSNET-9000) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(9)