1 Star 2 Fork 0

chingliu/OfficeMaster_document_convert_system

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

OfficeMaster_document_convert_system

多格式(word/excel/ppt转pdf/ofd, pdf/ofd相互转换)文档转换系统

已支持的转换类型

  1. word转pdf word转ofd
  2. excel转pdf excel转ofd
  3. ppt转pdf ppt转ofd
  4. pdf转ofd ofd转pdf

待支持类型

  1. pdf转jpg pdf转png
  2. ofd转jpg ofd转png
  3. 图片转pdf 图片转ofd
  4. pdf转txt ofd转txt
  5. txt转pdf txt转ofd
  6. pdf转docx ofd转docx

已支持的接口

fastapi的http接口
CLI的feed.py

RoadMap

2025/5 基于flet的登录界面 2025/6-9 实现文档预览

授权文件

授权文件放在另一个项目中: https://github.com/Chingliu/XilouReader/tree/main/OfficeMaster_document_convert_system
https://gitee.com/chingliu/XilouReader/tree/main/OfficeMaster_document_convert_system

word/excel/ppt转pdf/ofd考虑到版面效果,需要依赖wps/office软件,需要wps/office有com接口支持
pdf/ofd互转 详见另一项目https://gitee.com/chingliu/XilouReader

用法

  1. 下载最新版本redis服务端,将redis 地址端口更新到config.json
  2. 将python程序绝对路径配置到config.json文件中
  3. 根据机器性能配置word,excel, ppt,hare进程的数量
  4. 现在默认使用的是wps所以需要安装wps专业版,只有wps专业版本才有com接口
  5. pdfmaster目录下的hare库用于pdf/ofd互转
  6. python manager.py启动转换后台服务, python 应该安装redis客户端 pip install redis
  7. python feed.py就可以将指定目录的文件送到转换服务去转换
  8. 如果需要使用HTTP接口,需要按full-stack-fastapi-template-master目录中fastapi的依赖来配置
MIT License Copyright (c) 2024 Chingliu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

多格式(word/excel/ppt转pdf/ofd, pdf/ofd相互转换)文档转换系统 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/chingliu/OfficeMaster_document_convert_system.git
git@gitee.com:chingliu/OfficeMaster_document_convert_system.git
chingliu
OfficeMaster_document_convert_system
OfficeMaster_document_convert_system
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891