We are evaluating Aspose Total for Java. We almost achieved what is required.
One issue is, how can we display the table contents generated from Aspose Word in RTL direction?
Attached the sample document for your reference.
Please provide any supporting code, API or links related to it.
Kindly do the needful.
Thanks for your inquiry. Please use ParagraphFormat.Alignment property to set text alignment for the paragraph and use ParagraphFormat.Bidi property to get or set whether this is a right-to-left paragraph.
Please check following code example for your kind reference. Hope this helps you.
Document doc = new Document(MyDir + "in.docx");
Paragraph para = (Paragraph)doc.getChild(NodeType.PARAGRAPH, 0, true);
doc.save(MyDir + "Out.docx");
Thanks for response.
The same thing how can I achieve for “Table of Contents”, which inserted using
Thanks in advance.
Thanks for your inquiry. Please manually create your expected Word document using Microsoft Word and attach it here for our reference. We will investigate how you want your final Word output be generated like. We will then provide you more information on this along with code.