1. json坐标文件内容如下{
        "code": 200,
        "data": {
            "prism_tablesInfo": [
                {
                    "tableId": 0,
                    "xCellSize": 4,
                    "yCellSize": 7,
                    "cellInfos": [
                        {
                            "tableCellId": 0,
                            "word": "案由",
                            "xsc": 2,
                            "xec": 2,
                            "ysc": 0,
                            "yec": 0,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 1,
                            "word": "机动车交通事故责任纠纷",
                            "xsc": 3,
                            "xec": 3,
                            "ysc": 0,
                            "yec": 0,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 2,
                            "word": "案件来源",
                            "xsc": 0,
                            "xec": 0,
                            "ysc": 0,
                            "yec": 0,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 3,
                            "word": "新收",
                            "xsc": 1,
                            "xec": 1,
                            "ysc": 0,
                            "yec": 0,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 4,
                            "word": "tsetset斯蒂芬森的发生的发生的方式打发似的发生的发",
                            "xsc": 1,
                            "xec": 3,
                            "ysc": 1,
                            "yec": 1,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 5,
                            "word": "当事人信息",
                            "xsc": 0,
                            "xec": 0,
                            "ysc": 1,
                            "yec": 1,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 6,
                            "word": "起诉状或申请书;随案卷宗;证据材料;",
                            "xsc": 1,
                            "xec": 3,
                            "ysc": 2,
                            "yec": 2,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 7,
                            "word": "移送材料",
                            "xsc": 0,
                            "xec": 0,
                            "ysc": 2,
                            "yec": 2,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 8,
                            "word": "陶芬",
                            "xsc": 3,
                            "xec": 3,
                            "ysc": 3,
                            "yec": 3,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 9,
                            "word": "辛庄法庭",
                            "xsc": 1,
                            "xec": 1,
                            "ysc": 3,
                            "yec": 3,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 10,
                            "word": "承办人",
                            "xsc": 2,
                            "xec": 2,
                            "ysc": 3,
                            "yec": 3,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 11,
                            "word": "移送审判庭",
                            "xsc": 0,
                            "xec": 0,
                            "ysc": 3,
                            "yec": 3,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 12,
                            "word": "备注",
                            "xsc": 0,
                            "xec": 0,
                            "ysc": 4,
                            "yec": 4,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 13,
                            "word": "",
                            "xsc": 1,
                            "xec": 3,
                            "ysc": 4,
                            "yec": 4,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 14,
                            "word": "2016-02-23",
                            "xsc": 3,
                            "xec": 3,
                            "ysc": 5,
                            "yec": 5,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 15,
                            "word": "移送时间",
                            "xsc": 2,
                            "xec": 2,
                            "ysc": 5,
                            "yec": 5,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 16,
                            "word": "移送人",
                            "xsc": 0,
                            "xec": 0,
                            "ysc": 5,
                            "yec": 5,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 17,
                            "word": "顾玉",
                            "xsc": 1,
                            "xec": 1,
                            "ysc": 5,
                            "yec": 5,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 18,
                            "word": "接收时间",
                            "xsc": 2,
                            "xec": 2,
                            "ysc": 6,
                            "yec": 6,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 19,
                            "word": "",
                            "xsc": 3,
                            "xec": 3,
                            "ysc": 6,
                            "yec": 6,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 20,
                            "word": "",
                            "xsc": 1,
                            "xec": 1,
                            "ysc": 6,
                            "yec": 6,
                            "pos": [ 
                            ]
                        },
                        {
                            "tableCellId": 21,
                            "word": "接收人",
                            "xsc": 0,
                            "xec": 0,
                            "ysc": 6,
                            "yec": 6,
                            "pos": [ 
                            ]
                        }
                    ]
                }
            ],
            "angle": 0
        }
    }
  2. 生成的对应的表格如下图:json转表格html(可合并单元的情况)
  3. 上图中的右边的表格就是根据坐标json坐标值生成。具体代码包请到https://download.csdn.net/download/yinbaicheng/10574841下载
  4. 中间用到了jxl和poi还有json的转换。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2021-08-16
相关资源
相似解决方案