BIRT设计器-如何添加/生成目录(TOC)?
【腾讯云】亏本大甩卖,服务器4核16G 1年370元(带宽12M,系统盘120GB SSD盘,月流量2000GB)!!!!!!
云产品 配置 价格
服务器 1核2G,带宽5M,系统盘50GB SSD盘,月流量500GB 38元/年
MySQL 1核1G 19元/年
服务器 16核32G,带宽18M,系统盘250GB SSD盘,月流量5000GB 1197元/年
点我进入腾讯云,查看更多详情

I'm using BIRT Designer v3.7 and am generating reports in PDF and MS Word formats.

I would like to add a Table of Contents report item to my report.

I presume that I need to add TOC entries as my datasets are populated, but I have no idea how to do this.

Any ideas/assistance would be most welcome.

#0

Table of Contents entries are generated from Report items that appear in the report output, such as Labels, Grids, Lists, Tables and so on. So the entries are not directly generated as the datasets are populated, but entries can be set up against data items that are displayed in reports by specifying a TOC entry against where the data item appears in the report.

To set up a TOC entry:

  • Select the report item in the report layout (by clicking on it with the mouse).
  • In the Property Editor's Property tab, select the Table of Contents entry and press the fx button to the right of the Table of Contents entry, to invoke the Expression Builder.
  • You can then use the Expression Builder dialog to specify the entry to be displayed on the TOC. Press the OK button at the bottom of the Expression Builder dialog when this is entered to your satisfaction.
  • When the TOC entries are set up as required, save the report and view the report output in the Web Viewer (by selecting Run > View Report > In Web Viewer from the menu) to see the new entries. (You may need to toggle the TOC display on in the web viewer.)

So for example, if you wanted to include a TOC entry as Summary Graph for a graph to be displayed at the end of the report, then select the graph in the design Layout view and enter the Table of Contents entry in the Property Editor's Property tab as "Summary Graph". (Literal text needs to be included within double quotes.)

When a report contains groups, TOC entries should be generated for those group values automatically.

推荐文章

javascript – SyntaxError:missing)在fire bug中的参数列表之后

javascript – SyntaxError:missing)在fire bug中的参数列表之后

推荐文章

Asp.net中Eval用法的總結

Asp.net中Eval用法的總結

推荐文章

30 面向编程

30 面向编程

推荐文章

V5shop 8.2版本下通杀注入漏洞

V5shop 8.2版本下通杀注入漏洞

推荐文章

.NET 发送邮件

.NET 发送邮件

推荐文章

css3 弹性盒模型 box-flex

css3 弹性盒模型 box-flex

推荐文章

css3 弹性盒模型 box-pack

css3 弹性盒模型 box-pack

推荐文章

SQL Server 2005混合模式登录配置

SQL Server 2005混合模式登录配置

推荐文章

Ext.data.JsonStore的使用

Ext.data.JsonStore的使用

推荐文章

REST是否适用于大型3NF机型

REST是否适用于大型3NF机型

推荐文章

在DNN中创建子菜单标题

在DNN中创建子菜单标题

推荐文章

怎样做网站,需要考虑的几个seo因素

怎样做网站,需要考虑的几个seo因素

推荐文章

在SQL Server分析服务中处理大型结果集

在SQL Server分析服务中处理大型结果集

推荐文章

如何将搜索功能添加到我的应用程序

如何将搜索功能添加到我的应用程序

推荐文章

css3 弹性盒模型 box-orient

css3 弹性盒模型 box-orient

推荐文章

使用构建脚本和持续集成的原因是什么?

使用构建脚本和持续集成的原因是什么?