Files
iMES_Net/iMES.WebApi/wwwroot/Print-Designer/apis/example_1.json
2026-02-06 18:34:35 +08:00

477 lines
24 KiB
JSON

{
"data": {
"unit": "mm",
"page": {
"readonly": false,
"width": 209.26,
"height": 296.3,
"pages": 1,
"scaleType": "auto",
"copies": 1,
"xOffset": 0,
"yOffset": 0,
"title": "",
"background": "#ffffff",
"backgroundImage": "",
"preformat": false,
"backgroundRepeat": "full",
"backgroundWidth": 0,
"backgroundHeight": 0,
"backgroundXOffset": 0,
"backgroundYOffset": 0
},
"groups": [],
"elements": [
{
"id": "rde_279",
"type": "data-dtable",
"unit": "mm",
"props": {
"rows": [
{
"cols": [
{
"height": 7.94,
"width": 94.77,
"rowspan": 1,
"colspan": 3,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "center",
"vpos": "center",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": true,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": false,
"textContent": "在打印页面,该表格会在同一纸张多栏排版",
"textFormat": "",
"elements": []
}
]
},
{
"label": true,
"cols": [
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "姓名",
"textFormat": "",
"elements": []
},
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "性别",
"textFormat": "",
"elements": []
},
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "地址",
"textFormat": "",
"elements": []
}
]
},
{
"data": true,
"cols": [
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": "",
"bindKey": "name",
"bindName": "姓名"
},
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": "",
"bindKey": "gender",
"bindName": "性别"
},
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": "",
"bindKey": "addr",
"bindName": "地址"
}
]
},
{
"total": true,
"cols": [
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": ""
},
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": ""
},
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": ""
}
]
},
{
"cols": [
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": "",
"elements": []
},
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": "",
"elements": []
},
{
"height": 7.94,
"width": 31.59,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 1.32,
"paddingTop": 1.32,
"paddingRight": 1.32,
"paddingBottom": 1.32,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 3.7,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textAutoHeight": true,
"textContent": "",
"textFormat": "",
"elements": []
}
]
}
],
"bind": {
"tag": "apis/person.json",
"id": "3"
},
"x": 6.83,
"y": 15.62,
"width": 95.03,
"height": 63.76,
"alpha": 1,
"borderwidth": 0.26,
"bordertype": "solid",
"bordercolor": "#000",
"borderdeed": "collapse",
"tfootSpacing": 7.94,
"headFirst": true,
"footLast": true,
"hideHead": false,
"hideLabel": false,
"eachPageLabel": true,
"hideTotal": false,
"hideFoot": false,
"dynamicCols": true,
"avgDynamicColsWidth": "percent",
"columnsPrint": true,
"hspace": 5.29,
"ename": "数据表格",
"locked": false
}
}
]
},
"success": true
}