Footnotes changing with oleautomation ??

I have a Delphi 4 program with some datadases. When you push a button Word
starts and my records are inserted in a document. I use oleautomation for
this and this works fine. My problem is that I can't find how I can add or
change a footnote for this document using Delphi. Does anyone know a little
sample code or know if its posible or not?