410 lines
7.5 KiB
Plaintext
410 lines
7.5 KiB
Plaintext
{
|
||
"Version":"6.8.5.0",
|
||
"Title":"1b.双层表头",
|
||
"Author":"锐浪报表软件",
|
||
"Description":"演示双层表头报表: Grid++Report 的明细网格标题行可以定义任意多层的级联关系。在设计器‘列标题布局...’界面中可以在设计时定义多层标头。通过IGRDetailGrid 与 IGRColumnTitleCell 的一些方法可以用编程的方式定义多层表头。",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Weight":400,
|
||
"Charset":134
|
||
},
|
||
"Printer":{
|
||
},
|
||
"DetailGrid":{
|
||
"CenterView":true,
|
||
"PrintAdaptMethod":"ToNewPage",
|
||
"Recordset":{
|
||
"ConnectionString":"Provider=Microsoft.Jet.OLEDB.4.0;\r\nUser ID=Admin;\r\nData Source=C:\\Grid++Report 6\\Samples\\Data\\Northwind.mdb",
|
||
"QuerySQL":"select * from Customers\r\norder by Region,City",
|
||
"Field":[
|
||
{
|
||
"Name":"CustomerID"
|
||
},
|
||
{
|
||
"Name":"CompanyName"
|
||
},
|
||
{
|
||
"Name":"ContactName"
|
||
},
|
||
{
|
||
"Name":"ContactTitle"
|
||
},
|
||
{
|
||
"Name":"Address"
|
||
},
|
||
{
|
||
"Name":"City"
|
||
},
|
||
{
|
||
"Name":"Region"
|
||
},
|
||
{
|
||
"Name":"PostalCode"
|
||
},
|
||
{
|
||
"Name":"Country"
|
||
},
|
||
{
|
||
"Name":"Phone"
|
||
},
|
||
{
|
||
"Name":"Fax"
|
||
}
|
||
]
|
||
},
|
||
"Column":[
|
||
{
|
||
"Name":"CustomerID",
|
||
"Width":2.38125
|
||
},
|
||
{
|
||
"Name":"CompanyName",
|
||
"Width":3.175
|
||
},
|
||
{
|
||
"Name":"ContactName",
|
||
"Width":1.5875
|
||
},
|
||
{
|
||
"Name":"ContactTitle",
|
||
"Width":1.5875
|
||
},
|
||
{
|
||
"Name":"Address",
|
||
"Width":3.175
|
||
},
|
||
{
|
||
"Name":"City",
|
||
"Width":1.5875
|
||
},
|
||
{
|
||
"Name":"Region",
|
||
"Width":1.98438
|
||
},
|
||
{
|
||
"Name":"PostalCode",
|
||
"Width":1.5875
|
||
},
|
||
{
|
||
"Name":"Country",
|
||
"Width":1.5875
|
||
},
|
||
{
|
||
"Name":"Phone",
|
||
"Width":2.98979
|
||
},
|
||
{
|
||
"Name":"Fax",
|
||
"Width":3.175
|
||
}
|
||
],
|
||
"ColumnContent":{
|
||
"Height":0.79375,
|
||
"ColumnContentCell":[
|
||
{
|
||
"Column":"CustomerID",
|
||
"DataField":"CustomerID"
|
||
},
|
||
{
|
||
"Column":"CompanyName",
|
||
"DataField":"CompanyName"
|
||
},
|
||
{
|
||
"Column":"ContactName",
|
||
"DataField":"ContactName"
|
||
},
|
||
{
|
||
"Column":"ContactTitle",
|
||
"DataField":"ContactTitle"
|
||
},
|
||
{
|
||
"Column":"Address",
|
||
"DataField":"Address"
|
||
},
|
||
{
|
||
"Column":"City",
|
||
"DataField":"City"
|
||
},
|
||
{
|
||
"Column":"Region",
|
||
"DataField":"Region"
|
||
},
|
||
{
|
||
"Column":"PostalCode",
|
||
"DataField":"PostalCode"
|
||
},
|
||
{
|
||
"Column":"Country",
|
||
"DataField":"Country"
|
||
},
|
||
{
|
||
"Column":"Phone",
|
||
"DataField":"Phone"
|
||
},
|
||
{
|
||
"Column":"Fax",
|
||
"DataField":"Fax"
|
||
}
|
||
]
|
||
},
|
||
"ColumnTitle":{
|
||
"BackColor":"C0C0C0",
|
||
"Height":1.37583,
|
||
"RepeatStyle":"OnPage",
|
||
"ColumnTitleCell":[
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"CustomerID",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"客户编号"
|
||
},
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"CompanyName",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"公司名称"
|
||
},
|
||
{
|
||
"GroupTitle":true,
|
||
"Name":"Column1",
|
||
"ColumnTitleCell":[
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"ContactName",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"姓名"
|
||
},
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"ContactTitle",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"称谓"
|
||
}
|
||
],
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"联系方法"
|
||
},
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"Phone",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"电话"
|
||
},
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"Fax",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"传真"
|
||
},
|
||
{
|
||
"GroupTitle":true,
|
||
"Name":"Column2",
|
||
"ColumnTitleCell":[
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"Country",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"国家"
|
||
},
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"City",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"城市"
|
||
},
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"Region",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"地区"
|
||
},
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"PostalCode",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"邮编"
|
||
},
|
||
{
|
||
"GroupTitle":false,
|
||
"Column":"Address",
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"地址"
|
||
}
|
||
],
|
||
"BackColor":"FFFFFF",
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":90000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"TextAlign":"MiddleCenter",
|
||
"Text":"位置信息"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"PageHeader":{
|
||
"Height":1.32292,
|
||
"Control":[
|
||
{
|
||
"Type":"MemoBox",
|
||
"Name":"MemoBox1",
|
||
"Anchor":"[Top|Right]",
|
||
"Left":2.19604,
|
||
"Top":0.396875,
|
||
"Width":13.7054,
|
||
"Height":0.47625,
|
||
"Font":{
|
||
"Name":"楷体",
|
||
"Size":120000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"Text":"欢迎访问Grid++Report网站www.rubylong.cn,了解最新产品信息。"
|
||
},
|
||
{
|
||
"Type":"Line",
|
||
"Name":"Line1",
|
||
"Anchor":"[Left|Top|Right]",
|
||
"Top":1.00542,
|
||
"Width":16.0073,
|
||
"Pen":{
|
||
"Width":2
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"PageFooter":{
|
||
"Height":1.32292,
|
||
"Control":[
|
||
{
|
||
"Type":"MemoBox",
|
||
"Name":"MemoBox2",
|
||
"Anchor":"[Top|Right]",
|
||
"Left":13.2027,
|
||
"Top":0.396875,
|
||
"Width":2.59292,
|
||
"Height":0.608542,
|
||
"Text":"第[#SystemVar(PageNumber)#]页 共[#SystemVar(PageCount)#]页"
|
||
},
|
||
{
|
||
"Type":"MemoBox",
|
||
"Name":"MemoBox3",
|
||
"Left":0.211667,
|
||
"Top":0.396875,
|
||
"Width":6.19125,
|
||
"Height":0.608542,
|
||
"Text":"打印时间:[#SystemVar(CurrentDateTime):yyyy年MM月dd日 HH:mm:ss#]"
|
||
}
|
||
]
|
||
},
|
||
"ReportHeader":[
|
||
{
|
||
"Height":1.19063,
|
||
"Control":[
|
||
{
|
||
"Type":"StaticBox",
|
||
"Name":"StaticBox1",
|
||
"Center":"Horizontal",
|
||
"Left":6.29708,
|
||
"Top":0.396875,
|
||
"Width":3.41313,
|
||
"Height":0.582083,
|
||
"Font":{
|
||
"Name":"宋体",
|
||
"Size":150000,
|
||
"Bold":true,
|
||
"Charset":134
|
||
},
|
||
"Text":"客户基本信息"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
} |