学习C#开源报表组件Seal Report(40:Seal Report Designer界面布局-36)

  Seal Report Designer软件左侧面板的Outputs节点下支持创建将报表文件输出到文件服务器的子节点,同时还可以根据实际需要在Seal Server Manager软件中新建File Server Output Device类输出类型配置文件,新建的配置文件保存到Seal Report Repository\Devices\FileServer文件夹之内,再打开Seal Report Designer软件,就会在Output节点的右键菜单中看到新建的输出类型。

  以创建Add Output for FTP Device(File Server)为例,该输出类型将指定格式的报表文件输出到指定的FTP服务器。FTP服务器的连接配置如下面左侧截图所示,主要包括连接协议、服务器地址、端口、用户名、密码、上传目录等属性,本文中不再详细介绍。Add Output for FTP Device(File Server)节点的属性如下面右侧截图所示:

  Output device属性:记录当前输出方式类型,不可修改。

  View name属性:配置输出报表使用的视图,从Views节点内选择;

  Cancel generation if no records属性:如果视图数据源的查询结果为空则不输出报表;

  Pre-generation script属性:维护输出报表前执行的Razor脚本,如果脚本返回值为0,则取消输出报表;

  Post-generation script属性:维护输出报表后执行的Razor脚本;

  Custom view parameters属性:维护视图属性,其中Report format属性可以设置报表输出格式;

  Folder path属性:设置报表输出路径;

  File name属性:设置报表输出名称,支持添加%SEALREPORTDISPLAYNAME% 、日期等关键词格式化输出名称;

  Zip result属性:值为True,则将报表输出为压缩文件;

  Zip password属性:设置压缩文件密码;

  Use Custom restrictions属性:值为True,则输出报表时支持自定义筛选;

  Custom restrictions属性:设置自定义筛选条件;

  User name属性:值不为空,则以指定用户的安全上下文输出报表;

  User group属性:值不为空,则以指定用户组的安全上下文输出报表;

  Culture属性:设置输出报表时所使用的区域性(Culture);

  Public execution属性:针对Web报表服务器,值为True,所有具有报表执行权限的用户都可以执行报表输出操作,值为False,则只有所有者(user owner)才能执行报表输出操作;

  Public edit属性:针对Web报表服务器,值为True,所有具有调度权限的用户都可以修改输出配置及调度计划,值为False,则只有所有者(user owner)才能修改。

参考文献:

1https://github.com/ariacom/Seal-Report

2https://sealreport.org/

3https://sealreport.org/demo

4https://sealreport.org/forum/

5https://github.com/ariacom/Seal-Report/releases

6https://www.cnblogs.com/Leo_wl/p/7716582.html

7https://sealreport.org/Help/html/26c7ae63-9b83-dc1d-b5d0-00a18021be41.htm

8https://sealreport.org/Reports

相关推荐
gc_22991 天前
学习C#开源报表组件Seal Report(38:Seal Report Designer界面布局-34)
seal report
gc_229916 天前
学习C#开源报表组件Seal Report(37:Seal Report Designer界面布局-33)
seal report
gc_229919 天前
学习C#开源报表组件Seal Report(33:Seal Report Designer界面布局-29)
seal report
gc_22991 个月前
学习C#开源报表组件Seal Report(30:Seal Report Designer界面布局-26)
seal report
gc_22991 个月前
学习C#开源报表组件Seal Report(28:Seal Report Designer界面布局-24)
seal report
gc_22991 个月前
学习C#开源报表组件Seal Report(26:Seal Report Designer界面布局-22)
seal report
gc_22992 个月前
学习C#开源报表组件Seal Report(24:Seal Report Designer界面布局-20)
seal report
gc_22992 个月前
学习C#开源报表组件Seal Report(23:Seal Report Designer界面布局-19)
seal report
gc_22992 个月前
学习C#开源报表组件Seal Report(20:Seal Report Designer界面布局-16)
seal report