From 5b12ae51e0f42a1f17e81afa5385f3df57ea8810 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 08 七月 2022 15:06:26 +0800
Subject: [PATCH] 1.打印测试
---
public/static/grf/simple.grf | 135 +++++++++++----------------------------------
1 files changed, 33 insertions(+), 102 deletions(-)
diff --git a/public/static/grf/1j.grf b/public/static/grf/simple.grf
similarity index 62%
rename from public/static/grf/1j.grf
rename to public/static/grf/simple.grf
index 9a74e7e..2f9bc89 100644
--- a/public/static/grf/1j.grf
+++ b/public/static/grf/simple.grf
@@ -1,10 +1,8 @@
锘縶
- "Version":"6.8.5.0",
- "Title":"1j.鍒囧垎绾稿紶",
+ "Version":"6.6.8.1",
+ "Title":"1a.绠�鍗曡〃鏍�",
"Author":"閿愭氮鎶ヨ〃杞欢",
- "Description":"婕旂ず鍒囧垎绾稿紶鎵撳嵃鎶ヨ〃锛氶�氳繃瀹氭姤琛ㄧ殑鈥橀〉鍒嗗壊鏁�(PageDevideCount)鈥欏睘鎬у畾涔夊垏鍒嗙焊寮犳墦鍗般��",
- "PageDivideCount":2,
- "PageDivideLine":true,
+ "Description":"婕旂ず涓�涓渶鍩烘湰鐨勫垪琛ㄦ姤琛ㄣ��",
"Font":{
"Name":"瀹嬩綋",
"Size":90000,
@@ -19,8 +17,8 @@
"CenterView":true,
"PrintAdaptMethod":"ResizeToFit",
"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",
+ "ConnectionString":"xml",
+ "QuerySQL":"simple_json.txt",
"Field":[
{
"Name":"CustomerID"
@@ -60,7 +58,7 @@
"Column":[
{
"Name":"CustomerID",
- "Width":1.77271
+ "Width":2.38125
},
{
"Name":"CompanyName",
@@ -71,24 +69,20 @@
"Width":1.5875
},
{
- "Name":"ContactTitle",
- "Width":1.98438
- },
- {
- "Name":"Address",
- "Width":3.175
- },
- {
- "Name":"City",
- "Width":1.5875
+ "Name":"Phone",
+ "Width":2.98979
},
{
"Name":"Region",
"Width":1.98438
},
{
- "Name":"Phone",
- "Width":2.98979
+ "Name":"City",
+ "Width":1.5875
+ },
+ {
+ "Name":"Address",
+ "Width":3.175
}
],
"ColumnContent":{
@@ -107,24 +101,20 @@
"DataField":"ContactName"
},
{
- "Column":"ContactTitle",
- "DataField":"ContactTitle"
- },
- {
- "Column":"Address",
- "DataField":"Address"
- },
- {
- "Column":"City",
- "DataField":"City"
+ "Column":"Phone",
+ "DataField":"Phone"
},
{
"Column":"Region",
"DataField":"Region"
},
{
- "Column":"Phone",
- "DataField":"Phone"
+ "Column":"City",
+ "DataField":"City"
+ },
+ {
+ "Column":"Address",
+ "DataField":"Address"
}
]
},
@@ -159,21 +149,9 @@
},
{
"GroupTitle":false,
- "Column":"ContactTitle",
+ "Column":"Phone",
"BackColor":"FFFFFF",
- "Text":"绉拌皳"
- },
- {
- "GroupTitle":false,
- "Column":"Address",
- "BackColor":"FFFFFF",
- "Text":"鍦板潃"
- },
- {
- "GroupTitle":false,
- "Column":"City",
- "BackColor":"FFFFFF",
- "Text":"鍩庡競"
+ "Text":"鐢佃瘽"
},
{
"GroupTitle":false,
@@ -183,65 +161,18 @@
},
{
"GroupTitle":false,
- "Column":"Phone",
+ "Column":"City",
"BackColor":"FFFFFF",
- "Text":"鐢佃瘽"
+ "Text":"鍩庡競"
+ },
+ {
+ "GroupTitle":false,
+ "Column":"Address",
+ "BackColor":"FFFFFF",
+ "Text":"鍦板潃"
}
]
}
- },
- "PageHeader":{
- "Height":1.32292,
- "Control":[
- {
- "Type":"MemoBox",
- "Name":"MemoBox1",
- "Anchor":"[Right]",
- "Top":0.396875,
- "Width":16.0073,
- "Height":0.47625,
- "Font":{
- "Name":"妤蜂綋",
- "Size":120000,
- "Bold":true,
- "Charset":134
- },
- "Text":"娆㈣繋璁块棶Grid++Report缃戠珯www.rubylong.cn锛屼簡瑙f渶鏂颁骇鍝佷俊鎭��"
- },
- {
- "Type":"Line",
- "Name":"Line1",
- "Top":1.00542,
- "Width":16.0073,
- "Pen":{
- "Width":2
- }
- }
- ]
- },
- "PageFooter":{
- "Height":1.32292,
- "Control":[
- {
- "Type":"MemoBox",
- "Name":"MemoBox2",
- "Anchor":"[Top|Right]",
- "Left":6.24417,
- "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骞碝M鏈坉d鏃� HH:mm:ss#]"
- }
- ]
},
"ReportHeader":[
{
@@ -251,7 +182,7 @@
"Type":"StaticBox",
"Name":"StaticBox1",
"Center":"Horizontal",
- "Left":7.43479,
+ "Left":6.74688,
"Top":0.185208,
"Width":3.41313,
"Height":0.582083,
--
Gitblit v1.9.3