Footnote

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

从脚注返回的信息。可以包括以下关键字:

  • All(默认值)

  • 一个或多个下列关键字的组合:TitleDescription (Desc)AuthorDateCategory

可以按首选输出顺序来排列 Attributes 关键字。用和号 (&) 分隔每个属性。

Reference

指示将返回哪些注释的关键字,其中:

  • All(默认值)- 初始注释和全部回复。

  • Top <n> - 初始注释和前几个回复。(初始注释始终显示,数目不包括初始注释。)

  • Bottom - 初始注释和在 Bottom <n> 中指定的最后几个回复。(初始注释始终显示,数目不包括初始注释。)

  • BottomOnly <n> - 最后几个回复。除非回复数小于 BottomOnly <n> 数目,否则不会显示初始注释。例如,对于有 5 个回复的注释,BottomOnly 5 不显示初始注释;但对于有 4 个回复的注释,将显示初始注释。

  • First - 仅限初始注释。

  • Replies - 除初始注释外的所有回复。

Attachments

指出是否应随脚注打印任何附件的布尔值 (True/False)。

  • 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)>>