Footnote
文本函数仅用在文本对象中,可返回所请求的与给定报表对象内的脚注相关的信息。Footnote
将打印任何出现在指定对象中的脚注的相关信息;或者,如果将第一个参数设置为 "all",则打印在报表中的所有对象中出现的脚注的相关信息。引用网格时,将打印网格上的所有脚注。首先打印局部 POV 脚注,然后打印任何完整 POV 脚注。完整 POV 脚注将根据单元格的位置按照从左上角到右下角的顺序打印,并且将逐页打印。支持一种以上语法。
语法:
Footnote("ObjectName, Attributes, Reference, Attachments")
Footnote("ObjectName")
Footnote("ObjectName", Attributes)
Footnote("ObjectName", Attributes, Reference)
Footnote("ObjectName", Attributes, Attachments)
参数 | 说明 |
---|---|
ObjectName |
包含脚注的报表对象的名称。如果使用 "all",则该函数返回报表中所有对象的所有可用脚注。在重命名网格对象时,将更新 ObjectName 参数。 |
Attributes |
从脚注返回的信息。可以包括以下关键字:
可以按首选输出顺序来排列 Attributes 关键字。用和号 (&) 分隔每个属性。 |
Reference |
指示将返回哪些注释的关键字,其中:
|
Attachments |
指出是否应随脚注打印任何附件的布尔值 (True/False)。
|
示例:
<<Footnote("Grid1", All, All, true)>>
<<Footnote(All, All, All, true)>>
<<Footnote(All, All, Bottom 2, true)>>
<<Footnote(All, All, BottomOnly 20, true)>>
<<Footnote(All, All, First, true)>>
<<Footnote(All, All, Replies, true)>>
<<Footnote("Grid1", Title & Description & Author & Date & Category, All, true)>>
<<Footnote("Text1", Title & Description & Date & Category, Top 10, false)>>
<<Footnote("Image1", Title & Description & Author, Bottom 4, false)>>
<<Footnote("Text1", Title&Description&Author, BottomOnly 12)>>
<<Footnote("Image1", Title&Description&Author, First)>>
<<Footnote("Grid2", Title&Description&Author, Replies)>>
<<Footnote("Grid Name")>>
<<Footnote(all, All)>>
<<Footnote(cur, Description)>>
<<Footnote(cur, title & Description, true)>>
<<Footnote(cur, title & Author & Description, false)>>
<<Footnote("folder1\folder 2\Grid1", title & Description&Category, Top20)>>
<<Footnote("folder1\folder 2\Grid1", title & Description&Category, Bottom 2)>>
<<Footnote("folder1\folder 2\Chart2", title & Description, Top 20, False)>>
<<Footnote("current", title & Description, All)>>
<<Footnote("current", title & Description, first)>>
<<Footnote(All, Title&Description&author, Top 40, true)>>