The invention discloses a method for extending and positioning a cell based on a non-linear report generation method, which belongs to the technical field of report making. In the prior art, the cell expansion method based on non-linear statements can not achieve accurate expansion positioning for some cells which can not apply the extended rules of the data area in the report. The method of the present invention adds a page extension property to a cell, which can control the cell to expand or not follow its expansion when the data cell expands. The cell expansion rule data area by the method of the invention can solve nonlinear statements and some statements cannot be applied to the header title in the location on the report and drawing, enhance the function of the system of nonlinear report.
【技术实现步骤摘要】
本专利技术属于报表制作
,具体涉及一种基于非线性报表生成方法 的单元格扩展定位方法。
技术介绍
报表是单位和部门运营管理指标的阶段性反映,是相关负责人监控业务 运行状况、进行决策的重要依据。随着信息系统的应用,计算机自动计算和 生成报表逐步取代了传统的手工统计方式,极大的提高了工作效率,增加了 准确程度。目前,用于制作报表的工具软件可分为两类 一类是以微软公司的Excel 为代表的静态报表制作工具,其特征是设计的报表是静态的,不会与数据库 中的数据联动而自动增加或减少行列数及改变其中的数据;另一类则是动态 报表制作工具,能够与数据库(主要是关系型数据库)关联,动态地从数据 库中获取数据并根据用户事先绘制好的报表模板和参数自动生成不同布局 (行、列等)和统计内容的报表。这样,计算方案相同的报表只需要设计一 次,可以极大地减少报表生成的工作量并提高工作效率。中国专利技术专利申请(公开日2007年8月22日,公开号CN101021839A ) 公开了一种非线性报表生成方法,该方法便是一种动态生成报表的方法,主 要包括以下步骤(1) 确定报表运算时需要用到的数据集 ...
【技术保护点】
一种基于非线性报表生成方法的单元格扩展定位方法,包括如下步骤: (1)在报表设计过程中,为单元格设置“分页时伸缩”属性,该属性有“是”和“否”两种状态,默认均为“否”,现将需要在扩展时拉伸的单元格的该属性设置为“是”,其他保持为“否” ; (2)按非线性报表运算规则扩展的过程中,对“分页时伸缩”属性为“是”的单元格进行拉伸,其他单元格保持相对其临近边缘的位置不变。
【技术特征摘要】
1.一种基于非线性报表生成方法的单元格扩展定位方法,包括如下步骤(1)在报表设计过程中,为单元格设置“分页时伸缩”属性,该属性有“是”和“否”两种状态,默认均为“否”,现将需要在扩展时拉伸的单元格的该属性设置为“是”,其他保持为“否”;(2)按非线性报表运算规则扩展的过程中,对“分页时伸缩”属性为“是”的单元格进行拉伸,其他单元格保持相对其临近边缘的位置不变。2. 如权利要求1所述的一种基于非线性报表生成方法的单元格扩...
【专利技术属性】
技术研发人员:蒋步星,
申请(专利权)人:北京润乾信息系统技术有限公司,
类型:发明
国别省市:11[中国|北京]
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。