如何将.docx文件加载到bootstrap bootstrap wysiwyg编辑器 [英] How do I load .docx file to bootstrap bootstrap wysiwyg editor

查看:89
本文介绍了如何将.docx文件加载到bootstrap bootstrap wysiwyg编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在研究ASP.NET项目,我第一次使用Bootstrap。请有任何人知道如何在

 Bootstrap WYSIWYG编辑器

中打开一个word文件然后在编辑之后它应该在word文件中更新。

可能吗



我的尝试:



我用google搜索但是我得到的是如何加载HTML。

解决方案

术语Bootstrap WYSIWYG编辑器可能指的是HTML编辑器。我可以看到,不止一个。无论它是什么,我都不相信它们可以与除HTML之外的任何东西一起工作;充其量,我可以想象有些可以使用某些XML或其他结构化格式(纯文本对你来说不是问题,对吧?:-)),但最终,它们都必须将文本表示为HTML。 br />


另一方面,你的.docx意味着对Web完全陌生,而不是W3标准的一部分;我无法相信这种专有来源的标准(ECMA-376,ISO / IEC 29500)格式将成为W3标准。但这并不意味着你不能使用它。您可以使用ASP.NET来解决所有问题。基本上,您需要将.docx转换为HTML。就是这样:

Office Open XML [ ^ ],

Office Open XML文件格式 [ ^ ]。



因此,Open XML格式是公开的,因此您可以使用.NET在服务器端读取文档。



我建议采取以下步骤:1)认真考虑是否真的需要Word文档;坚持使用HTML总是更容易,并且涵盖了大多数Web用户的兴趣; 2)在Word中确实需要,查看支持软件:支持Office Open XML的软件列表 [ ^ ];

另见:

标准ECMA-376 [ ^ ],

ISO / IEC 29500-1:2008 - 信息技术 - 文档描述和处理语言 - Office Open XML文件格式 - 第1部分:基础和标记语言参考 [ ^ < /a>]。



但首先,使用ASP.NET,您可以使用Microsoft Open XML Format SDK:

从官方Microsoft下载中心下载适用于Microsoft Office的XML SDK 2.5 [ ^ ],

欢迎使用Open XML SDK 2.5 for Office [ ^ ]。



-SA

Hi,
I am working on ASP.NET project and I am using Bootstrap for the first time . Please does any one know how to
open a word file in to

Bootstrap WYSIWYG editor

and then after editing it should update in the word file.
Is it Possible

What I have tried:

I have googled but I all got is how to load HTML.

解决方案

The term "Bootstrap WYSIWYG editor" probably refers to an HTML editor. As I can see, there are more than one. No matter what it is, I cannot believe that they work with anything but HTML; at best, I can imagine that some could work with some XML or other structured format (pure text would not be a problem for you, right? :-)), but, ultimately, they all have to represent the text as HTML.

From the other hand, you ".docx" means something totally foreign to the Web, not part of W3 standards; and I cannot believe that this standard (ECMA-376, ISO/IEC 29500) format of proprietary origin will ever become a W3 standard. But it does not mean you cannot use it. You use ASP.NET where you can solve all problems. Basically, you need to convert .docx to HTML. This is what it is:
Office Open XML[^],
Office Open XML file formats[^].

So, the Open XML format is publicly available, so you can read the document on the server side using .NET.

I would suggest the following steps: 1) think seriously if you really need Word documents; staying with HTML is always easier and covers the interests of most Web users; 2) in Word is really required, review supporting software: List of software that supports Office Open XML[^];
see also:
Standard ECMA-376[^],
ISO/IEC 29500-1:2008 - Information technology -- Document description and processing languages -- Office Open XML File Formats -- Part 1: Fundamentals and Markup Language Reference[^].

But first of all, with ASP.NET, you can use Microsoft Open XML Format SDK:
Download Open XML SDK 2.5 for Microsoft Office from Official Microsoft Download Center[^],
Welcome to the Open XML SDK 2.5 for Office[^].

—SA


这篇关于如何将.docx文件加载到bootstrap bootstrap wysiwyg编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆