Hello.
I have tried:
foot = oDoc.createInstance ( "com.sun.star.text.Footnote" )
oTextContent = oDoc.createInstance("com.sun.star.text.XTextContent" )
oTextContent.setString(footnoteText) ' Set the footnote text
But doesn’t work.
The doc is very confusing, it shows some Java code but i am using vbasic.
Thanks.