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

Free Support Forum - aspose.com

Index Entries


how can I mark entries using aspose? Entries are used for e.g. Index generation. If I create an entry using Word it looks like the following if linebreaks and so on are shown.

Lorem ipsum { XE “indexterm1” } dolor sit amet { XE “indexterm2” }.

The generated index looks as follows:

indexterm1, 1
indexterm2, 1



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

Thanks for your inquiry. You can do exactly the same using Aspose.Words. You should use DocumentBuilder.insertField method to insert XE field. Please see the following link for more information:

http://www.aspose.com/documentation/java-components/aspose.words-for-java/com/aspose/words/documentbuilder.html#insertField(java.lang.String, java.lang.String)

Best regards,