支持浏览器上传附件进行预览,支持mp3在线播放
WdaAppInter personService = (WdaAppInter) Naming.lookup("rmi://127.0.0.1:8888/wda");
personService.generateDoc("1234", new File("D:\\doc\\1.docx"));
/**
* 开始生产WEB文档
*
* @param key
* 文档关键字,后续通过它调用相关资源
* @param file
* 原文件
* @param htmlinfo
* 被显示的html信息(如文件名称等)
* @throws ErrorTypeException
* @throws RemoteException
*/
public void generateDoc(String key, File file, String htmlinfo) throws ErrorTypeException, RemoteException;
/**
* 开始生产WEB文档
*
* @param key
* 文档关键字,后续通过它调用相关资源
* @param file
* 原文件
* @param fileTypeName
* 扩展名
* @param htmlinfo
* 被显示的html信息(如文件名称等)
* @throws ErrorTypeException
* @throws RemoteException
*/
public void generateDoc(String key, File file, String fileTypeName, String htmlinfo)
throws ErrorTypeException, RemoteException;
/**
* 获得可以被转换的文件类型
*
* @return
*/
public Set<String> getSupportTypes() throws RemoteException;
/**
* 文档是否已经生成完毕
*
* @param key
* @return
* @throws ErrorTypeException
*/
public boolean isGenerated(String key, String doctype) throws ErrorTypeException, RemoteException;
/**
* 文档是否有日志记录
*
* @param key
* @return
* @throws ErrorTypeException
*/
public boolean isLoged(String key) throws RemoteException;
/**
* 删除日志(通过日志判断是否生成过文档时,可以通过此方法重新生成文档)
*
* @param key
* @return
* @throws ErrorTypeException
*/
public void delLog(String key) throws RemoteException;
/**
* 获得日志地址
*
* @param key
* @return
*/
public String getlogURL(String key) throws RemoteException;
/**
* 获得文档文本字符串
*
* @param key
* @return
* @throws ErrorTypeException
*/
public String getText(String key) throws ErrorTypeException, RemoteException;
/**
* 获得文档信息字符串
*
* @param key
* @return
* @throws ErrorTypeException
*/
public String getInfo(String key) throws ErrorTypeException, RemoteException;
/**
* 获得在线文档浏览的URL
*
* @param key
* @param exname
* @return
* @throws ErrorTypeException
*/
public String getUrl(String key, String docType) throws ErrorTypeException, RemoteException;
演示地址:[http://www.wcpdoc.com/webspecial/home/Pub2c909b2b65e0f2850165e0fb5600002a.html)
在wcp中集成了wda的功能,通过wcp的连接展示wda系统
如图,点击预览后进入wda系统
WCP:知识管理系统 https://gitee.com/macplus/WCP
WDA:文件转换组件(附件在线预览)https://gitee.com/macplus/WDA
WTS:在线答题系统 https://gitee.com/macplus/WTS
WLP:在线学习系统 https://gitee.com/macplus/WLP
PLOGS:项目任务日志管理系统 https://gitee.com/macplus/plogs
WSCH:鉴权内容检索系统 https://gitee.com/macplus/wsch
知识库/在线答題/在线学习产品介绍 http://www.wcpknow.com/home/index.html
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.