DocToWeb:一键将Word文档转换为响应式网站

2020/05/08 20:00    作者:Grace Lin

Introduction

DocToWeb is an Office Word Add-in, which can convert a Word document to a responsive (PC/Mobile/Tablet) website with just one click. You can use it to write program documentation or some structural documents such as tutorials or product instructions.

Once I have tested many CMS, such as WordPress, Joomla, Drupal, etc. Yes, they are all excellent systems developed by smart team, but I still think they are too heavy and complicated.

Because for most people, what they have on their computer is just Office Word and they have few knowledge about server or server side language like PHP. At that moment, an idea came to me that why we can’t just write our contents in Office Word and convert the Word document to a website with VBA.

With this in my mind, I developed DocToWeb and it did save me a lot of time and energy.

Demo site:http://www.word-x.com/en/demdoc_to_web_demo/websites/SimpleDocument/toc.html

Features
  • It can run on any computer with Office Word installed, no matter Windows or Mac.
  • It can convert a 100 page word document to a responsive website in 3-5 seconds.
  • You can put the website folder to anywhere, such as local disk, server, Github Page, etc.
  • The website is responsive and looks good on different devices such as PC, mobile and tablet.
  • It has several wonderful themes for you to choose.
How to use?
  1. Download all the files in this repository.
  2. Rename DocToWebTemplate.docm as you want. You will write your structural content in this word document.
  3. Open the word document after you rename it.
  4. Fill in all document properties in the first page according to the template. If some property is empty, the program will stop running and prompt unknown error. Please make sure all document properties are filled.
  5. Start writing in the Word template.
  6. Click “Run” on the first page to generate your clean and simple website with table of contents attached. Your website files will be shown in C:\Users\Ed0522\Documents\GitHub\DocToWeb\doc_to_web_project\websites (for example)
Supported Word features
  • DocToWeb only support document with Heading1 and Heading2 title. The reason we don’t support Heading 3 title is because Heading 3 title makes the document too complicated and needs more time to revise. We just want keep everything stupid and simple (KISS). As an alternative, you can use Heading 2(1), Heading 2(2) instead of using Heading 3 title.
  • For convenience, DocToWeb only supports one-column document.
  • You can use Bold, Italic, Underline, Strikethrough, Subscript and Superscript for font. But we don’t support any Font Color or Character Shading.
  • You can use different font size, but finally it will be converted as the specified font size by our program.
  • You can insert table, picture, shapes, chart and SmartArt as usual.
  • You can insert any formula in Word.
  • You can remove the list number for Heading 1 and Heading 2 of our Word template and it has no influence on our program.
  • We don’t support multilevel list, because multilevel list sometimes causes some strange problem in Word. Therefore, we should avoid this trouble. Please make sure don’t use multilevel list.
Note
  • Please do not deelete the Document Properties table on the first page.
  • Please do not change the theme or styles of word document because it may cause some unknown errors which make you unhappy. After all, there is no perfect program. It has Advantages and also Disadvatages.
  • I recommend you don’t change anything about the template.
  • Do not use Japanese or Chinese character as folder name or parameter.
国内的朋友,我就不给你们写中文版的说明了。

写这个VBA插件是为了写一些教程之类的结构性文档,大家可以用来作为CMS用也可以。

其实很简单,把所有文件下载下来,然后打开Word文档(DocToWebTemplate.docm)把第一页的表格填一下,然后开始写文档,写完文档后最后点击Run就可以了。

最后生成的网站文件夹在DocToWeb\doc_to_web_project\websites下面。

注意:不要用中文命名文件夹!

下载地址:

https://github.com/ed0522/DocToWeb

通知📢

之前为了方便大家,我们开启了免登陆支付,但是很多朋友反馈收不到链接☹。现在我们重新开启了登录支付、并最大限度简化了登录流程。

另外,任何支付失败或下载问题,请加微信(eddy5600)联系我们🙏🙏🙏。


相关内容
  1. 如何用Adblock Plus屏蔽百度右侧搜索热榜

    百度搜索右侧的热榜虽然可以及时提示我们最新的资讯,但是我们在工作和学习中,这些热榜新闻让我们分心、走神儿:我们从一个页面点击到另一个页面,不知不觉就过去了半个小时,而且我们还不知道我们干了什么。等我们回过神来发现工作还没有做完或者作业也没有完成。 因此今天我们就讲一讲如何用Adblock Plus屏蔽百度右侧搜索热榜,让我们更好地集中注意力。 第【阅读全文】

  2. Pinterest 7.43安卓版下载

    无论你是在计划下一次大冒险旅行,还是在寻找家居设计创意,或是寻找时尚和健身小贴士、新菜谱,都可以在Pinterest上找到新的灵感。好的创意就从这里开始! 从新菜谱到创意家居设计理念,生活中的每一个点滴都有数十亿种可能。在Pinterest上创造额外的家庭存储空间,找到你最喜欢的菜谱,或在Pinterest上获得纹身灵感。 在【阅读全文】

  3. 带封面、目录、多级序号标题的Word模板,免排版拿来就用!

    Office Word到底好用不好用?有的人觉得不好用,有的人觉得很好用。但如果统计一下,觉得好用和觉得不好用的人应该各占一半。 Office Word是通用型的软件,也就是面向大众的,所以你要用这个软件的思维去使用这个软件,因为这个软件不是针对某一个人开发的,所以不要按照自己的想法去使用软件。转过来这个弯儿之后,你会【阅读全文】

  4. 如何高效屏蔽垃圾短信?

    1.1 关于垃圾短信 很多商家可能以为不就一条推销短信嘛,但是对于我们来说,我们每天要接到五六个甚至十多个垃圾短信、推销电话,再加上微信公众号和各大社交平台上的打扰,我们一天的要被打扰很多次,这简直让人疯掉,尤其是在忙的时候。 如果你每天没有这些垃圾短信的骚扰,无论是睡觉还是工作学习,都可以有更多整块的时间。另外,这也【阅读全文】

  5. 田字拼音格硬笔练字稿纸A4 PDF打印版 钢笔书法学习训练字帖纸

    简介 [caption id="attachment_2612" align="alignnone" width="858"]【阅读全文】

回顶部