<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[mswsf的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/mswsf</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; mswsf]]></copyright><item><title><![CDATA[卸载 notepad++]]></title><link>https://blog.youkuaiyun.com/mswsf/article/details/128812026</link><guid>https://blog.youkuaiyun.com/mswsf/article/details/128812026</guid><author>mswsf</author><pubDate>Tue, 31 Jan 2023 09:39:51 +0800</pubDate><description><![CDATA[卸载 notepad++
]]></description><category></category></item><item><title><![CDATA[NPOI  replace 操作]]></title><link>https://blog.youkuaiyun.com/mswsf/article/details/104545595</link><guid>https://blog.youkuaiyun.com/mswsf/article/details/104545595</guid><author>mswsf</author><pubDate>Thu, 27 Feb 2020 21:31:53 +0800</pubDate><description><![CDATA[NPOI replace操作



public void ReplaceValueByKey(XWPFDocument doc, string strWillReplace, string strNew)
    {
      var paragraphArray = doc.Paragraphs.Where(it =&gt; it.Text.Trim() != ""...]]></description><category></category></item><item><title><![CDATA[NPOI 模板表格插入多行文字]]></title><link>https://blog.youkuaiyun.com/mswsf/article/details/104540264</link><guid>https://blog.youkuaiyun.com/mswsf/article/details/104540264</guid><author>mswsf</author><pubDate>Thu, 27 Feb 2020 17:17:34 +0800</pubDate><description><![CDATA[表格插入多行文字



private void SetCellTextMuilt&lt;T&gt;(XWPFTable table, int iRow, int iCol, T[] setText, int ifontsize = 10,
      ParagraphAlignment pcellAli = ParagraphAlignment.LEFT)
    {
...]]></description><category></category></item><item><title><![CDATA[NPOI word 页眉 页脚]]></title><link>https://blog.youkuaiyun.com/mswsf/article/details/104524479</link><guid>https://blog.youkuaiyun.com/mswsf/article/details/104524479</guid><author>mswsf</author><pubDate>Wed, 26 Feb 2020 20:43:53 +0800</pubDate><description><![CDATA[using NPOI.OpenXmlFormats.Wordprocessing;
using NPOI.XWPF.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks...]]></description><category></category></item><item><title><![CDATA[NPOI Word 读取表格中指定内容的问题]]></title><link>https://blog.youkuaiyun.com/mswsf/article/details/104449384</link><guid>https://blog.youkuaiyun.com/mswsf/article/details/104449384</guid><author>mswsf</author><pubDate>Sat, 22 Feb 2020 20:01:37 +0800</pubDate><description><![CDATA[NPOI

用table.GetRow(iRow).GetCell(iCol).GetText()；

获取表格中的内容，原内容的分段的，但是读取出来后，就会连续显示。

其二如如果原内容的用word的格式编号时，编号不会显示。

那位清楚呢？
...]]></description><category></category></item><item><title><![CDATA[NPOI Word 原有表格增加一行]]></title><link>https://blog.youkuaiyun.com/mswsf/article/details/104449320</link><guid>https://blog.youkuaiyun.com/mswsf/article/details/104449320</guid><author>mswsf</author><pubDate>Sat, 22 Feb 2020 19:56:35 +0800</pubDate><description><![CDATA[NPOI 2.4.1



XWPFTable xTable0 = m_Docx.Tables[x]; 
     
 XWPFTableRow ntr = xTable0.GetRow(6); //获得要复制的表格
 xTable0.AddRow(ntr); //添加上去

xTable0.AddRow(ntr，ipos); //添加到指定位置
...]]></description><category></category></item><item><title><![CDATA[ASCII中LF与CR区别？]]></title><link>https://blog.youkuaiyun.com/mswsf/article/details/80250073</link><guid>https://blog.youkuaiyun.com/mswsf/article/details/80250073</guid><author>mswsf</author><pubDate>Wed, 09 May 2018 10:33:26 +0800</pubDate><description><![CDATA[CR ='\r'=0x0D 回车LF='\n'=0x0A 换行在文本处理中, CR, LF, CR/LF是不同操作系统上使用的换行符.Dos和windows采用回车+换行CR/LF表示下一行, 而UNIX/Linux采用换行符LF表示下一行，苹果机(MAC OS系统)则采用回车符CR表示下一行.CR用符号'\r'表示, 十进制ASCII代码是13, 十六进制代码为0x0D; LF使用'\n'符号表...]]></description><category></category></item></channel></rss>