Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
445 views
in Technique[技术] by (71.8m points)

javascript - 如何在Web中创建Word和Excel文档编辑器? [关闭](How can I create Word and Excel document editor in web? [closed])

I want to make an editor app of excel and word in web(something like open excel app in web iframe or embed tag) ,is that possible ?

(我想在网络中制作一个excel和word的编辑器应用程序(类似于在web iframe或embed标签中打开excel应用程序),这可能吗?)

  ask by adelkanso translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Regarding embedding a simple Google Sheets or Google Doc file, you may approach this in many ways.

(关于嵌入简单的Google表格或Google Doc文件,您可以采用多种方法来实现。)

You maybe design a sheet or document and share it by using a public embed code.

(您可能设计一个工作表或文档并使用公共嵌入代码共享。)

Embed a document, spreadsheet, or presentation

(嵌入文档,电子表格或演示文稿)

  • Open a file in Google Docs, Sheets, or Slides.

    (在Google文档,表格或幻灯片中打开文件。)

  • At the top, click File and then Publish to the web.

    (在顶部,单击“文件”,然后单击“发布到网络”。)

  • In the window that appears, click Embed.

    (在出现的窗口中,单击“嵌入”。)

  • Choose a publishing option:

    (选择发布选项:)

  • Spreadsheet: Choose to publish the entire spreadsheet or individual sheets.

    (电子表格:选择发布整个电子表格或单个表格。)

  • Presentation: Choose a presentation size and how quickly to change the slides.

    (演示文稿:选择演示文稿的大小以及更改幻灯片的速度。)

  • Click Publish.

    (单击发布。)

  • Copy the HTML in the text box and paste it into your site or blog.

    (复制文本框中的HTML,然后将其粘贴到您的网站或博客中。)

Documentation

(文献资料)

When you want to make things editable if the embed is not editable or not privileged you would want to use a language such as Node.JS and build a web or similar type of application allowing modifications to a specific document or sheet through their API.

(如果要使嵌入物不可编辑或没有特权时使事物可编辑,则需要使用诸如Node.JS之类的语言并构建Web或类似类型的应用程序,以允许通过其API修改特定文档或表单。)

Documentation

(文献资料)

If you want to avoid anything along those lines, use just a simple pre-built library such as the many listed on the jspreadsheets.com website.

(如果您希望避免出现这些情况,请仅使用一个简单的预构建库,例如jspreadsheets.com网站上列出的许多库。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...