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

Free Support Forum - aspose.com

Footnote

Hi Aspose,

is possibile to insert footnote with reference '*' between two words? for example : first_word footnote_reference* second_word.

Thanks

Hello

Thanks for your request. Please try using the following code:

Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);

builder.Write("Some text");

builder.InsertFootnote(FootnoteType.Footnote, "Footnote text.");

builder.Write("Some text2");

builder.InsertFootnote(FootnoteType.Footnote, "Footnote text2.");

doc.Save("C:\\Temp\\out.doc");

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.documentbuilder.insertfootnote.html

If it does not help, could you please attach expected document here for testing.

Best regards,

Hi Andrey,

I must to replace text (*) with footnote after a command builder.insertHtml("

text (*)

")
Thanks

Hello

Thanks for your inquiry. I think in your case you can try using IReplacingCallback. Please see the following link for more information:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.ireplacingcallback.html

Please let me know in case of any issues. I will be glad to help you.

Best regards,