style(代码风格): 整理声明顺序与字体模块
build.yaml / build (push) Successful in 51s

This commit is contained in:
xiaoqidun committed 2026-09-28 15:17:45 +08:00
1 parent 5e0da3da28
commit ee6c9f6a16
82 files changed
+4316 -4310

No files matched your search

+11 -11
View File
@@ -23,9 +23,6 @@ import (
"strings"
)
// SignType 签名类型
type SignType string
const (
// SignTypeSeal 印章签名
SignTypeSeal SignType = "Seal"
@@ -33,6 +30,9 @@ const (
SignTypeSign SignType = "Sign"
)
// SignType 签名类型
type SignType string
// Signatures 签名列表
type Signatures struct {
XMLName xml.Name `xml:"Signatures"`
@@ -107,6 +107,14 @@ type SignatureReference struct {
CheckValue string `xml:"CheckValue"`
}
// Stamp 印章信息结构
type Stamp struct {
Box Box
Clip *Box
Type string
Data []byte
}
// SignatureStampPositions 获取签名外观位置信息
// 入参: stamps 签名外观列表
// 返回: []SignatureStampPosition 签名外观位置信息, error 错误信息
@@ -421,14 +429,6 @@ func probeImageMedia(data []byte) (string, []byte) {
return normalizeSealType(format), data
}
// Stamp 印章信息结构
type Stamp struct {
Box Box
Clip *Box
Type string
Data []byte
}
// addStamp 添加印章到页面
// 入参: pageID 页面ID, box 印章区域, clip 裁剪区域, sType 印章类型, data 印章数据
func (r *Reader) addStamp(pageID string, box Box, clip *Box, sType string, data []byte) {