1
This commit is contained in:
156
iMES.WebApi/wwwroot/Print-Designer/apis/example_10.json
Normal file
156
iMES.WebApi/wwwroot/Print-Designer/apis/example_10.json
Normal file
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"data": {
|
||||
"unit": "mm",
|
||||
"page": {
|
||||
"readonly": false,
|
||||
"width": 209.26,
|
||||
"height": 296.3,
|
||||
"pages": 1,
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"title": "",
|
||||
"background": "#ffffff",
|
||||
"backgroundImage": "",
|
||||
"backgroundRepeat": "full",
|
||||
"backgroundWidth": 0,
|
||||
"backgroundHeight": 0,
|
||||
"backgroundXOffset": 0,
|
||||
"backgroundYOffset": 0
|
||||
},
|
||||
"groups": [],
|
||||
"elements": [
|
||||
{
|
||||
"id": "rde_203",
|
||||
"type": "data-richtext",
|
||||
"unit": "mm",
|
||||
"props": {
|
||||
"x": 14.55,
|
||||
"y": 19.58,
|
||||
"width": 180.16,
|
||||
"alpha": 1,
|
||||
"bind": {
|
||||
"tag": "apis/richtext.json",
|
||||
"id": "4",
|
||||
"fields": [
|
||||
{
|
||||
"name": "片断2",
|
||||
"key": "p2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ename": "富文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rde_204",
|
||||
"type": "hod-header",
|
||||
"unit": "mm",
|
||||
"props": {
|
||||
"pinX": true,
|
||||
"pinY": true,
|
||||
"rows": [
|
||||
{
|
||||
"height": 10.58,
|
||||
"cols": [
|
||||
{
|
||||
"width": 209.26,
|
||||
"elements": [
|
||||
{
|
||||
"id": "rde_217",
|
||||
"type": "pager",
|
||||
"unit": "mm",
|
||||
"props": {
|
||||
"ext": {},
|
||||
"x": 152.38,
|
||||
"y": 1.06,
|
||||
"width": 52.91,
|
||||
"height": 8.2,
|
||||
"rotate": 0,
|
||||
"text": "当前第${currentPage}页,共${totalPage}页",
|
||||
"fontsize": 3.7,
|
||||
"fontfamily": "tahoma",
|
||||
"alpha": 1,
|
||||
"letterspacing": 0,
|
||||
"background": "",
|
||||
"forecolor": "#000000",
|
||||
"styleBold": false,
|
||||
"styleUnderline": false,
|
||||
"styleItalic": false,
|
||||
"styleStrike": false,
|
||||
"hpos": "flex-end",
|
||||
"vpos": "center",
|
||||
"ename": "页码器",
|
||||
"locked": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"borderRadius": "0% 0% 0% 0%/0% 0% 0% 0%",
|
||||
"borderLeftStyle": "dashed",
|
||||
"borderLeftWidth": 0,
|
||||
"borderLeftColor": "#cccccc",
|
||||
"borderTopStyle": "dashed",
|
||||
"borderTopWidth": 0,
|
||||
"borderTopColor": "#cccccc",
|
||||
"borderRightStyle": "dashed",
|
||||
"borderRightWidth": 0,
|
||||
"borderRightColor": "#cccccc",
|
||||
"borderBottomStyle": "dashed",
|
||||
"borderBottomWidth": 0.26,
|
||||
"borderBottomColor": "#cccccc"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 209.26,
|
||||
"height": 10.58,
|
||||
"alpha": 1,
|
||||
"ename": "页头",
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rde_205",
|
||||
"type": "hod-footer",
|
||||
"unit": "mm",
|
||||
"props": {
|
||||
"pinX": true,
|
||||
"pinY": true,
|
||||
"rows": [
|
||||
{
|
||||
"height": 21.96,
|
||||
"cols": [
|
||||
{
|
||||
"width": 209.26,
|
||||
"elements": [],
|
||||
"borderRadius": "0% 0% 0% 0%/0% 0% 0% 0%",
|
||||
"borderLeftStyle": "dashed",
|
||||
"borderLeftWidth": 0,
|
||||
"borderLeftColor": "#cccccc",
|
||||
"borderTopStyle": "dashed",
|
||||
"borderTopWidth": 0.26,
|
||||
"borderTopColor": "#cccccc",
|
||||
"borderRightStyle": "dashed",
|
||||
"borderRightWidth": 0,
|
||||
"borderRightColor": "#cccccc",
|
||||
"borderBottomStyle": "dashed",
|
||||
"borderBottomWidth": 0,
|
||||
"borderBottomColor": "#cccccc"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"x": 0,
|
||||
"y": 274.3362962962963,
|
||||
"width": 209.26,
|
||||
"height": 21.96,
|
||||
"alpha": 1,
|
||||
"ename": "页脚",
|
||||
"locked": false
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"success": true
|
||||
}
|
||||
Reference in New Issue
Block a user