feat(转换编辑): 优化转换与编辑功能
build.yaml / build (push) Successful in 39s

This commit is contained in:
xiaoqidun committed 2026-09-26 10:50:52 +08:00
1 parent 35631cdf98
commit c3908819bb
23 files changed
+303 -81

No files matched your search

+13 -8
View File
@@ -16,6 +16,9 @@ package ofdgo
import "encoding/xml"
// ofdCreator 标识本库生成的文档
const ofdCreator = "xiaoqidun/ofdgo"
// OFD OFD入口结构
// 代表OFD文档的根节点
type OFD struct {
@@ -35,14 +38,16 @@ type DocBody struct {
// DocInfo 文档元数据
type DocInfo struct {
DocID string `xml:"DocID"`
Title string `xml:"Title"`
Author string `xml:"Author"`
Subject string `xml:"Subject"`
Abstract string `xml:"Abstract"`
CreationDate string `xml:"CreationDate"`
ModDate string `xml:"ModDate"`
CustomDatas *CustomDatas `xml:"CustomDatas"`
DocID string `xml:"DocID"`
Title string `xml:"Title"`
Author string `xml:"Author"`
Subject string `xml:"Subject"`
Abstract string `xml:"Abstract"`
CreationDate string `xml:"CreationDate"`
ModDate string `xml:"ModDate"`
Creator string `xml:"Creator"`
CreatorVersion string `xml:"CreatorVersion"`
CustomDatas *CustomDatas `xml:"CustomDatas"`
}
// CustomDatas 自定义数据集合