All Projects → ekoz → Kbase Doc

ekoz / Kbase Doc

Licence: apache-2.0
文档在线预览编辑,文档水印 / Office files preview or edit online, doc/docx convert to html, watermark

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Kbase Doc

WebRtcShitBlt
client side WebRTC lib to add an image / watermark on the MediaSource
Stars: ✭ 19 (-93.09%)
Mutual labels:  watermark
maltreport
A WYSIWYG document template engine to generates .odt/.ods/docx/xlsx/doc/xls documents for .NET
Stars: ✭ 102 (-62.91%)
Mutual labels:  libreoffice
tiktok-downloader
Tiktok Downloader/Scraper using requests & bs4
Stars: ✭ 47 (-82.91%)
Mutual labels:  watermark
SLBR-Visible-Watermark-Removal
[ACM MM 2021] Visible Watermark Removal via Self-calibrated Localization and Background Refinement
Stars: ✭ 54 (-80.36%)
Mutual labels:  watermark
Watermark-Bot
A Telegram Video Watermark Adder Bot in Pyrogram by @AbirHasan2005
Stars: ✭ 82 (-70.18%)
Mutual labels:  watermark
workable-converter
基于libreoffice实现的文档转换项目,无框架依赖,即插即用
Stars: ✭ 74 (-73.09%)
Mutual labels:  libreoffice
autocorr kr
리브레오피스(LibreOffice) 자동 교정(Autocorrect)기능에 대한 말모이 저장소
Stars: ✭ 15 (-94.55%)
Mutual labels:  libreoffice
neural-figures
Neural Networks Figures
Stars: ✭ 52 (-81.09%)
Mutual labels:  libreoffice
imagor
Fast, Docker-ready image processing server in Go and libvips
Stars: ✭ 2,276 (+727.64%)
Mutual labels:  watermark
watermarker
A little tool use to add watermark to image.
Stars: ✭ 17 (-93.82%)
Mutual labels:  watermark
watermark
简单的图片水印功能,支持 GIF
Stars: ✭ 38 (-86.18%)
Mutual labels:  watermark
libreoffice-starter-extension
LibreOffice Starter Extension
Stars: ✭ 22 (-92%)
Mutual labels:  libreoffice
crash
The code behind the LibreOffice crash reporter.
Stars: ✭ 20 (-92.73%)
Mutual labels:  libreoffice
BulkPDF
BulkPDF is a free and easy to use open source software, which allows to automatically fill an existing PDF form with differen values. Only a spreadsheet (Microsoft Excel 2007/2010/2013, LibreOffice or OpenOffice Calc) with the desired values is required.
Stars: ✭ 94 (-65.82%)
Mutual labels:  libreoffice
pylovepdf
ilovepdf.com python API library
Stars: ✭ 52 (-81.09%)
Mutual labels:  watermark
spreadsheet
Yii2 extension for export to Excel
Stars: ✭ 79 (-71.27%)
Mutual labels:  libreoffice
libreoffice-lambda-layer
No description or website provided.
Stars: ✭ 87 (-68.36%)
Mutual labels:  libreoffice
watermark-enhancer
Add watermark to react components in a more elegant way
Stars: ✭ 66 (-76%)
Mutual labels:  watermark
hack scripts
Usefull scripts
Stars: ✭ 51 (-81.45%)
Mutual labels:  watermark
lambda-watermark
AWS Lambda Watermark service for S3 images
Stars: ✭ 20 (-92.73%)
Mutual labels:  watermark

文档在线预览编辑系统

Badge

之前做过在线编辑文档的功能,使用 webdav 来实现在线编辑, 存在的问题是编辑页面保存不可控(是否可以保存为版本、是否可以放弃保存等)。如果大家有实现类似功能,希望能提供帮助。

当前应用的主要功能是采用 LibreOffice 和 ckeditor 来实现文档的预览和编辑功能,先介绍操作步骤,再谈下面临的问题。

操作步骤

文件列表

展示当前用户已上传的文件,并提供预览和删除操作

列表页面

上传文件

上传文件时直接利用 openoffice 将文件转换成 html并保存

上传页面

预览文件

用户可以在预览界面单击编辑按钮,并实现保存或保存为版本功能

预览页面

编辑页面

已知问题

  1. word中包含图片如何处理?目前是用Html正则将图片加上一个 地址 进行加载,这样在保存的时候,html文件的图片地址有异常

    答:word 中的图片,不在后端进行处理,如果该图片是网络图片,可以进行正常访问吗,如果该图片是本地图片,前端采用js处理

  2. html 图片的正则未区分网络图片还是本地图片

    答:见第1点

  3. 用户修改word中的图片如何处理?

    答:按照第1点处理后,不存在该问题

  4. 将html转换成doc后,文件内容格式有误

    答:html直接转换成docx,采用 LibreOffice 转换,效果略优于 OpenOffice

  5. windows 操作系统上如何删除一个正在被占用的进程?

  6. 是否能很好的兼容 excel 和 ppt 的预览编辑功能

    答:暂时不能

  7. Cannot read JPEG2000 image: Java Advanced Imaging (JAI) Image I/O Tools are not installed

<dependency>
    <groupId>com.github.jai-imageio</groupId>
    <artifactId>jai-imageio-core</artifactId>
    <version>1.4.0</version>
</dependency>
<dependency>
    <groupId>com.github.jai-imageio</groupId>
    <artifactId>jai-imageio-jpeg2000</artifactId>
    <version>1.3.0</version>
</dependency>

总结

  1. visio 文件可采用 LibreOffice 转换成 pdf 实现在线预览,OpenOffice无法实现
  2. LibreOffice 支持转换加密的 office 文件,前提是给出明文密码。详见 ConvertTests#testEncrypt
  3. pdf 文件可以调用 pdf2dom 来实现转换 html,从而也可以在线编辑。详见 PdfToHtmlTests#pdf2html
  4. 水印(Watermark)实现方案,本案例中实现了对图片,word,excel,ppt,pdf等格式的水印处理,支持文本水印和图片水印。详见 WatermarkProcessorTests

Restful Apis

http://localhost:8080/kbase-doc/swagger-ui.html

感谢

mirkonasato / jodconverter

sbraconnier/jodconverter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].