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

Free Support Forum - aspose.com

Side by side table of contents

Hi Team,

Our customer has a requirement of generating bilingual document. Left section Language 1 and Right section Language 2 in the same page (next to each other).

We are able to generate a document as expected. However, is there a way to generate TOC side by side for each language?

See attached sample document for better understanding.

By the way, I use Aspose Words for Java to achieve this.


Hi Kumar,

Thanks for your inquiry. In your expected output, you’re making manual use of REF/PAGEREF fields for displaying TOC entries and to layout these enteries side by side you’re making use of a table. I am pleased to inform you that you can achieve the same layout by using Aspose.Words. I would suggest you please visit the following links to learn 1) how to create a table and 2) how to programmatically insert fields.

I hope, this helps.

Best regards,