摘要: 1.合并列 table.Rows[1].MergeCells(1, 3);//合并列 XWPFTableCell cell = table.GetRow(1).GetCell(4); CT_Tc cttc = cell.GetCTTc(); CT_TcPr ctPr = cttc.AddNewTcP 阅读全文
posted @ 2018-03-27 16:33 yangcw1981 阅读(433) 评论(0) 推荐(0) 编辑
摘要: NPOI创建DOCX常用操作 1、 创建文档 XWPFDocument m_Docx = new XWPFDocument(); 2、 页面设置 //1‘=1440twip=25.4mm=72pt(磅point)=96px(像素pixel) //1px(像素pixel)=0.75pt(磅point) 阅读全文
posted @ 2018-03-27 15:58 yangcw1981 阅读(590) 评论(0) 推荐(0) 编辑