feat(签章能力): 优化签章画布定位交互
build.yaml / build (push) Successful in 45s

This commit is contained in:
xiaoqidun committed 2026-09-27 23:41:18 +08:00
1 parent 31e67b2721
commit 5842522edf
12 files changed
+465 -42

No files matched your search

+21 -9
View File
@@ -39,18 +39,30 @@ type PageAnnot struct {
// Annotation 页面注释
type Annotation struct {
ID string `xml:"ID,attr"`
Type string `xml:"Type,attr"`
Subtype string `xml:"Subtype,attr"`
Creator string `xml:"Creator,attr"`
LastModDate string `xml:"LastModDate,attr"`
Visible *bool `xml:"Visible,attr"`
NoZoom bool `xml:"NoZoom,attr"`
NoRotate bool `xml:"NoRotate,attr"`
Remark string `xml:"Remark"`
ID string `xml:"ID,attr"`
Type string `xml:"Type,attr"`
Subtype string `xml:"Subtype,attr"`
Creator string `xml:"Creator,attr"`
LastModDate string `xml:"LastModDate,attr"`
Visible *bool `xml:"Visible,attr"`
NoZoom bool `xml:"NoZoom,attr"`
NoRotate bool `xml:"NoRotate,attr"`
Remark string `xml:"Remark"`
Parameters *AnnotationParameters `xml:"Parameters,omitempty"`
Appearance Appearance
}
// AnnotationParameters 保存注释参数集合
type AnnotationParameters struct {
Parameter []AnnotationParameter `xml:"Parameter"`
}
// AnnotationParameter 保存标准注释参数的名称和值
type AnnotationParameter struct {
Name string `xml:"Name,attr"`
Value string `xml:",chardata"`
}
// AnnotationInfo 注释信息,Page从1开始,位置和尺寸使用页面毫米坐标
type AnnotationInfo struct {
ID string `json:"id"`