mirror of
https://gitee.com/Donal/ofd.js.git
synced 2024-11-30 02:48:47 +08:00
Merge branch 'master' of https://github.com/DLTech21/ofd.js
This commit is contained in:
commit
81473b263c
@ -102,8 +102,8 @@ export const renderPage = function (pageDiv, page, tpls, fontResObj, drawParamRe
|
||||
if (stamp.type === 'ofd') {
|
||||
renderSealPage(pageDiv, stamp.obj.pages, stamp.obj.tpls, true, stamp.stamp.stampAnnot, stamp.obj.fontResObj, stamp.obj.drawParamResObj, stamp.obj.multiMediaResObj, stamp.stamp.sealObj.SES_Signature, stamp.stamp.signedInfo);
|
||||
} else if (stamp.type === 'png') {
|
||||
stamp.obj.boundary = converterBox(stamp.obj.boundary);
|
||||
let element = renderImageOnDiv(pageDiv.style.width, pageDiv.style.height, stamp.obj.img, stamp.obj.boundary, stamp.obj.clip, true, stamp.stamp.sealObj.SES_Signature, stamp.stamp.signedInfo);
|
||||
let sealBoundary = converterBox(stamp.obj.boundary);
|
||||
let element = renderImageOnDiv(pageDiv.style.width, pageDiv.style.height, stamp.obj.img, sealBoundary, stamp.obj.clip, true, stamp.stamp.sealObj.SES_Signature, stamp.stamp.signedInfo);
|
||||
pageDiv.appendChild(element);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user