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 
        }

    }


    我的个人主页

  • 相关阅读:
    tensorflow2.0——手写数据集预测(多元逻辑回归)
    tensorflow2.0——鸢尾花数据集的一元分类
    tensorflow2.0——实现波士顿房价数据集的分类问题
    tensorflow2.0——代码实现一元逻辑回归
    tensorflow2.0——交叉熵损失函数
    tensorflow2.0——波士顿房价数据预测(3)
    子序列计数
    HDU 5687 Problem C
    linux中巧用ctrl-z后台运行程序
    Failed to set MokListRT: Invalid Parameter Something as gone seriously wrong: import_mok_state() failed: Invalid Parameter
  • 原文地址:https://www.cnblogs.com/umlchina/p/spstohtml.html
Copyright © 2011-2022 走看看