• 大小: 5.08MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-23
  • 语言: 其他
  • 标签: word  OpenXML  

资源简介

OpenXML操作word,根据书签位置插入文字,图片,表格。VS2012源码。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DocumentFormat.Openxml;
using DocumentFormat.Openxml.Packaging;
using DocumentFormat.Openxml.Wordprocessing;

namespace OpenxmlWord
{
    /// 
    /// 书签数据
    /// 

    public class BookmarkData
    {
        /// 
        /// 书签名称
        /// 

        public string bookmarkName { get; set; }

        /// 
        /// 书签类型
        /// 

        public int bookmarkType { get; set; }

        /// 
        /// 设置书签内容
        /// 

        /// 
        public virtual void SetBookmarkData(MainDocumentPart mainDocumentPart)
        {

        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      18432  2018-11-12 14:19  OpenxmlWord\OpenxmlWord\bin\Debug\OpenxmlWord.dll

     文件      38400  2018-11-12 14:19  OpenxmlWord\OpenxmlWord\bin\Debug\OpenxmlWord.pdb

     文件       7261  2018-11-12 14:19  OpenxmlWord\OpenxmlWord\bin\Debug\OpenxmlWord.xml

     文件        825  2018-11-11 16:59  OpenxmlWord\OpenxmlWord\bookmarkData.cs

     文件       1530  2018-11-11 17:06  OpenxmlWord\OpenxmlWord\bookmarkData_Continuous.cs

     文件       7338  2018-11-12 14:19  OpenxmlWord\OpenxmlWord\bookmarkData_Image.cs

     文件       7925  2018-11-12 14:16  OpenxmlWord\OpenxmlWord\bookmarkData_Table.cs

     文件       8298  2018-11-12 11:20  OpenxmlWord\OpenxmlWord\bookmarkData_Text.cs

     文件       1421  2018-11-11 17:00  OpenxmlWord\OpenxmlWord\bookmarkWrite.cs

     文件        728  2018-11-11 17:01  OpenxmlWord\OpenxmlWord\enumType.cs

     文件       6633  2018-11-11 17:04  OpenxmlWord\OpenxmlWord\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        899  2018-11-12 14:00  OpenxmlWord\OpenxmlWord\obj\Debug\OpenxmlWord.csproj.FileListAbsolute.txt

     文件      13426  2018-11-11 16:57  OpenxmlWord\OpenxmlWord\obj\Debug\OpenxmlWord.csprojResolveAssemblyReference.cache

     文件      18432  2018-11-12 14:19  OpenxmlWord\OpenxmlWord\obj\Debug\OpenxmlWord.dll

     文件      38400  2018-11-12 14:19  OpenxmlWord\OpenxmlWord\obj\Debug\OpenxmlWord.pdb

     文件          0  2018-11-11 16:48  OpenxmlWord\OpenxmlWord\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2018-11-11 16:48  OpenxmlWord\OpenxmlWord\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2018-11-11 16:48  OpenxmlWord\OpenxmlWord\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件    5233512  2010-02-22 15:33  OpenxmlWord\OpenxmlWord\Open xml SDK\V2.0\lib\DocumentFormat.Openxml.dll

     文件   14781484  2010-02-22 15:21  OpenxmlWord\OpenxmlWord\Open xml SDK\V2.0\lib\DocumentFormat.Openxml.xml

     文件    5812328  2012-09-01 02:24  OpenxmlWord\OpenxmlWord\Open xml SDK\V2.5\lib\DocumentFormat.Openxml.dll

     文件   16231655  2012-09-01 02:20  OpenxmlWord\OpenxmlWord\Open xml SDK\V2.5\lib\DocumentFormat.Openxml.xml

     文件       3133  2018-11-11 17:04  OpenxmlWord\OpenxmlWord\OpenxmlWord.csproj

     文件       1342  2018-11-11 16:48  OpenxmlWord\OpenxmlWord\Properties\AssemblyInfo.cs

     文件       1422  2018-11-12 11:20  OpenxmlWord\OpenxmlWord.sln

    ..A..H.     66048  2018-11-12 13:01  OpenxmlWord\OpenxmlWord.v11.suo

     文件        167  2018-11-11 16:55  OpenxmlWord\OpenxmlWordTest\App.config

     文件      18432  2018-11-12 14:19  OpenxmlWord\OpenxmlWordTest\bin\Debug\OpenxmlWord.dll

     文件      38400  2018-11-12 14:19  OpenxmlWord\OpenxmlWordTest\bin\Debug\OpenxmlWord.pdb

     文件       7261  2018-11-12 14:19  OpenxmlWord\OpenxmlWordTest\bin\Debug\OpenxmlWord.xml

............此处省略63个文件信息

评论

共有 条评论