Main Content

本页采用了机器翻译。点击此处可查看英文原文。

Stop Report Generation

停止报告生成

描述

该组件在报告生成期间的作用类似于停止。您可以在 if/then 语句中使用此组件,通过使用逻辑和流控制组件,在指定条件为 true 时停止报告生成过程。当报告生成停止时,会创建一个 XML 源文件,但不会转换。

确认属性

  • 在停止生成前确认:在停止报告生成之前生成一个确认对话框。

  • 确认问题:指定提示的确认问题。默认值为 “Stop generating the report?”

  • "停止" 按钮名称:指定停止报告生成的按钮的名称。默认值为 “Halt Generation”

  • "继续" 按钮名称:指定继续生成报告的按钮的名称。默认值为 “Continue Generation”

示例

此示例创建了一个简单的报告,对当前图窗进行快照。如果没有当前数字,报告生成将自动停止:

[-] Report - figure-report.rpt
	[-] if (isempty(get(0,'CurrentFigure')))
		[ ] Stop Generation
	[-] Figure Loop - current
		[-] Chapter - <Title from SubComponent1>
			[ ] Figure Name
			[ ] Graphics Figure Snapshot
			[ ] Figure Prop Table - Figure Properties

是否在报告中插入内容?

否。

rptgen.crg_halt_gen