zoukankan      html  css  js  c++  java
  • 代码示例:调用SPS提供的remoting服务,在线把Office文档转换成html文档


    可以把office文档中的图片等文件一齐转换,效果不错

    using System;

    namespace ToHtmlLibrary
    {
        
    /// <summary>
        
    /// EDocumentType 的摘要说明。
        
    /// </summary>

        public enum EDocumentType
        
    {
            Word,
            Excel,
            PowerPoint,
            Unknow

        }

    }



    using System;
    using System.IO;
    using Microsoft.HtmlTrans;

    namespace ToHtmlLibrary.Core
    {
        
    /// <summary>
        
    /// 把Office文档转换成html文档
        
    /// </summary>

        public class TransToHtml
        
    {
            
    Field 
            
    Property 
            
    Constructor
            
    Private Method
            
    Public Method 
        }

    }


    我的个人主页

  • 相关阅读:
    PHP: 深入pack/unpack
    gitlab add sshkey(包括第二个key)
    mysql insert与replace 性能
    python3 构造数据
    python 中matplotlib 绘图
    Anaconda安装方法
    永久解决IDEA 连接 mysql时区问题`
    输入3个字符串,按从小到大的顺序输出。要求使用指针的方法进行处理。
    给定字符串定义char *a = “I love China!”,读入整数n,输出在进行了a = a + n这个赋值操作以后字符指针a对应的字符串
    输入a、b、c三个整数,按先大后小的顺序输出a、b和c。注意请使用指针变量的方式进行比较和输出。
  • 原文地址:https://www.cnblogs.com/umlchina/p/spstohtml.html
Copyright © 2011-2022 走看看