AddFootnoteCrossRef

adfoteCrossRef-srefTypeOParaTo

添加脚注交叉引用当前段 请注意此段必须在文档中

参数:

名称 类型 默认 描述性
srefType 注释RefTo

文本或数值引用注解插入

OPara spi段

脚注中第一段引用(必须在文档中引用)。

链接 布林安 真实性

指定引用是否插入为超链接

BAVEBELOU 布林安 虚伪

指定上下表示引用位置的词应包含

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0adText ("这只是样本文本.")oDocument.AddFootnote()!var aFootnotesFirstParagraphs = oDocument.GetFootnotesFirstParagraphs()!aFootnotesFirstParagraphs[0].AddText("Footnote 1")!odeptes = Api.CreatelementsodText (“更多前几句见注解”)oDocument.Push(oParagraph)!oParagraph.AddFootnoteCrossRef("formFootnoteNum", aFootnotesFirstParagraphs[0])!builder.SaveFile("docx", "AddFootnoteCrossRef.docx")!builder.CloseFile();

结果文档