We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Show/hide bookmarks

I want a java aspose words api which can hide/ show marked bookmarks in word document through java program.

I am waiting for reply. Please let me know ASAP. Its urgent.

Thanks in advance

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You can just remove bookmarked content. Please see the following link for more information.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/bookmarks-in-aspose-words.html

For example you can use the following code to remove bookmarked content.

bookmark.setText("");

Also please attach your document for testing and provide more information about your needs.

Best regards.

Thanks.

Thats fine.

What I want is how can we see the gray colored brackets through java and not through word options.

Thanks.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. It is not quite clear for me what you mean. Could you please attach sample document? I will investigate the document and try to help you.

Best regards.

Ya sure I am attaching a word document marked with bookmarks.

Thanks.

Hi

Thank you for additional information. These gray brackets are represented as BookmarkStart and BookmarkEnd nodes in Aspose.Words Document object model. See the following link for more information.
http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/com/aspose/words/bookmarkstart.html

Hope this helps.

Best regards.