O2OA使用扩展程序实现附件水印,加密,文档格式转换图片,PDF等功能.

场景:

1.对附件office,pdf等版式文件添加水印,
2.对附件进行商用加密.
3.对附件进行转换,如office->image,office->word.
4.对附件进行转储到第三方系统,如审核,归档等场景.

实现时序(以文件上传为例):
image.png

支持响应的事件:

1.工作附件上传时:workAttachmentUploadEvent
2.工作附件下载时:workAttachmentDownloadEvent
3.已完成工作附件上传时:workCompletedAttachmentUploadEvent
4.工作附件下载时:workCompletedAttachmentDownloadEvent
5.工作版式公文转换成word时:workDocToWordEvents
6.已完成工作版式公文转换成word时:workCompletedDocToWordEvents

workAttachmentDownloadEvent 请求对象:json
{
"person"":"张三@zhangsan@P",
"attachment":"xxxxx"
}

workAttachmentDownloadEvent 请求对象:json
{
"person"":"张三@zhangsan@P",
"attachment":"xxxxx"
}

workDocToWord 请求对象:json
{
"person"":"张三@zhangsan@P",
"content":"html"
}

workCompletedDocToWord 请求对象:json
{
"person"":"张三@zhangsan@P",
"content":"html"
}

workAttachmentUploadEvent 请求对象: multipart

workCompletedAttachmentUploadEvent 请求对象: multipart

results matching ""

    No results matching ""