合并表中的两个单元格 [英] merge two cells in a table

查看:107
本文介绍了合并表中的两个单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我已经创建了表格的行和列,但是无法合并表格中的两个单元格.任何人都可以告诉我一种合并两个单元格的方法.在Apache POI中使用XWPF类
.

任何答案都将不胜感激..

谢谢,
Andavar.P

Dear All,

I have created table rows and columns but am unable to merge two cells in a table. Anyone can tell me a way to merge two cells.Am using XWPF class in Apache POI
.

Any answer could be appreciated..

Thanks,
Andavar.P

推荐答案

解决方案适用于excel文件.
他询问了有关XWPF的工作包.

我也很想解决方案.
所有人都被告知不支持此操作,您需要操作XML.
XML样式示例
无法真正理解此示例,但人们说它会有所帮助
Solution is for an excel file.
he asked about the XWPF which is the work package.

i would love a solution also.
all iv''e been told is that this is not supported and you need to manipulate the XML.
XML style example
couldn''t really understand this example but people say it helps


Apache POI项目-HSSF和XSSF功能繁忙的开发人员指南-合并的单元格 [ ^ ]

您应该已经在该网站上添加了书签.
The Apache POI Project - Busy Developers'' Guide to HSSF and XSSF Features - Merged Cells[^]

You should have bookmarked that website by now.


这篇关于合并表中的两个单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆