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

Free Support Forum - aspose.com

How to add FootNotes

Hi,

I need to add footNotes to my docx document from my iReport template.
How can i do that ?

Thank you in advance

Hi Jerome,

Thanks for your inquiry. With Aspose.Words for JasperReports you can not insert footnotes into exported Word document. Aspose.Words for JasperReports provides following additional export formats:

DOC – Word document via Aspose.Words
DOCX – Office Open XML (OOXML) document via Aspose.Words
RTF – Rich Text Format via Aspose.Words
ODT – OpenDocument Text via Aspose.Words
HTML – Web page via Aspose.Words
TXT – Plain text via Aspose.Words

Please read product and features overview from here:
https://docs.aspose.com/words/jasperreports/product-overview/
https://docs.aspose.com/words/jasperreports/feature-overview/

However, you can use Aspose.Words for Java/.NET to insert footnotes into exported Word document. Please check the following code example to insert footnotes in Word document using Aspose.Words for Java.

Document doc = new Document(MyDir + "in.docx");
DocumentBuilder builder = new DocumentBuilder(doc);
builder.moveTo(doc.getFirstSection().getBody().getFirstParagraph());
builder.insertFootnote(FootnoteType.FOOTNOTE, "Footnote text.");
doc.save(MyDir + "Out.docx", SaveFormat.DOCX);