mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-08-30 12:12:40 +08:00
feat(印章渲染): 强化印章渲染
This commit is contained in:
@@ -127,6 +127,9 @@ func (r *Reader) Doc() (*Document, error) {
|
||||
if err := xml.Unmarshal(data, &doc); err != nil {
|
||||
return nil, fmt.Errorf("failed to unmarshal document.xml: %w", err)
|
||||
}
|
||||
if doc.Signatures == "" {
|
||||
doc.Signatures = docAttr.Signatures
|
||||
}
|
||||
r.OFD.DocBody[0].DocInfo.DocID = "loaded"
|
||||
if doc.CommonData.DocumentRes != "" {
|
||||
r.loadRes(doc.CommonData.DocumentRes)
|
||||
|
||||
Reference in New Issue
Block a user