mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
31e67b2721
commit
5842522edf
12 files changed
+465
-42
No files matched your search
+21
-9
@@ -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"`
|
||||
|
||||
Reference in new issue
Block a user