1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
| {
| "Version":"6.8.5.0",
| "Title":"1p.文字缩小适应",
| "Author":"锐浪报表软件",
| "Description":"演示文字自动缩小适应输出区域。\r\n\r\n通过设定文字部件框的‘按需缩小字体’属性为‘是’,可以保证文字框显示文字都完整显示出来。\r\n\r\n注意:‘按需缩小字体’属性仅对报表打印生成有效。",
| "Font":{
| "Name":"宋体",
| "Size":90000,
| "Weight":400,
| "Charset":134
| },
| "Printer":{
| },
| "DetailGrid":{
| "Font":{
| "Name":"宋体",
| "Size":142500,
| "Weight":400,
| "Charset":134
| },
| "CenterView":true,
| "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 categories\r\n",
| "Field":[
| {
| "Name":"CategoryID",
| "Type":"Integer"
| },
| {
| "Name":"CategoryName"
| },
| {
| "Name":"Description"
| }
| ]
| },
| "Column":[
| {
| "Name":"CategoryID",
| "Width":2.98979
| },
| {
| "Name":"CategoryName",
| "Width":4.39208
| },
| {
| "Name":"Description",
| "Width":4.39208
| }
| ],
| "ColumnContent":{
| "Height":0.79375,
| "ColumnContentCell":[
| {
| "Column":"CategoryID",
| "TextAlign":"MiddleCenter",
| "DataField":"CategoryID"
| },
| {
| "Column":"CategoryName",
| "DataField":"CategoryName"
| },
| {
| "Column":"Description",
| "WordWrap":true,
| "ShrinkFontToFit":true,
| "DataField":"Description"
| }
| ]
| },
| "ColumnTitle":{
| "BackColor":"C0C0C0",
| "Height":0.79375,
| "RepeatStyle":"OnPage",
| "ColumnTitleCell":[
| {
| "GroupTitle":false,
| "Column":"CategoryID",
| "TextAlign":"MiddleCenter",
| "Text":"分类编号"
| },
| {
| "GroupTitle":false,
| "Column":"CategoryName",
| "TextAlign":"MiddleCenter",
| "Text":"分类名称"
| },
| {
| "GroupTitle":false,
| "Column":"Description",
| "Font":{
| "Name":"宋体",
| "Size":105000,
| "Weight":400,
| "Charset":134
| },
| "TextAlign":"MiddleCenter",
| "Text":"内容格按需缩小字体"
| }
| ]
| }
| },
| "PageHeader":{
| "Height":0.978958,
| "Control":[
| {
| "Type":"StaticBox",
| "Name":"StaticBox2",
| "Left":9.18104,
| "Top":0.185208,
| "Width":6.74688,
| "Height":0.555625,
| "Font":{
| "Name":"隶书",
| "Size":142500,
| "Bold":true,
| "Charset":134
| },
| "TextAlign":"MiddleRight",
| "Text":"北风公司销售管理系统报表"
| },
| {
| "Type":"Line",
| "Name":"Line1",
| "Top":0.79375,
| "Width":16.1925,
| "Pen":{
| "Width":2
| }
| }
| ]
| },
| "PageFooter":{
| "Height":0.582083,
| "Control":[
| {
| "Type":"MemoBox",
| "Name":"MemoBox1",
| "Left":6.58813,
| "Width":4.39208,
| "Height":0.396875,
| "TextAlign":"MiddleRight",
| "Text":"共[#SystemVar(PageCount)#]页 第[#SystemVar(PageNumber)#]页"
| }
| ]
| },
| "ReportHeader":[
| {
| "CanGrow":true,
| "Height":3.41313,
| "Font":{
| "Name":"宋体",
| "Size":142500,
| "Weight":400,
| "Charset":134
| },
| "Control":[
| {
| "Type":"MemoBox",
| "Name":"MemoBox2",
| "Center":"Horizontal",
| "Left":2.2225,
| "Top":1.00542,
| "Width":11.5888,
| "Height":1.19063,
| "ShrinkFontToFit":true,
| "WordWrap":true,
| "TextAlign":"TopLeft",
| "Text":"通过设定文字部件框的‘按需缩小字体’属性为‘是’,可以保证文字框所有显示文字都显示出来。\r\n注意:‘按需缩小字体’属性仅对报表打印生成有效。"
| },
| {
| "Type":"StaticBox",
| "Name":"StaticBox3",
| "Center":"Horizontal",
| "Left":2.19604,
| "Top":2.59292,
| "Width":11.6152,
| "Height":0.396875,
| "ShrinkFontToFit":true,
| "Text":"通过缩小字体将文字完整显示出来"
| },
| {
| "Type":"StaticBox",
| "Name":"StaticBox4",
| "Center":"Horizontal",
| "Left":3.73063,
| "Top":0.211667,
| "Width":8.54604,
| "Height":0.555625,
| "Font":{
| "Name":"宋体",
| "Size":142500,
| "Bold":true,
| "Charset":134
| },
| "Text":"进入预览视图体验按需缩小字体效果"
| }
| ]
| }
| ]
| }
|
|