Files
XplorePlane/XP.ReportEngine/Templates/CncInspectionReportTemplate.json
T
2026-08-10 14:31:44 +08:00

29 lines
949 B
JSON

{
"document": {
"pageSize": "A4",
"orientation": "Portrait",
"margins": { "top": 40, "bottom": 20, "left": 20, "right": 20 }
},
"pages": [
{
"type": "homepage",
"elements": [
{ "type": "text", "content": "${hpOverallLine}", "positioning": "flow" },
{ "type": "text", "content": "${hpProgramLine}", "positioning": "flow" },
{ "type": "text", "content": "${hpSampleLine}", "positioning": "flow" }
]
},
{
"type": "nodeDetail",
"repeat": "nodeSections",
"elements": [
{ "type": "text", "content": "${nodeHeading}", "positioning": "flow" },
{ "type": "text", "content": "${nodeInfoText}", "positioning": "flow" },
{ "type": "text", "content": "${nodeResultLine}", "positioning": "flow" },
{ "type": "table", "dataKey": "nodeMetricsTable", "positioning": "flow", "size": [170, 0], "columns": [] }
]
}
],
"styles": {}
}