We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eabbad commit da87051Copy full SHA for da87051
accessibility/pdf_copy_page_with_accessibility.go
@@ -65,7 +65,7 @@ func main() {
65
66
// Construct base K dictionary.
67
docK := model.NewKDictionary()
68
- docK.S = core.MakeName(model.StructureTypeDocument)
+ docK.S = core.MakeName(string(model.StructureTypeDocument))
69
70
newStr.AddKDict(docK)
71
@@ -115,7 +115,7 @@ func main() {
115
116
// Add section K object to store all original K objects from template page.
117
sectK := model.NewKDictionary()
118
- sectK.S = core.MakeName(model.StructureTypeSection)
+ sectK.S = core.MakeName(string(model.StructureTypeSection))
119
sectK.T = core.MakeString(fmt.Sprintf("Page %d", n))
120
sectK.GenerateRandomID()
121
0 commit comments