• 大小: 7.7MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-22
  • 语言: 其他
  • 标签: OpenXML  PowerPoint  C#  

资源简介

使用openxml 提取ppt内容,标题,图片,整页ppt直接转换成图片

资源截图

代码片段和文件信息

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

namespace Test_Open_xml
{
    class Citation
    {
        private string type;
        private string author;
        private string title;
        private string journaltitle;

        private string year;
        private string editionOrVolumnNumber;
        private string publisher;
        private string isbn;

        private string pagesUsed;
        private string doiNum;
        private string url;
        private string dateAccessed;

        public Citation()
        {
            type = ““;
            author = ““;
            title = ““;
            journaltitle = ““;

            year = ““;
            editionOrVolumnNumber = ““;
            publisher = ““;
            isbn = ““;

            pagesUsed = ““;
            doiNum = ““;
            url = ““;
            dateAccessed = ““;
        }

        public string Type
        {
            get
            {
                return type;
            }
            set
            {
                type = value;
            }
        }

        public string Author
        {
            get
            {
                return author;
            }
            set
            {
                author = value;
            }
        }

        public string title
        {
            get
            {
                return title;
            }
            set
            {
                title = value;
            }
        }

        public string Journaltitle
        {
            get
            {
                return journaltitle;
            }
            set
            {
                journaltitle = value;
            }

        }
        public string Year
        {
            get
            {
                return year;
            }
            set
            {
                year = value;
            }
        }

        public string EditionOrVolumnNumber
        {
            get
            {
                return editionOrVolumnNumber;
            }
            set
            {
                editionOrVolumnNumber = value;
            }
        }

        public string Publisher
        {
            get
            {
                return publisher;
            }
            set
            {
                publisher = value;
            }
        }

        public string Isbn
        {
            get
            {
                return isbn;
            }
            set
            {
                isbn = value;
            }
        }

        public string PagesUsed
        {
            get
            {
                return pagesUsed;
            }
            set
            {
                pagesUsed = value;
            }
        }

        public string DoiNum
        {
 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-09-20 07:36  Test_Open_xml\
     目录           0  2016-09-20 07:36  Test_Open_xml\.vs\
     目录           0  2016-09-20 07:36  Test_Open_xml\.vs\Test_Open_xml\
     目录           0  2016-09-20 07:36  Test_Open_xml\.vs\Test_Open_xml\v14\
     文件       94208  2016-09-19 15:00  Test_Open_xml\.vs\Test_Open_xml\v14\.suo
     文件     1171109  2016-02-23 20:43  Test_Open_xml\Introduction to Academic and Business Research Lecture_1.pptx
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\AspectobjectDumper.1.6.8\
     文件       48797  2016-07-19 09:49  Test_Open_xml\packages\AspectobjectDumper.1.6.8\AspectobjectDumper.1.6.8.nupkg
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\AspectobjectDumper.1.6.8\lib\
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\AspectobjectDumper.1.6.8\lib\net40\
     文件       89088  2016-06-30 20:48  Test_Open_xml\packages\AspectobjectDumper.1.6.8\lib\net40\vm.Aspects.Diagnostics.objectDumper.dll
     文件      111397  2016-06-30 20:48  Test_Open_xml\packages\AspectobjectDumper.1.6.8\lib\net40\vm.Aspects.Diagnostics.objectDumper.xml
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\CommonServiceLocator.1.3\
     文件       21056  2016-07-19 09:49  Test_Open_xml\packages\CommonServiceLocator.1.3\CommonServiceLocator.1.3.nupkg
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\CommonServiceLocator.1.3\lib\
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\
     文件       18112  2014-05-05 09:25  Test_Open_xml\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll
     文件       24064  2014-05-05 09:25  Test_Open_xml\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.pdb
     文件       15978  2014-05-05 09:25  Test_Open_xml\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.xml
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\Microsoft.Office.Interop.PowerPoint.15.0.4420.1017\
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\Microsoft.Office.Interop.PowerPoint.15.0.4420.1017\lib\
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\Microsoft.Office.Interop.PowerPoint.15.0.4420.1017\lib\net20\
     文件      400032  2016-03-10 16:46  Test_Open_xml\packages\Microsoft.Office.Interop.PowerPoint.15.0.4420.1017\lib\net20\Microsoft.Office.Interop.PowerPoint.dll
     文件      135317  2016-07-18 13:40  Test_Open_xml\packages\Microsoft.Office.Interop.PowerPoint.15.0.4420.1017\Microsoft.Office.Interop.PowerPoint.15.0.4420.1017.nupkg
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\MySql.Data.6.9.9\
     文件        5204  2016-06-17 16:29  Test_Open_xml\packages\MySql.Data.6.9.9\CHANGES
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\MySql.Data.6.9.9\content\
     文件         477  2016-06-17 16:29  Test_Open_xml\packages\MySql.Data.6.9.9\content\app.config.transform
     文件         477  2016-06-17 16:29  Test_Open_xml\packages\MySql.Data.6.9.9\content\web.config.transform
     目录           0  2016-09-20 07:36  Test_Open_xml\packages\MySql.Data.6.9.9\lib\
............此处省略71个文件信息

评论

共有 条评论