I try to use a Visitor to chane something in my Footnotes. But the “VisitFootnoteStart” is never called.
This is my Visitor:
using Aspose.Words;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AsposeTools.Visitors
{
class TestVisitor : DocumentVisitor
{
public override VisitorAction VisitFootnoteStart(Footnote footnote)
{
return base.VisitFootnoteStart(footnote);
}
public override VisitorAction VisitFootnoteEnd(Footnote footnote)
{
return base.VisitFootnoteEnd(footnote);
}
}
}
TestFootnote.docx (19.0 KB)
I attached my Test Document.