oarword Javascript做的 Doc/Docx 编辑器

程序名称:oarword

授权协议: MIT

操作系统: 跨平台

开发语言: Java

oarword 介绍

oarword(船桨Word) 是 JavaScript 做的 Doc/Docx 编辑器。暂时只支持 Chrome。

1.组件

1.1 oarword-js: js 文件,加入到项目的 WEbroOT

1.2 oarword-java: servlets

1.2.1 depend jars download: http://pan.baidu.com/share/link?shareid=327061688&uk=2432909170

1.2.2 includs: docx4j-2.8.1,fileupload-1.3,httpclient4.2.5,dom4j-1.6.1,gson-2.2.4,jodconverter(modified)-3b4,pdfBox-1.8.2

1.3 libreoffice 4:作为服务

1.3.1 start command: soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

1.3.2 stop command: soffice -headless -unaccept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

2.配置

2.1 js config:  oarword-js/js/config.js

2.2 java config: oarword-java/src/config.properties

3.部署

​3.1 create 'oarword' directory as WEbroOT

3.2 copy files in 'oarword-js' to 'oarword'

3.3 copy 'WEB-INF' and 'meta-inf' in 'oarword-java' to 'oarword'

3.4 build oarword-java's project with jars in 'oarword-depend-lib.zip' and 'servlet-api.jar' and copy 'build/classes' to 'oarword/WEB-INF'

3.5 unzip 'oarword-depend-lib.zip' and copy 'lib' to 'oarword/WEB-INF'

3.6 create directory 'upload' and 'tmp' in 'oarword', make sure these directories are writable

3.7 deploy 'oarword' in Tomcat8

3.8 install Chinese fonts, 如果使用中文字体, 需要在服务器端安装中文字体。将字体拷贝到/usr/share/fonts/msfonts, sudo fc-cache -fv

4.截图

@H_502_27@

oarword 官网

https://github.com/airxiechao/oarword

相关编程语言

Pacman 是一个软件包管理器, 作为 ArchLinux 发行版...
Smb4K 是KDE下的网络共享浏览器 更多屏幕截图请看:...
Wine (“Wine Is Not an Emulator” 的首字母缩写)...
虚拟桌面软件,可管理最多9个虚拟桌面,你可以用热键...
UNetbootin (Universal Netboot Installer)为一种跨...
Cobbler 可以用来快速建立 Linux 网络安装环境,它已...