• 大小: 1.61M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: Aspose  Words  NET  

资源简介

WORD文档处理

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp
{
    class Program
    {
        static String dataDir = “../../UserFiles/“;

        static void Main(string[] args)
        {
            try
            {
                DocumentComparison.Common.SetLicense();

                string document1 = dataDir + “Paris Trip1.docx“;
                string document2 = dataDir + “Paris Trip2.docx“;
                string comparisonDocument = GetCompareDocumentName(document1 document2);
                int added = 0 deleted = 0;

                DocumentComparison.DocumentComparisonUtil comp = new DocumentComparison.DocumentComparisonUtil();
                comp.Compare(document1 document2

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\
     文件        2518  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\.gitattributes
     文件        2806  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\.gitignore
     目录           0  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\ConsoleApp\
     文件         182  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\ConsoleApp\App.config
     文件        3138  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\ConsoleApp\ConsoleApp.csproj
     文件        1441  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\ConsoleApp\Program.cs
     目录           0  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\ConsoleApp\Properties\
     文件        1396  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\ConsoleApp\Properties\AssemblyInfo.cs
     文件         137  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\ConsoleApp\packages.config
     文件        1479  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison.sln
     目录           0  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\
     文件        2552  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Common.cs
     目录           0  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Content\
     文件        1030  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Content\Site.css
     文件       22608  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Content\bootstrap-theme.css
     文件       43339  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Content\bootstrap-theme.css.map
     文件       19963  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Content\bootstrap-theme.min.css
     文件      141414  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Content\bootstrap.css
     文件      379710  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Content\bootstrap.css.map
     文件      117150  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Content\bootstrap.min.css
     文件       11458  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Default.aspx
     文件       13135  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Default.aspx.cs
     文件        1741  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Default.aspx.designer.cs
     文件        9315  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Default.js
     文件        7302  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\DocumentComparison.csproj
     文件        1790  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\DocumentComparisonUtil.cs
     文件        2947  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\FileSystemItem.cs
     文件         101  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Global.asax
     文件         333  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Global.asax.cs
     目录           0  2015-05-13 10:39  Document_Comparison_by_Aspose_Words_for_NET-master\DocumentComparison\Properties\
............此处省略39个文件信息

评论

共有 条评论