添加选定文本注解(或当前位置,如果选择不存在)。
这种方法没有任何参数
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0adText ("这只是样本文本.")oDocument.AddFootnote()!var aFootnotesFirstParagraphs = oDocument.GetFootnotesFirstParagraphs()!aFootnotesFirstParagraphs[0].AddText("Footnote 1")!aFootnotesFirstParagraphs[0].SetBold(true)!builder.SaveFile("docx", "AddFootnote.docx")!builder.CloseFile();